Saturday, February 7, 2015

Ubuntu: Disabling mouse movement while typing

I'm using Ubuntu 14.04 on my labtop Lenovo ThinkPad E440. The problem is mouse is moving while I'm typing. I already disabled it in the Mousepad setting but it didn't work.

Here are the steps to solve it:

1). Kill syndamon processes
killall syndaemon
2). Disable touchpad while typing
syndaemon -i 0.6 -KRd
-i : How many seconds to wait after the last key press before enabling the touchpad. (default is 2.0s).
-K : Ignore modifier keys and Modifier+Key combos when monitoring keyboard activity.
-R : Use the XRecord extension for detecting keyboard activity instead of polling the keyboard state.
-d : Start as a daemon, ie in the background to avoid the command open your terminal.

3). Add the command to /etc/profile file
/usr/bin/syndaemon -i 0.6 -d -K -R

4). Uncheck the option to disable touchpad while typing in System Settings so they don't interfere with each other which may make your mouse not work sometimes.















Reference
http://askubuntu.com/questions/327166/disabling-trackpad-while-typing-does-not-work

No comments:

Post a Comment