-   Slackware (
-   -   Synaptics - HAL - horizontal scroll + two-finger tap=middle click (

botnet 12-29-2009 11:00 AM

Synaptics - HAL - horizontal scroll + two-finger tap=middle click
Hey guys, running Slackware 13 x86_64 here. Back on 12.2 I was able to use two-finger simultaneous tap to emulate middle click but I am having trouble reproducing that in 13.

I first tried a xorg.conf containing the following:

#Section "InputDevice"
#      Identifier  "Mouse0"
#      Driver      "synaptics"
#      Option      "Protocol" "auto"
#      Option      "Device" "/dev/input/mice"
#      Option      "ZAxisMapping" "4 5 6 7"
#      Option      "HorizEdgeScroll" "true"
#      Option      "TapButton1" "1"
#      Option      "TapButton2" "2"
#      Option      "Emulate3Buttons" "true"

With this configuration, I could scroll horizontally, but not middle click via two-finger tap. Single finger tap to click was working though.

After a while, I tried using the hal fdi policy file to accomplish this. The /etc/hal/fdi/policy/11-x11-synaptics.fdi file contains:

<merge key="input.x11_options.HorizEdgeScroll" type="string">1</merge>
<merge key="input.x11_options.CircularScrolling" type="string">1</merge>
<merge key="input.x11_options.CircScrollTrigger" type="string">8</merge>
<merge key="input.x11_options.VertEdgeScroll" type="string">1</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>

And with this, neither horizontal scroll nor two-finger tap to middle click works. Single finger tap still works though.

From what I can gather in 'man synaptics' I believe I do have the necessary settings, but still it's not working.

Anyone with a synaptics touchpad willing to share their config files to get this working?


edit: after restarting, horizontal scroll now works with the hal policy, but two finger tap is still not functioning

allend 12-29-2009 05:50 PM

With my touchpad, I assign the top left corner so that a single tap produces a middle click.

<merge key="input.x11_options.LTCornerButton" type="string">2</merge>

elsheepo 12-29-2009 06:20 PM

botnet 12-30-2009 12:29 AM

thanks allend, i will try that

elsheepo, that links contains nothing about two-finger tap

mRgOBLIN 12-30-2009 05:38 AM

My config has two and three finger tap along with two finger scroll.


<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
    <match key="info.capabilities" contains="input.touchpad">
        <merge key="input.x11_driver" type="string">synaptics</merge>
        <merge key="input.x11_options.SHMConfig" type="string">true</merge>
        <merge key="input.x11_options.MaxTapMove" type="string">2000</merge>
        <merge key="input.x11_options.VertEdgeScroll" type="string">true</merge>
        <merge key="input.x11_options.VertTwoFingerScroll" type="string">true</merge>
        <merge key="input.x11_options.HorizTwoFingerScroll" type="string">true</merge>
        <merge key="input.x11_options.TapButton1" type="string">1</merge>
        <merge key="input.x11_options.TapButton2" type="string">3</merge>
        <merge key="input.x11_options.TapButton3" type="string">2</merge>

All times are GMT -5. The time now is 06:35 PM.