Disable Touchpad While Typing – Lubuntu 14.04

Home / Linux / Disable Touchpad While Typing – Lubuntu 14.04

Distro: Lubuntu 14.04
Desktop: LXDE

The following command will disable the touchpad while typing, and it will remain disabled for 3 seconds after the last key is pressed.

NOTE: you can increase or decrease the time by changing the 3 to the number of seconds you’d like.

syndaemon -i 3 -d

I wanted this to auto load at run time so I created a touchpad_settings.sh file in my personal scripts directory and then added the files to auto load. The following commands worked.

mkdir ~/user_scripts
leafpad ~/user_scripts/touchpad_settings.sh

Add the following line to the file and save.

syndaemon -i 3 -d

Now we’ll create the applications desktop file.

sudo leafpad /usr/share/applications/touchpad.desktop

Add the following lines to the file, make sure to change USERNAME to your username and then save the file.

[Desktop Entry]
Name=Touchpad Autostart
Exec=/home/USERNAME/user_scripts/touchpad_settings.sh
Type=Application
Terminal=false

copy the desktop link file to the autostart folder.

sudo cp /usr/share/applications/touchpad.desktop /etc/xdg/autostart

reboot and make sure your touchpad is disabled when you’re typing.

Leave a Reply