Synaptics Touchpad: Difference between revisions
Jump to navigation
Jump to search
Hiptobecubic (talk | contribs) (IPage Created.) |
(No difference)
|
Latest revision as of 05:29, 30 July 2009
Small description of how to change your Synaptics touchpad using HAL instead of xorg.conf.
In this example, I'll disable twofinger scrolling and enable the vertical scrolling on the right side of the touchpad as well as the tap-to-click feature:
- Copy /usr/share/hal/fdi/policy/10osvendor/11-x11-synaptics.fdi to /etc/hal/fdi/policy
- Now open a terminal and check out the man page for synaptics. "man synaptics". This is beautifully documented description of every option you're looking for as well as many you probably had no idea about.
Search for the option that you wish to change and read about the appropriate setting to get the behavior you want. - Open the 11-x11-synaptics.fdi file that you've copied to /etc/hal/fdi/policy. There will be a large commented section full of examples which we will model our options after. All options are passed to the synaptics driver using the:
<merge key="input.x11_options.OPTIONNAME" type="string">OPTIONVALUE</merge>
construct. - So let's add the vertical scrolling option with the line:
<merge key="input.x11_options.VertEdgeScroll" type="string">true</merge> - And the tap-to-click feature:
<merge key="input.x11_options.TabButton1" type="string">1</merge> - Now we disable the two-finger scrollers:
<merge key="input.x11_options.VertTwoFingerScroll" type="string">false</merge>
<merge key="input.x11_options.HorizTwoFingerScroll" type="string">false</merge>
Note that even though the man page says that different options take type 'boolean' 'integer' 'float' etc, in the policy file everything is type string'. Simply use the appropriate type as the value. TapButton1 takes an integer where VertEdgeScroll takes a boolean, for example.
- After this file has been edited. Close X and restart hal with sh /etc/rc.d/rc.hald restart.
Now restart X and enjoy your new touchpad features.