Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Solved] Synaptics tapping

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
milomak
Posts: 2158
Joined: 2009-06-09 22:20
Been thanked: 1 time

[Solved] Synaptics tapping

#1 Post by milomak »

Is it possible to setup tapping so that a fast tap with two fingers behaves like the right click button.
Last edited by milomak on 2010-09-20 20:02, edited 1 time in total.
Desktop: A320M-A PRO MAX, AMD Ryzen 5 3600, GALAX GeForce RTX™ 2060 Super EX (1-Click OC) - Sid, Win10, Arch Linux, Gentoo, Solus
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid

thunderogg
Posts: 198
Joined: 2008-12-10 20:12

Re: Synaptic tapping

#2 Post by thunderogg »

I suppose you mean Synaptics and not Synaptic.

Code: Select all

man synaptics
Debian 12 / Xfce4

milomak
Posts: 2158
Joined: 2009-06-09 22:20
Been thanked: 1 time

Re: Synaptic tapping

#3 Post by milomak »

sorry that is exactly what I mean. using gnome, I have the following settings in gsynaptics

Image

My xorg.conf looks like so with respect to the Touchpad

Code: Select all

Section "ServerLayout"                                                                                                                                                                                     
   Identifier   "Default Layout"
   Option "AllowEmptyInput" "false"
   InputDevice "Touchpad" "SendCoreEvents" 

Code: Select all

EndSection
Section "Module"
   Load    "glx"
   Load    "synaptics"
   Load    "dri"
   Load    "GLcore"
EndSection

Code: Select all

Section "InputDevice"
   Identifier  "Touchpad"
    Driver          "synaptics"
    Option          "SendCoreEvents"        "true"
    Option          "Device"                "/dev/input/mice"
    Option          "Protocol"              "auto-dev"
    Option          "SHMConfig"             "true"
    Option          "New AccelFactor"       "0.03"
    Option          "LeftEdge"              "100"
    Option          "RightEdge"             "1120"
    Option          "TopEdge"               "50"
    Option          "BottomEdge"            "310"
    Option          "MinSpeed"              "0.94"
    Option          "MaxSpeed"              "1"
    Option          "AccelFactor"           "0.0015"
#tapping
    Option          "FingerHigh"            "30"
    Option          "FingerLow"             "20"
    Option          "MaxTapTime"            "150"
    Option          "FastTaps"              "1"
    Option          "TapButton1"            "1"
    Option          "TapButton2"            "2"
    Option          "TapButton3"            "3"
#edge scroll
    Option          "VertEdgeScroll"        "0"
    Option          "HorizEdgeScroll"       "0"
    Option          "VertScrollDelta"       "5"
    Option          "HorizScrollDelta"      "0"
#two finger scroll
    Option          "VertTwoFingerScroll"   "1"
    Option          "HorizTwoFingerScroll"  "1"
EndSection
edit: i get the same result even if I disable Enable Faster Tapping
Desktop: A320M-A PRO MAX, AMD Ryzen 5 3600, GALAX GeForce RTX™ 2060 Super EX (1-Click OC) - Sid, Win10, Arch Linux, Gentoo, Solus
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Synaptic tapping

#4 Post by stevepusser »

I'm currently using the Lenny xorg which does not support much, but have you tried "xinput"?

You can get freakin' multitouch with a new enough xorg: http://linuxformat.com/content/synaptics-multitouch
MX Linux packager and developer

milomak
Posts: 2158
Joined: 2009-06-09 22:20
Been thanked: 1 time

Re: Synaptic tapping

#5 Post by milomak »

i am not particularly married to xorg. if there is a udev solution i will take that.

it seems to me that this configuration may work. Thing is where would I put it?
Desktop: A320M-A PRO MAX, AMD Ryzen 5 3600, GALAX GeForce RTX™ 2060 Super EX (1-Click OC) - Sid, Win10, Arch Linux, Gentoo, Solus
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid

smallchange
Posts: 1740
Joined: 2009-05-04 15:56
Been thanked: 1 time

Re: Synaptic tapping

#6 Post by smallchange »

Debian Wiki suggests /etc/udev/rules.d/99-synaptics.rules .

milomak
Posts: 2158
Joined: 2009-06-09 22:20
Been thanked: 1 time

Re: Synaptic tapping

#7 Post by milomak »

does this work in debian?

all other features work. soft tapping doesn't.
Desktop: A320M-A PRO MAX, AMD Ryzen 5 3600, GALAX GeForce RTX™ 2060 Super EX (1-Click OC) - Sid, Win10, Arch Linux, Gentoo, Solus
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid

User avatar
gradinaruvasile
Posts: 935
Joined: 2010-01-31 22:03
Location: Cluj, Romania
Contact:

Re: Synaptic tapping

#8 Post by gradinaruvasile »

