I made some more research on this, I found a way that seems to be the best...
At least, it works for my laptop.
Try to add this option in your Hal policy:
- Code: Select all
<merge key="input.x11_options.TouchpadOff" type="string">2</merge>
This should disable touchpad tapping and scrolling.
From the man page (man synaptics):
- Code: Select all
Option "TouchpadOff" "integer"
Switch off the touchpad. Valid values are:
0 Touchpad is enabled
1 Touchpad is switched off
2 Only tapping and scrolling is switched off
Property: "Synaptics Off"
My hal policy file looks like:
- Code: Select all
<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
<device>
<match key="info.capabilities" contains="input.touchpad">
<merge key="input.x11_driver" type="string">synaptics</merge>
<!-- Arbitrary options can be passed to the driver using
the input.x11_options property since xorg-server-1.5. -->
<merge key="input.x11_options.SHMConfig" type="string">true</merge>
<merge key="input.x11_options.TouchpadOff" type="string">2</merge>
<merge key="input.x11_options.MaxTapMove" type="string">2000</merge>
<merge key="input.x11_options.VertEdgeScroll" type="string">false</merge>
<merge key="input.x11_options.HorizEdgeScroll" type="string">false</merge>
<merge key="input.x11_options.VertTwoFingerScroll" type="string">true</merge>
<merge key="input.x11_options.HorizTwoFingerScroll" type="string">false</merge>
<merge key="input.x11_options.CircularScrolling" type="string">false</merge>
<merge key="input.x11_options.TapButton1" type="string">1</merge>
<merge key="input.x11_options.TapButton2" type="string">2</merge>
<merge key="input.x11_options.TapButton3" type="string">3</merge>
</match>
</device>
</deviceinfo>
Notice that there are many GUIs that ease the configuration of your touchpad,
for example gsynaptics, to install it using equo:
- Code: Select all
equo install --ask gsynaptics
notice that they require this line in your hal file:
- Code: Select all
<merge key="input.x11_options.SHMConfig" type="string">true</merge>
in order to be able to configure it.