3 Attachment(s)
HowTo: Disable Synaptics Touchpad While Typing
This Tutorial is outdated for Intrepid (8.10) and later: see https://help.ubuntu.com/community/SynapticsTouchpad
Purpose: For many of us, our laptop touchpads get in the way of our typing quite often and can actually cause us to highlight or minimize things we didn't intend. So, this will help to alleviate that by making a small delay in the response of the touchpad after typing.
NOTE: Please read this guide entirely before attempting to do it. There is a section where you must restart X and thus close down your internet browser. The best way to do this would be to print this guide! I hope this works as well for you as it has for me!
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
D. Search for a section that looks like this:
Section "InputDevice"
Identifier "Synaptics Touchpad"
...
End Section
E. Add a line above the End Section line and put this into it:
Option "SHMConfig" "on"
http://www.ubuntuforums.org/attachme...1&d=1159952821
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
http://www.ubuntuforums.org/attachme...1&d=1159952821
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.
If you have any questions, comments, or concerns, feel free to contact me through this board, or more easily through email or AIM.
Re: HowTo: Disable Synaptics Touchpad While Typing
Hi,
According to your directions, I have to set up a daemon in my Sessions preferences, this however does not appear to exist in my version.
Here are the applications I have under System -
Adept, KCron, Keep, KinfoCenter, Konsole, kpowersave, KSysGuard, KSystemLog, and Language Support.
If you could please tell me how else I might do step 2 of your instructions, I'd much appreciate it.
Thanks,
Ryan
Re: HowTo: Disable Synaptics Touchpad While Typing
Thanks for this how to.
The simplicity of this HowTo is marvelous, and informative. I can finally peacefully type text in Ubuntu on my notebook, without the touchpad getting a mind of its own, and clicking to the cursor!
No more having to keep my hands held above the computer to type, LOL.
:)
I am on an HP Pavilion zv5430us notebook, AMD Athlon 64, Ubuntu 6.06 amd64-generic.
Re: HowTo: Disable Synaptics Touchpad While Typing
Quote:
Originally Posted by
funboy116
Hi,
According to your directions, I have to set up a daemon in my Sessions preferences, this however does not appear to exist in my version.
Here are the applications I have under System -
Adept, KCron, Keep, KinfoCenter, Konsole, kpowersave, KSysGuard, KSystemLog, and Language Support.
If you could please tell me how else I might do step 2 of your instructions, I'd much appreciate it.
Thanks,
Ryan
Ahh! I didn't think of Kubuntu. I'm not exactly sure how to add this to startup in KDE. I would start with KCron though. That is a program that executes commands based on a schedule.
Since I can't help you directly, here is the goal of your work:
You want this command to run as soon as you log on to KDE
syndaemon -i 1 -d
Perhaps someone else can tell us where to do that?
Quote:
Originally Posted by doogleplex
Thanks for this how to.
The simplicity of this HowTo is marvelous, and informative. I can finally peacefully type text in Ubuntu on my notebook, without the touchpad getting a mind of its own, and clicking to the cursor!
No more having to keep my hands held above the computer to type, LOL.
:smile:
I am on an HP Pavilion zv5430us notebook, AMD Athlon 64, Ubuntu 6.06 amd64-generic.
I am very glad to hear that this howto was helpful! My goal was to make it as simple as possible and I really appreciate your encouraging comments!
Re: HowTo: Disable Synaptics Touchpad While Typing
brilliant! I've attempted many much more complex how-tos on this problem, but none was entirely successful. Each time I had to resort to disabling my touchpad in my xorg.conf when doing any extensive typing.
thanks
Re: HowTo: Disable Synaptics Touchpad While Typing
Hey!
Thanks a lot for this how to, it worked great!
For anyone who might be interested, the man page of syndaemon (in a terminal type: man syndaemon) has some more options you can use:
Code:
OPTIONS
-i <idle-time>
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 <pid-file>
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.
Re: HowTo: Disable Synaptics Touchpad While Typing
Quote:
Ahh! I didn't think of Kubuntu. I'm not exactly sure how to add this to startup in KDE. I would start with KCron though. That is a program that executes commands based on a schedule.
Since I can't help you directly, here is the goal of your work:
You want this command to run as soon as you log on to KDE
syndaemon -i 1 -d
Perhaps someone else can tell us where to do that?
I'm not sure about how to do this - i just recently switched to kubuntu myself.
however, i noticed that KDE has an autostart folder (/home/username/.kde/Autostart). I haven't tried this, but it should be theoretically possible to create a script in this folder. Paste "syndaemon -i 1 -d" into a new text document using kate. save it in the autostart folder, and name it "syndaemon". then make it executable, and restart. hopefully, if my theory is correct, it should run.
disclaimer: i don't actually know how to write proper scripts - typing "syndaemon -i 1 -d" into a text doc and making it executable is probably not enough.
Re: HowTo: Disable Synaptics Touchpad While Typing
I'd like to disable my touchpad completely, as it is a sheer nuisance on an IBM ThinkPad. Judging from mms's post above, that might be achieved by editing xorg.conf, but how exactly? I tried setting "SendCoreEvents" under" "Synaptics Touchpad" to "false" and rebooting but that changed nothing.
I'd appreciate any suggestions - this touchpad has been bugging me ever since I installed Ubuntu to my latest TP (there weren't any in my previous ones...)
Re: HowTo: Disable Synaptics Touchpad While Typing
Excellent HOWTO, I've been looking for a way to do this. Works perfectly for me.
For you Kubuntu users, follow the instructions of groggyboy above, but put
as the first line in the file, otherwise it won't work.
Xubuntu users should look in Preferences -> Autostarted Applications
Re: HowTo: Disable Synaptics Touchpad While Typing
Quote:
Originally Posted by
yxvaan
I'd like to disable my touchpad completely, as it is a sheer nuisance on an IBM ThinkPad. Judging from mms's post above, that might be achieved by editing xorg.conf, but how exactly? I tried setting "SendCoreEvents" under" "Synaptics Touchpad" to "false" and rebooting but that changed nothing.
I'd appreciate any suggestions - this touchpad has been bugging me ever since I installed Ubuntu to my latest TP (there weren't any in my previous ones...)
To disable the touchpad completely, open your xorg.conf, and comment out or remove the line that says
Code:
InputDevice "Synaptics Touchpad"
in the "ServerLayout" section (it's near the bottom).