On my ThinkPad X220T running GNOME 3 it's pretty easy to be typing along and accidentally bump the touchpad, causing some window other than the one you're typing into to be raised.

Ostensibly, the solution to this problem is to click your name in the upper right, then click "System Settings", then "Mouse and Touchpad", and then "Disable touchpad while typing" under as shown the screenshot at http://www.thinkwiki.org/wiki/Synaptics_TouchPad_driver_for_X .

This will cause syndaemon ( http://linuxcommand.org/man_pages/syndaemon1.html ) to start up with the following options:

syndaemon -i 2.0 -K -R

Here's what the options mean:

-i <idle-time>
       How many seconds  to  wait  after  the  last  key  press  before
       enabling the touchpad.  (default is 2.0s).

-k     Ignore modifier keys when monitoring keyboard activity.

-K     Like -k but also ignore Modifier+Key combos.

-R     Use  the  XRecord  extension  for  detecting  keyboard  activity
       instead of polling the keyboard state.

Having syndaemon running with those options eliminates the original problem, but it absolutely kills my productivity because the -t option is not enabled:

-t     Only disable tapping and  scrolling,  not  mouse  movements,  in
       response to keyboard activity.

Without -t, as soon as I stop typing and try to move the pointer, I can't. I have to wait 2 full seconds before the pointer will move.

Now, back at that "Mouse and Touchpad" interface, I do not see any way to configure which options are given to syndaemon and from what I can tell, the options are hard coded:


The solution is twofold. I can't abide syndaemon with its default options, so I leave "Disable touchpad while typing" unchecked. Then, to get syndaemon to start with the options I want, I run gnome-session-properties to open the "Startup Applications Preferences" dialog. From there, I click Add, fill in a name (I called mine "0pdurbin-disable-touchpad-while-typing" so it would appear at the top), and a command, which for me is the following:

syndaemon -i 1.0 -K -R -t

Again, the major change is the addition of -t so syndaemon doesn't paralyze my pointer, but while I was in there I reduced the idle time to one second.

I hope this helps someone because this was driving me crazy.

To avoid using a GUI tool like gnome-session-properties it looks like you could set up a file like this, which was created in my case:

[pdurbin@tabby ~]$ cat ~/.config/autostart/syndaemon.desktop 

[Desktop Entry]
Exec=syndaemon -i 1.0 -K -R -t
[pdurbin@tabby ~]$ 

Incidentally, this seems to be a pretty complete list of applications that are autostarted, the ones listed in gnome-session-properties:

[pdurbin@tabby wiki]$ find /etc/xdg/autostart /usr/share/autostart /usr/share/gdm/autostart/ /usr/share/gnome/autostart
[pdurbin@tabby wiki]$ 

Home | About | Sitemap | Recent changes | © Philip Durbin | @philipdurbin | philipdurbin@gmail.com