LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Keyboard Cursor Jumps While Typing (http://www.linuxquestions.org/questions/slackware-14/keyboard-cursor-jumps-while-typing-946138/)

thund3rstruck 05-21-2012 09:17 AM

Keyboard Cursor Jumps While Typing
 
I thought I was imagining things for the last few days but last night I was working on a python script and now I'm absolutely sure the issue is real.

I'm using KDE 4.6.5 from KTown on slackware 13.37 on a new Dell Inspiron 15R Laptop. Any time I am typing in a textbox control, the cursor will jump up and or back at random (seemingly) to a new position and this garbles up my text real bad. I am having to type, really, really slowly to prevent the cursor from jumping to a new position and screwing up my work.

I think I resolved the issue by disabling the keystroke repeat option in KDE but then I can't hold up to go up more than one line, hold enter to go down more than one line, etc, etc. Disabling the keystroke repeat basically makes the computer useless for anything other than web surfing.

Does anyone have any idea how to resolve this or am I just crazy?

pan64 05-21-2012 09:36 AM

keyboard error? glass of cafe?

273 05-21-2012 09:42 AM

Could you be catching the touchpad whilst typing? I know a combination of that and catching the menu key causes me to select and delete text when I first move to some latptops.

thund3rstruck 05-21-2012 10:02 AM

Quote:

Originally Posted by 273 (Post 4683948)
Could you be catching the touchpad whilst typing? I know a combination of that and catching the menu key causes me to select and delete text when I first move to some latptops.

That's what I originally thought, I must be hitting the touchpad but no it's been going on all week. If I type like a leper with my hands arched upwards to I'm nowhere near the touchpad it still jumps like that. I don't know, maybe there's some kind of hotkey shortcut or something that I'm hitting when I type that jumps me around.

I need to boot into Windows 7, load Visual Studio and try working on some code and see if it happens there too. If not then I can be 100% sure it's a slackware/kde thing.

thirteen_engines 05-21-2012 10:06 AM

Don't know if this will help but I have much the same problem and have solved it using syndaemon. I put a script in ~/.kde/Autostart that reads:

#!/bin/bash

/usr/bin/syndaemon -d -i20

The '-d' is to run as a daemon process and the '-i20' tells syndaemon to turn off the touchpad for 20 seconds after a key has been typed. 20 seconds is probably overkill and could be reduced to something more reasonable.

thund3rstruck 05-21-2012 10:20 AM

Quote:

Originally Posted by thirteen_engines (Post 4683970)
Don't know if this will help but I have much the same problem and have solved it using syndaemon. I put a script in ~/.kde/Autostart that reads:

#!/bin/bash

/usr/bin/syndaemon -d -i20

The '-d' is to run as a daemon process and the '-i20' tells syndaemon to turn off the touchpad for 20 seconds after a key has been typed. 20 seconds is probably overkill and could be reduced to something more reasonable.

Brilliant! I'll give that a try after work tonight!

thund3rstruck 05-21-2012 07:59 PM

Quote:

Originally Posted by thund3rstruck (Post 4683980)
Brilliant! I'll give that a try after work tonight!

I gave that command a try and the stdout was: Unable to find a synaptics device.

rcorkum 11-26-2013 08:04 PM

experiencing this exact same issue on a gateway nv-54 like you I thought I was loosing my mind finally my wife was like whats wrong and then I told her she was like sure sure with a wifely smile then she used it this morning to do some stuff. and told me when i walked out 'you know your not crazy there is something wrong. mine jumps randomly drives me nuts. tempted to wipe and reinstall but did some searching and saw this exact same thread so thought I'd ask what your results where. if your still checking.

Quote:

Originally Posted by thund3rstruck (Post 4683919)
I thought I was imagining things for the last few days but last night I was working on a python script and now I'm absolutely sure the issue is real.

I'm using KDE 4.6.5 from KTown on slackware 13.37 on a new Dell Inspiron 15R Laptop. Any time I am typing in a textbox control, the cursor will jump up and or back at random (seemingly) to a new position and this garbles up my text real bad. I am having to type, really, really slowly to prevent the cursor from jumping to a new position and screwing up my work.

I think I resolved the issue by disabling the keystroke repeat option in KDE but then I can't hold up to go up more than one line, hold enter to go down more than one line, etc, etc. Disabling the keystroke repeat basically makes the computer useless for anything other than web surfing.

Does anyone have any idea how to resolve this or am I just crazy?


thund3rstruck 11-26-2013 10:55 PM

Quote:

Originally Posted by rcorkum (Post 5071117)
experiencing this exact same issue on a gateway nv-54 like you I thought I was loosing my mind finally my wife was like whats wrong and then I told her she was like sure sure with a wifely smile then she used it this morning to do some stuff. and told me when i walked out 'you know your not crazy there is something wrong. mine jumps randomly drives me nuts. tempted to wipe and reinstall but did some searching and saw this exact same thread so thought I'd ask what your results where. if your still checking.

Yea I ended up engineering a solution for the problem back in the spring:
http://www.linuxquestions.org/questi...2/#post4941398

I wrote a script that unloads/loads the psmouse kernel module. Basically you install xbindkeys (or any key-press hooking program) and configure it to run the script anytime your sequence of keys are pressed. In my case I setup xbindkeys to listen for CTRL+ALT+D and it runs the script anytime those keys are pressed.

It has been a life-saver for me and I think it went somewhat viral because I get emails fairly frequently from people thanking me for writing it :)

