disable touchpad in Ubuntu

Do everyting below as root.

Check /etc/X11/xorg.conf if you have turned SHMConfig on.

Section "InputDevice"
	Identifier	"Synaptics Touchpad"
	Driver		"synaptics"
	Option		"SendCoreEvents"	"true"
	Option		"Device"		"/dev/psaux"
	Option		"Protocol"		"auto-dev"
	Option		"HorizEdgeScroll"	"0"
	Option 		"SHMConfig" 		"on"
EndSection

If it’s not here, just add the line.

Then write a simple bash script to disable Touchpad into /etc/init.d

#!/bin/bash
synclient TouchpadOff=1

If you would like to turn it off while you type, use the following script

#!/bin/bash
syndaemon -i 1 -d

You can name your script as you wish, I named “touchpad-disable”.

Also, you have to change the script’s status to “Run no Startup” under the Service Manager.

Service Manager is in the KDE Components under System Settings.

Finally, restart your computer.

0 Responses to “disable touchpad in Ubuntu”


  1. No Comments

Leave a Reply