LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-29-2009, 11:00 AM   #1
botnet
Member
 
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:
Code:
#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"
#EndSection
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:
Code:
<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?

Thanks


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 12:57 PM.
 
Old 12-29-2009, 05:50 PM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
With my touchpad, I assign the top left corner so that a single tap produces a middle click.
Quote:
<merge key="input.x11_options.LTCornerButton" type="string">2</merge>
 
Old 12-29-2009, 06:20 PM   #3
elsheepo
Member
 
Registered: Feb 2008
Location: Texas
Distribution: Slackware
Posts: 90

Rep: Reputation: 20
http://www.linuxquestions.org/questi...reboot-758184/
 
Old 12-30-2009, 12:29 AM   #4
botnet
Member
 
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, 05:38 AM   #5
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 231Reputation: 231Reputation: 231
My config has two and three finger tap along with two finger scroll.

Code:
<?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>
        <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>
    </match>
  </device>
</deviceinfo>
 
  


Reply



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 10:58 AM
middle mouse click is replaced by the dual click wanas Linux - Desktop 2 05-15-2009 04:53 PM
synaptics-0.15.0 - Howto reenable Tap-to-Click after upgrade ppr:kut Slackware 8 09-17-2008 10:10 AM
left click on kubuntu desktop (on laptop) brings up middle click menu =S darksmiley Ubuntu 2 06-14-2008 05:37 PM
stop synaptics touchpad tap click easily Frank Leone Linux - Newbie 6 10-30-2005 05:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:34 AM.

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