View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 12-29-2009, 12:00 PM   #1
Registered: May 2009
Posts: 158

Rep: Reputation: 40
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

Last edited by botnet; 12-29-2009 at 01:57 PM.
Old 12-29-2009, 06:50 PM   #2
Senior Member
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 4,045

Rep: Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115
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>
Old 12-29-2009, 07:20 PM   #3
Registered: Feb 2008
Distribution: Slackware -current
Posts: 77

Rep: Reputation: 18
Old 12-30-2009, 01:29 AM   #4
Registered: May 2009
Posts: 158

Original Poster
Rep: Reputation: 40
thanks allend, i will try that

elsheepo, that links contains nothing about two-finger tap
Old 12-30-2009, 06:38 AM   #5
Slackware Contributor
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 227Reputation: 227Reputation: 227
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>


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Touchpad (Alps, driver synaptics, Slackware 13): middle button click doesn't work giberg Slackware 10 11-06-2011 11:58 AM
middle mouse click is replaced by the dual click wanas Linux - Desktop 2 05-15-2009 05:53 PM
synaptics-0.15.0 - Howto reenable Tap-to-Click after upgrade ppr:kut Slackware 8 09-17-2008 11:10 AM
left click on kubuntu desktop (on laptop) brings up middle click menu =S darksmiley Ubuntu 2 06-14-2008 06:37 PM
stop synaptics touchpad tap click easily Frank Leone Linux - Newbie 6 10-30-2005 06:44 PM

All times are GMT -5. The time now is 02:36 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration