Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ETPS/2 Elantech touchpad, no simulate 3rd button.[solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
BrummieJim
l33t
l33t


Joined: 22 Jul 2005
Posts: 642

PostPosted: Thu Jul 03, 2014 3:29 pm    Post subject: ETPS/2 Elantech touchpad, no simulate 3rd button.[solved] Reply with quote

Hi,
I've got a new Asus laptop with one of these ETPS/2 touchpads. I've got it recognised in XFCE but there seems to be no way of simulating a third button for cut and paste, which is really annoying. xinput picks up the touch pad fine.

Quote:

xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ ETPS/2 Elantech Touchpad id=11 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Video Bus id=8 [slave keyboard (3)]
↳ Sleep Button id=9 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=10 [slave keyboard (3)]


and synclient -l lists these details
Quote:

Parameter settings:
LeftEdge = 129
RightEdge = 3120
TopEdge = 120
BottomEdge = 2103
FingerLow = 1
FingerHigh = 1
MaxTapTime = 180
MaxTapMove = 173
MaxDoubleTapTime = 180
SingleTapTimeout = 180
ClickTime = 100
EmulateMidButtonTime = 0
EmulateTwoFingerMinZ = 282
EmulateTwoFingerMinW = 7
VertScrollDelta = 78
HorizScrollDelta = 78
VertEdgeScroll = 1
HorizEdgeScroll = 0
CornerCoasting = 0
VertTwoFingerScroll = 0
HorizTwoFingerScroll = 0
MinSpeed = 1
MaxSpeed = 1.75
AccelFactor = 0.050813
TouchpadOff = 1
LockedDrags = 0
LockedDragTimeout = 5000
RTCornerButton = 0
RBCornerButton = 0
LTCornerButton = 0
LBCornerButton = 0
TapButton1 = 0
TapButton2 = 0
TapButton3 = 0
ClickFinger1 = 1
ClickFinger2 = 3
ClickFinger3 = 2
CircularScrolling = 0
CircScrollDelta = 0.1
CircScrollTrigger = 0
CircularPad = 0
PalmDetect = 0
PalmMinWidth = 10
PalmMinZ = 200
CoastingSpeed = 20
CoastingFriction = 50
PressureMotionMinZ = 30
PressureMotionMaxZ = 160
PressureMotionMinFactor = 1
PressureMotionMaxFactor = 1
GrabEventDevice = 1
TapAndDragGesture = 1
AreaLeftEdge = 0
AreaRightEdge = 0
AreaTopEdge = 0
AreaBottomEdge = 0
HorizHysteresis = 19
VertHysteresis = 19
ClickPad = 1
RightButtonAreaLeft = 1624
RightButtonAreaRight = 0
RightButtonAreaTop = 1822
RightButtonAreaBottom = 0
MiddleButtonAreaLeft = 0
MiddleButtonAreaRight = 0
MiddleButtonAreaTop = 0
MiddleButtonAreaBottom = 0


I've been trying to adapt the instructions here (http://askubuntu.com/questions/80712/middle-mouse-click-emulation-on-trackpad-how-can-i-set-it) but to no effect.

Any ideas,
Thanks,
James
_________________
Intel 2.2 Core 2 Duo, 4Gb Ram, 320GB Sata Drive and Nvidia card.


Last edited by BrummieJim on Thu Jul 10, 2014 3:41 pm; edited 1 time in total
Back to top
View user's profile Send private message
keet
Guru
Guru


Joined: 09 Sep 2008
Posts: 529

PostPosted: Thu Jul 03, 2014 11:27 pm    Post subject: Reply with quote

Code:
cat /etc/X11/xorg.conf.d/50-synaptics.conf

Section "InputClass"
    Identifier "touchpad"
    Driver "synaptics"
    MatchIsTouchpad "on"
        Option "TapButton1" "1"
        Option "TapButton2" "3"
        Option "TapButton3" "2"
        Option "VertEdgeScroll" "on"
        Option "VertTwoFingerScroll" "on"
        Option "HorizEdgeScroll" "on"
        Option "HorizTwoFingerScroll" "on"
        Option "CircularScrolling" "on"
        Option "CircScrollTrigger" "2"
        Option "EmulateTwoFingerMinZ" "40"
        Option "EmulateTwoFingerMinW" "8"
        Option "CoastingSpeed" "0"
   Option "PalmDetect" "1"
   Option "TapAndDragGesture" "1"
EndSection


This lets me double-tap a single finger to let me choose text, and though I never use a middle button, I expect that tapping it with three fingers simultaneously would emulate that. It think that it is the Tapbutton2 parameter.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5592

PostPosted: Fri Jul 04, 2014 5:06 pm    Post subject: Reply with quote

The default is triple finger tap, but if you have a sensitive touchpad that can be extremely hard to do. If you have physical buttons for left/right click you can still use middle button chording with those.
Back to top
View user's profile Send private message
BrummieJim
l33t
l33t


Joined: 22 Jul 2005
Posts: 642

PostPosted: Thu Jul 10, 2014 3:41 pm    Post subject: Reply with quote

That's brilliant, thanks!
Missing that on my laptop,
James
_________________
Intel 2.2 Core 2 Duo, 4Gb Ram, 320GB Sata Drive and Nvidia card.
Back to top
View user's profile Send private message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1410
Location: /uk/sheffield

PostPosted: Fri Jul 11, 2014 6:58 am    Post subject: Reply with quote

I can select with triple tap, but can't work out how to then paste the selected text elsewhere.

I've tried triple pasting into a blank Emacs buffer, Ctrl-y to paste (kill ring is empty), double tap. No joy.

Can't see anything obvious as to how to configure it in the xorg synaptics man page.

Any ideas?
_________________
"Science is what we understand well enough to explain to a computer.  Art is everything else we do." - Donald Knuth
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum