Disable laptop touchpad tapping in Xubuntu 9.04
In a previous post I detailed steps on how to disable touchpad tapping in Xubuntu 8.04. Unfortunately the package gsynaptics-mcs-plugin which provides the Xfce Settings Manager plugin is obsolete in Xubuntu 9.04 (Jaunty) and therefore the annoyance of touchpad tapping and scrolling is back after upgrading from Hardy. Also, it turns out that the responsibility of managing input devices has been moved from the X server to HAL (Hardware Abstraction Layer) and so different steps are required in Xubuntu 9.04 / Xfce 4.6:
-
Confirm that HAL is aware of the touchpad by running:
lshal | grep synapticsThe command should produce output similar to this
input.x11_driver = 'synaptics' (string) -
Run the following command to create a new file to enable the SHMConfig option in HAL
sudo mousepad /etc/hal/fdi/policy/shmconfig.fdi -
Paste the following into the file and save:
<?xml version="1.0" encoding="ISO-8859-1"?> <deviceinfo version="0.2"> <device> <match key="input.x11_driver" string="synaptics"> <merge key="input.x11_options.SHMConfig" type="string">True</merge> </match> </device> </deviceinfo> -
Reboot your machine.
-
Run the following command to verify that HAL has picked up the setting
lshal | grep x11_optionsIt should produce output like this
input.x11_options.SHMConfig = 'True' (string) -
Run the following command
synclient TouchpadOff=2 -
Verify that touchpad tapping and scrolling are now disabled.
-
The same command has to be run at the startup of each session. To do this, go to Applications > Settings > Session and Startup and on the Application Autostart tab add a new entry. Name and Description can be set to whatever, Command is the same as above:
synclient TouchpadOff=2