Hope it helps you out!

Spect73 11-27-2013 08:03 AM

Thanks for that little script. It solved my laptops problem also. On mine, the touchpad worked okay until the machine went to sleep. If I forgot to cycle the touchpads on/off switch after it awoke, I would get the same unwanted movement. And of course, it seems almost impossible to remember to cycle the switch.

As an aside, using the stock 14.0 'huge' kernel, I was surprised that the psmouse wasn't just compiled in. Evidently it isn't as rmmod 'psmouse' does remove the module. Live and learn.

Coordially,

Tansul 05-29-2014 11:49 AM

Jumping cursor
 
Hi all, I'm new.
I installed Linux as it was what I thought, would be the only option to try to keep-out a persistent, destructive, hacker. I do a lot of writing, mainly on the Internet and the jumping cursor is causing problems even as I type this short post.
I tried downloading the code and running it, but it made not a scrap of difference. For example the cursor would not even stand still for me to enter a password to get into this site.
I'm not a developer, I just need a secure operating system.
Please help!

number22 05-29-2014 04:41 PM

check for EMI, power supply(80+ standard), and try add ferrite bread/chock snap on your keyboard or mouse.

rcorkum 02-07-2015 05:22 AM

its not emi have a degree in electronics this is a bug related to specific makers of laptops

I had the gateway nv-54 listed in the thread above and now an acer aspire 4739 and honestly was trying to do an email and almost whipped the laptop across the room and i've never damaged any hardware in anyway in 32 years of computer use.

Can anyone verify this is a bug in a kernel module. the above script works great and is a god send but having to toggle the mousepad off and on in 2015 seems we should have a more built in fix for our mobile pc market.

I love slackware absolutely love it. but its not slackware based have the same thing on kali which is debian to.

I really HATE to put windows back on this laptop slackware is so elegant but this is one of the most frustrating bugs ever. your cursor basically jumps around the field your typing in, randomly copy and pasting or inserting. my wife laughed at me about the gateway nv-54 till I had her try to send an email she handed that laptop back to me her eyes smoldering and me laughing myself to tears

btw so far doing this small post my cursor has jumped 19 times so far. makes it so much FUN.

Robert chuckle now 20.

kjhambrick 02-07-2015 03:10 PM

What make of touchpad do you have ?

If you do have a Synaptics touchpad, this worked for me:

Code:

synclient ClickFinger2=0 ClickFinger3=0 TapButton2=0 TapButton3=0 VertEdgeScroll=0 FastTaps=1
The synclient command on Slackware 13.37 is part of xf86-input-synaptics-1.4.0-x86_64-1

I played around with the settings until it worked for my Laptop.

I saved the command as /usr/local/fix-mouse:

Code:

echo 'synclient ClickFinger2=0 ClickFinger3=0 TapButton2=0 TapButton3=0 VertEdgeScroll=0 FastTaps=1' > /usr/local/bin/fixmouse
chmod 755 /usr/local/bin/fix-mouse

I run 'fix-mouse' each time I start KDE ... it does save me from maddening text pastes and mouse jumping.

-- kjh

bassmadrigal 02-07-2015 03:21 PM

Quote:

Originally Posted by kjhambrick (Post 5313662)
I run 'fix-mouse' each time I start KDE ... it does save me from maddening text pastes and mouse jumping.

You could just put this in your ~/.kde/Autostarts folder and have it executable and then KDE will run it for you automatically every time you log in. I have this done for my mouse to remap my back button (Microsoft apparently reversed the buttons and clicking back on the mouse takes you forward).


All times are GMT -5. The time now is 08:11 PM.