Disable laptop touchpad tapping in Xubuntu 9.04
April 27th, 2009
| Tags: jaunty-upgrade, laptop, xubuntu
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 synaptics
The 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_options
It 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
Hi, I did exactly the same as you said, but until step 5, I couldn’t get the output, nothing returned, and touchpad still works.
Could you help?
Hi, which version of Xubuntu are you running? These steps are applicable for 8.10 and 9.04, if you have an older version, take a look at these instructions. to find which version you are running, simply type this command in Terminal:
lsb_release -idrc
.Thanks looked all over for how to disable tap click. If you want scrolling but no tap click try “synclient MaxTapTime=0”
Thanks worked perfect.
I do like the side scroll which I will miss, but my touchpad was just auto clicking by itself which was becoming quite the nuisance. Thanks!
i have the same problem as #1, using xubuntu 9.04
entering the command in step 5 doesn’t produce any output. what could be wrong?
Holy crap! Thank you!!!!! I researched this problem for DAYS and tried everyone’s advice, but nothing worked until I tried what you suggested here.
Can anyone explain why it’s not automatically an option like in Ubuntu?
I got the same problem as #1 and #5. I got xub. 9.04. I do as described but there is nothing at typing: lshal | grep x11_options
Where is my problem ??
Hi johnny,
Check that the file /etc/hal/fdi/policy/shmconfig.fdi exists and the contents are exactly as mentioned in step 3. If the XML is not valid (e.g. a missing tag) then it won’t work. Also, you have to reboot after creating that file (step 4).
Thanks for great, detailed and useful info. It is amazing that one has to go so long way to disable this stupid and useless behaviour of the touchpad.
Thanks heaps! I’ve been trying zillions of different hacks to make this work, and finally you gave me the recipe I needed. Thank you!
Jesus Fracking Jiminy Crackers! I spent weeks looking for a solution to this problem. Thank you for the detailed and *working* solution.
Thank you empty quarter and thank you Patches. I hated the tap clicking but love the scrolling. This was just what I was looking for!
this worked awesome in jaunty, but it isn’t working for me Karmic. The procedure for all of the steps output just as expected but the final command in step #6, synclient TouchpadOff=2, doesn’t disable the touchpad.
Any thoughts or ideas?
cheers
It is great! Working perfectly. I am runing xubuntu 9.10.
Works also under Lucid (Beta1). I’m not quiet sure, but I think you don’t need the fdi anymore, because hal doesn’t recognise the touchpad anymore.
But synclient Maxtaptime=0 is better imho, because it only disables tapping but leaves the scroll area alone.
Thanks very much. This worked perfectly, even with 9.10 on my Acer Aspireone A0751H.