Ubuntu Hardy: How To Disable Synaptics Touchpad When Typing

Laptop users will know that the touchpad always get into the way when you are typing. It can be an annoying thing when your mouse cursor keeps running around and inserting words into places where they are not suppose to be. In Ubuntu Hardy, you can fix up this problem by disabling the Synaptics touchpad when you are typing.

First, backup your X11 file:

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_synbackup

Next, open up the X11 file,

gksu gedit /etc/X11/xorg.conf

Scroll down the page until you see something like this:

Section “InputDevice”
Identifier “Synaptics Touchpad”
Driver “synaptics”
Option “SendCoreEvents” “true”
Option “Device” “/dev/psaux”
Option “Protocol” “auto-dev”
Option “HorizEdgeScroll” “0”

Insert the following line just before the EndSection

Option “SHMConfig” “on”

Save the file and exit.

Press Ctrl + Alt + Backspace to restart X11. The system will restart and bring you back to the login screen.

Once login, go to System->Preferences->Session
Click Add and insert the following:

Name: Synaptics Touchpad Syndaemon
Command: syndaemon -i 1 -d
Comment: Disable the touchpad when typing

(the -d flag tells syndaemon to run all the time and monitor the keyboard presses
the -i flag is how long (in seconds) to disable the touchpad *after* the last keypress

Click OK.

Press Ctrl + Alt + Backspace again to restart the session. Your touchpad should now be disabled when you are typing.


Damien Oh started writing tech articles since 2007 and has over 10 years of experience in the tech industry. He is proficient in Windows, Linux, Mac, Android and iOS, and worked as a part time WordPress Developer. He is currently the owner and Editor-in-Chief of Make Tech Easier.

Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox