How to fix cursor jumping in Ubuntu
Since I installed Ubuntu on my laptop (an Asus X55sv with Intel Core 2 Duo T7500) a few months ago, I still faced one bug I was ashamed to write about because I wasn’t sure if it was a bug or just my fingers made the strange thing happen from time to time. I am talking about the cursor jumping all around when I was typing in everything else but the terminal or programs that run in it (vim and nano).
I was having difficulties when writing posts on my blog, when writing different things in OpenOffice.org Word Processor, when writing text in text fields on sites etc. It was a really annoying thing that even made me think my touchpad was broken. But I was sure that it didn’t happen back in the Windows days. So I started looking for a solution because I said to myself that this can clearly be fixed one way or another because Linux has this power of finding solutions to common bugs really fast.
I have found three solutions to this:
-
sudo nano /etc/X11/xorg.conf
and then adding
Option "HWCursor" "false"to the Device section; -
sudo nano /etc/X11/xorg.conf
and then find this section
Section "InputDevice" Identifier "Synaptics Touchpad"and add
Option "SHMConfig" "on", after which you save the file and then addsyndaemon -i 3 -d -t -k
to your startup programs (System -> Preferences -> Sessions -> Startup Programs) where the usage for
syndaemonis:Usage: syndaemon [-i idle-time] [-m poll-delay] [-d] [-t] [-k] -i How many seconds to wait after the last key press before enabling the touchpad. (default is 2.0s) -m How many milli-seconds to wait until next poll. (default is 200ms) -d Start as a daemon, ie in the background. -p Create a pid file with the specified name. -t Only disable tapping and scrolling, not mouse movements. -k Ignore modifier keys when monitoring keyboard activity. -K Like -k but also ignore Modifier+Key combos. -S Use SHMConfig even if input device properties are available.;
-
sudo apt-get install touchfreeze
where
touchfreezeis a program that automatically disables your touchpad while you type and then enables it after a delay that you set. Of course you have to add it to the Startup Programs like above.
Out of all these, I chose the third one, as it is the only one that doesn’t mess with xorg.conf which could potentially make your X not start the way it should. Everything is working great now and I haven’t experienced any jump-around from my cursor. All this was needed because hardware producers refuse to support Linux and most of the drivers found in it are community based. But fortunately all these minor glitches can be fixed.
Does it work for you too or you haven’t experienced this bug? Please tell me in the comments and specifiy the make and model of your laptop.
Similar Posts:
- How to fix Adobe AIR’s installation on Ubuntu 9.04
- Linux tutorials for Windows users
- How to configure Tomcat 6 in Ubuntu for Eclipse
- Google Desktop, Google Chrome and Google Gadgets in Ubuntu
- Python and Pidgin’s status on Ubuntu (Linux)
6 Comments
Leave a comment
Secure your files
Recent Posts
Recent Comments
Radu said:
I think you have a corrupted archive. Try to download it again. more»
Ronny Ko said:
I have a gigabit Dlink card ( D-Link System Inc DGE-530T Gigabit Ethernet Adapter (rev 11) (rev 11)). When I first run... more»
al.zatv said:
Calin, thank you for your info. web face for virtualbox is the thing i was looking for. more»
djrise said:
Hi and thank you for your job, I have downloaded the script but when i execute them it said : sh vmware-server-2.0.x-kernel-... more»
Xr said:
Disabling vmci in the web access solved it: Select the VM–>ConfigurationR 11;>Advanced–>Conf iguration... more»
Recent Tweets
- jQuery .click() and the double submit of a form - http://bit.ly/dcCGqR [#]







This works… kind of. Chose the 3rd option, too. Still very sensitive, but thank you!
I’ve seen some minor glitches too… But it’s better than without. Anyway, most of the time I use a Logitech V220 mouse.
I tried installing touchfreeze in Ubuntu, but it also required editing the X config file, since the default is not to have SHMConfig on. Maybe you didn’t notice because you put it on for solution 2?
[This seems to be resolved in a newer version of touchfreeze in testing, though]
Hi Steve! I didn’t have to edit anything. It just worked… For your interest I don’t have that option enabled in
xorg.conf.Solution three worked for my Compaq Pressario with Linux Mint.
I’ve seen that in Ubuntu 10.04 there is a check-box in the System » Preferences » Mouse that disables the touchpad while typing which proved to work better than any of the solutions mentioned above. Hasn’t Mint incorporated this too?