13 Feb 2009

Temporarily disable touchpad while typing

In linux if you have a laptop with a trackpad just below the keyboard sometimes you can be typing away and then suddenly you touch the trackpad/touchpad and find your cursor appears elsewhere so you have to stop typing and put the cursor back in the right place. Its a bit of a pain if you’re doing a fair bit of typing especially considering how sensitive these pads can be.

The easiest solution is to temporarily disable the touchpad automatically whenever you type for 1 second. This is easily achievable with the following command in terminal:

1
syndaemon -d -t -i 1

The number 1 means 1 second and can be adjusted to any integer.

Of course the best thing to do is to make it a task executed at start up so go into preferences | sessions and then add an entry there. The name and description can be anything you want and the command is the command above.

comments powered by Disqus