Sunday, March 31, 2013

Disabling the mouse whilst typing in Linux

I don't know why this isn't turned on in every distro by now, but the magic incantation to fix the annoyance of accidentally clicking the mouse with your palms while you're typing is:
syndaemon -d -k -i 0.5

The options are: run as resident (-d), ignore modifer keys (-k, so you can still ctrl-click), and wait for half a second before enabling the mouse again (-i 0.5).