In ubuntu you can disable the touchpad while you are typing, and just the moment you stop typing, it will be enabled again autometically. The original post is here.
I am rewriting it for your advantage:
Procedure:
1. Turn on SHMCONFIG
A. Open a Terminal. Applications -> Accessories -> Terminal
B. Type sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_synbackup
C. Type gksudo gedit /etc/X11/xorg.conf Enter your password if it prompts you.
D. Search for a section that looks like this:
G. Write these commands down just in case this screws up your window system: sudo cp /etc/X11/xorg.conf_synbackup /etc/X11/xorg.conf and sudo killall gdm and sudo gdm
H. This next step will restart your window system, so save any work and close any open applications. Press: Ctrl-Alt-Backspace. This should take you back to your login screen. If it does not, press Ctrl-Alt-F1 and login at the terminal window. After logging in, type the commands that you wrote down from step F in order hitting return after each command.
I. If your login screen came up the first time, continue on to part 2, if not, look over waht you did carefully and see if you can spot any mistakes.
2. Add the Startup Command
A. Open the sessions manager: System -> Preferences -> Sessions
B. Click the far right tab labeled Startup Programs
C. Click the Add button
D. Type in the following: syndaemon -i 1 -d
E. Hit ok then hit close
Congratualations, you are done! Note that this will not take effect until Gnome is restarted or you type the command from 2D in a terminal window. You can restart Gnome with the Ctrl-Alt-Backspace trick (make sure to save everything first!) or you can open a terminal by going to Applications -> Accessories -> Terminal.
And for your information, also the man page of the daemon syndaemon:
D. Search for a section that looks like this:
Section "InputDevice"E. Add a line above the End Section line and put this into it:
Identifier "Synaptics Touchpad"
...
End Section
Option "SHMConfig" "on"F. Save the file and close gedit and the terminal window
G. Write these commands down just in case this screws up your window system: sudo cp /etc/X11/xorg.conf_synbackup /etc/X11/xorg.conf and sudo killall gdm and sudo gdm
H. This next step will restart your window system, so save any work and close any open applications. Press: Ctrl-Alt-Backspace. This should take you back to your login screen. If it does not, press Ctrl-Alt-F1 and login at the terminal window. After logging in, type the commands that you wrote down from step F in order hitting return after each command.
I. If your login screen came up the first time, continue on to part 2, if not, look over waht you did carefully and see if you can spot any mistakes.
2. Add the Startup Command
A. Open the sessions manager: System -> Preferences -> Sessions
B. Click the far right tab labeled Startup Programs
C. Click the Add button
D. Type in the following: syndaemon -i 1 -d
E. Hit ok then hit close
Congratualations, you are done! Note that this will not take effect until Gnome is restarted or you type the command from 2D in a terminal window. You can restart Gnome with the Ctrl-Alt-Backspace trick (make sure to save everything first!) or you can open a terminal by going to Applications -> Accessories -> Terminal.
And for your information, also the man page of the daemon syndaemon:
OPTIONS
-i
How many seconds to wait after the last key press before
enabling the touchpad. (default is 2.0s).
-d Start as a daemon, ie in the background.
-p
Create a pid file with the specified filename. A pid file will
only be created if the program is started in daemon mode.
-t Only disable tapping and scrolling, not mouse movements, in
response to keyboard activity.
-k Ignore modifier keys when monitoring keyboard activity.
-K Like -k but also ignore Modifier+Key combos.
Believe me, it works like charm, and life is much more easy and disturbance free after doing it. :) enjoy
No comments:
Post a Comment