Try synclient's options. I mapped right-click with it to the bottom right corner tap.

milomak
Posts: 2158
Joined: 2009-06-09 22:20
Been thanked: 1 time

Re: Synaptic tapping

#9 Post by milomak »

ah that's helped. I ran synclient TapButton1=1 TapButton2=1 and synclient TapButton1=1 TapButton2=2.

One finger tapping emulates left click. Two finger tapping doesn't emulate right click. what should i do to emulate the latter?
Desktop: A320M-A PRO MAX, AMD Ryzen 5 3600, GALAX GeForce RTX™ 2060 Super EX (1-Click OC) - Sid, Win10, Arch Linux, Gentoo, Solus
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid

User avatar
bmc5311
Posts: 545
Joined: 2008-11-16 15:21
Location: lost in the vast machine

Re: Synaptic tapping

#10 Post by bmc5311 »

milomak wrote:ah that's helped. I ran synclient TapButton1=1 TapButton2=1 and synclient TapButton1=1 TapButton2=2.
One finger tapping emulates left click. Two finger tapping doesn't emulate right click. what should i do to emulate the latter?
Not sure if this will help or not -
- here's an an old xorg.conf file, i had a macbook and had two finger right click working fine..

Code: Select all

# xorg.conf - for 1st gen macbook
# (X.Org X Window System server configuration file)

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"XkbRules"	"xorg"
#	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"us"
	Option		"XkbVariant"	"mac"
	Option		"XkbOptions"	"lv3:ralt_switch"
	Option		"XkbOption"     "numpad:mac"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
EndSection

Section "InputDevice"
	Identifier	"Synaptics Touchpad"
	Driver		"synaptics"
	Option		"SendCoreEvents"	"true"
	Option		"Device"		"/dev/psaux"
	Option		"Protocol"		"auto-dev"
        Option          "SHMConfig"             "true"
        Option          "VertScrollDelta"       "20"
        Option          "HorizScrollDelta"      "70"
        Option          "HorizEdgeScroll"       "0"
        Option          "VertEdgeScroll"        "0"
        Option          "VertTwoFingerScroll"   "1"
        Option          "HorizTwoFingerScroll"  "1"
	Option		"MultiFingerButton"	"2"
#        Option          "TapButton1"            "1"
#        Option          "TapButton2"            "3"
#        Option          "TapButton3"            "2"


EndSection

Section "Device"
	Identifier	"Configured Video Device"
EndSection

Section "Monitor"
	Identifier	"Configured Monitor"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Monitor		"Configured Monitor"
	Device		"Configured Video Device"
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Synaptics Touchpad"
EndSection

User avatar
gradinaruvasile
Posts: 935
Joined: 2010-01-31 22:03
Location: Cluj, Romania
Contact:

Re: Synaptic tapping

#11 Post by gradinaruvasile »

milomak wrote:ah that's helped. I ran synclient TapButton1=1 TapButton2=1 and synclient TapButton1=1 TapButton2=2.

One finger tapping emulates left click. Two finger tapping doesn't emulate right click. what should i do to emulate the latter?
Ok, i am now on my laptop - i have an autorun script doing the following:

Code: Select all

synclient HorizEdgeScroll=1 RBCornerButton=3 TapButton1=1 TapButton2=2 TapButton3=3 "FastTaps"=1 SingleTapTimeout=50

milomak
Posts: 2158
Joined: 2009-06-09 22:20
Been thanked: 1 time

Re: Synaptic tapping

#12 Post by milomak »

Anyone been able to get this working on one of the later MBPs?

Or maybe what device I need to check is running with respect to bmc5311's post.

I still have:
1 soft touch - click
2 soft touches - nothing or sometimes paste

This is in Gnome environment if it helps.
Desktop: A320M-A PRO MAX, AMD Ryzen 5 3600, GALAX GeForce RTX™ 2060 Super EX (1-Click OC) - Sid, Win10, Arch Linux, Gentoo, Solus
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid

milomak
Posts: 2158
Joined: 2009-06-09 22:20
Been thanked: 1 time

Re: Synaptic tapping

#13 Post by milomak »

I did a bit more digging into the whole issue:

I noticed the following in /var/log/Xorg.0.log

Code: Select all

(II) bcm5974: buttons: left double triple
So i decided to do the following:

Code: Select all

synclient TapButton1=1 TapButton2=3 TapButton3=2
which solved the problem. Essentially the log output shows 3 buttons being recognised and i figured the order must be button 1, 2 and 3. So in essence I wanted two fingers to emulate button 3.
Desktop: A320M-A PRO MAX, AMD Ryzen 5 3600, GALAX GeForce RTX™ 2060 Super EX (1-Click OC) - Sid, Win10, Arch Linux, Gentoo, Solus
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid

Post Reply