So, basically the problem started as this: you got tired of accidently moving the mouse while typing on your laptop, so you naviagated to the touchpad settings screen and enabled the option that reads “Disable touchpad while typing”. You thought that you did well.
Then your problem quickly became this: the delay before you are able to move the mouse is much too long. In fact, it is an irritatngly long two full seconds by default. We’re going to adjust that delay and fix both your new problem and old problem with one little command.
I’m using Xubuntu 12.04, but this may work for good old Ubuntu as well. It should also work for any other linux distro running XFCE. One caveat: I think that you must be using a touchpad supported by the Synaptics driver for this fix to work (although I’ve never had a touchpad not use this driver on my laptop linux installs).
First, you’re going to need to access your Settings Manager.
Then navigate to your Mouse and Touchpad settings screen.
Now click the Touchpad tab. Then uncheck the option that reads “Disable touchpad while typing”.
All that checkbox does is launch the following command “syndaemon -i 2.0 -K -R” (see here for proof).
After disabling that option, we’re going to simply modify the command a little bit, bringing the delay down to only half a second, and then configure it to launch in the background when we log on.
To do so, you need to navigate back to your Settings Manager. (You may just click Overview in the bottom left if you still have the settings screen open.)
Select Session and Startup.
Then select the Application Autostart tab and click the Add button.
You can put whatever you’d like in the Name and Description fields, but make sure that the command looks as follows, then click OK.
syndaemon -i .5 -K -t -R -d
(You may adjust the number to however many seconds of delay suits your fancy. Feel free to type “man syndaemon” into your terminal and read all about this command and its options. It provides quite a few useful configuration options.)
You may finally reboot your system and enjoy typing free of mouse-induced errors!