Skip to content

Two finger scroll refuses to work.

I've tried everything in the wiki I still have the cursor jumping around when I two finger scroll. I even installed "gpointing-device-settings" and that actually does nothing. I am starting to pull my hair out. HELP!

6 points11 comments
Open on Reddit
About this post
Posted
Archived
Score
6 · 100% up
Kind
Text
ID
dfog4

Author

6
posts
30
comments
3
media
View profile

13 comments

Alright, first of all, the way to configure your mouse is through synclient+xorg. Actually, that might not be true— it's just how I do it. I seems elegant to me, but may not to you. But for the sake of moving on, we'll assume you agree with me. :)

So, leave all the GUI steps at the door. Now, there are some touchpads for which two finger scrolling won't work because the hardware doesn't support it. The wiki talks about that in greater detail (alps vs synaptics, I think), but we'll assume you have the right kind of touchpad and your touchpad can report multiple fingers, instead of the average of all contact points.

Now, make sure you have xf86-input-synaptics installed (pacman -Qi xf86-input-synaptics). Then, use this command:

$ synclient -l

This lists the default settings for parameters available to customizing your touchpad. There's good documentation for all of this (man synaptics) that lists what each parameter does. The ones you are interested in are VertTwoFingerScroll and possibly HorizTwoFingerScroll. These are boolean parameters (0 or 1). To change a parameter, you'd do:

$ synclient VertTwoFingerScroll=1

Now, vertical two finger scroll should be enabled. You can check this with synclient -l. See if it works. If it does, you might want to add this to your xorg.conf file(s). Your mouse section (if you use a monolithic xorg.conf file) or your conf file (/etc/X11/xorg.conf.d/10-synaptics.conf) will look like this: Section "InputClass" Identifier "touchpad catchall" Driver "synaptics" MatchIsTouchpad "On" ... Option "VertTwoFingerScroll" "1" ... EndSection

That's it. Return to doing real work. When you start X fresh (log out and log in sometime in the future), this configuration will be automatically read and used.

tldr: Disregard what the wiki says. The way to configure touchpads is to change only what doesn't work by default. Get rid of any synaptics conf files you may have, do synclient -l, change parameters, note down ones that work well. Write a synaptics conf file with these parameters you had to change from the default values. Victory.

5 points

Thanks for the instructions, but it didn't work. Here is the synclient and synaptics.conf output if you feel like looking at them.

############### synclient -l Parameter settings: LeftEdge = 1756 RightEdge = 5250 TopEdge = 1654 BottomEdge = 4686 FingerLow = 10 FingerHigh = 15 FingerPress = 255 MaxTapTime = 180 MaxTapMove = 236 MaxDoubleTapTime = 180 SingleTapTimeout = 180 ClickTime = 100 FastTaps = 0 EmulateMidButtonTime = 75 EmulateTwoFingerMinZ = 280 EmulateTwoFingerMinW = 7 VertScrollDelta = 107 HorizScrollDelta = 107 VertEdgeScroll = 1 HorizEdgeScroll = 0 CornerCoasting = 0 VertTwoFingerScroll = 1 HorizTwoFingerScroll = 0 MinSpeed = 0.4 MaxSpeed = 0.7 AccelFactor = 0.00929887 TrackstickSpeed = 40 EdgeMotionMinZ = 29 EdgeMotionMaxZ = 159 EdgeMotionMinSpeed = 1 EdgeMotionMaxSpeed = 430 EdgeMotionUseAlways = 0 UpDownScrolling = 1 LeftRightScrolling = 1 UpDownScrollRepeat = 1 LeftRightScrollRepeat = 1 ScrollButtonRepeat = 100 TouchpadOff = 0 GuestMouseOff = 0 LockedDrags = 0 LockedDragTimeout = 5000 RTCornerButton = 0 RBCornerButton = 0 LTCornerButton = 0 LBCornerButton = 0 TapButton1 = 1 TapButton2 = 3 TapButton3 = 2 ClickFinger1 = 1 ClickFinger2 = 1 ClickFinger3 = 2 CircularScrolling = 0 CircScrollDelta = 0.1 CircScrollTrigger = 0 CircularPad = 0 PalmDetect = 0 PalmMinWidth = 10 PalmMinZ = 199 CoastingSpeed = 0 PressureMotionMinZ = 29 PressureMotionMaxZ = 159 PressureMotionMinFactor = 1 PressureMotionMaxFactor = 1 GrabEventDevice = 1 TapAndDragGesture = 1 AreaLeftEdge = 0 AreaRightEdge = 0 AreaTopEdge = 0 AreaBottomEdge = 0

########################### 10-synaptics.conf

Section "InputClass" Identifier "touchpad" Driver "synaptics" MatchIsTouchpad "on" Option "TapButton1" "1" Option "TapButton2" "2" Option "TapButton3" "3" Option "SHMConfig" "on" Option "VertTwoFingerScroll" "1"

EndSection

########################################

I have 2 finger scroll working in windows so I know that the hardware supports.

2 points

Pretty much everything looks good.* I would expect this configuration to just work. The only thing I can think of is perhaps edge scrolling and two finger scrolling are mutually exclusive? You could quickly check this with synclient (set Vert/Horiz EdgeScroll to 0 and see if two finger scrolling works then).

I have a single finger touchpad (~2005), so I can't test the two finger scroll feature. But this is basically the procedure you should adopt to trouble shooting touchpad issues. (synclient + xorg.conf)

In case this doesn't fix things up, I'd suggest hitting up arch forums. More brains at work = greater likelihood of coming up with solutions. :) Good luck!

  • Couple of suggestions: In your 10-synaptics.conf, SHMConfig doesn't need to be set to on anymore. You might not even need TapButton2 and TapButton3.
3 points
unknown author1 hidden

I can confirm that this does work! Thanks a lot!

I'm recent Ubuntu convert, and Arch is really looking like it'll be the end all for me! Thanks again!

2 points

Yeah, I definitely see what you mean. I switched around KDE 4.1 and never looked back. Sometimes, for kicks, I browse the wiki on random and land up on some lesser known gems like this one (a couple of days ago) that make me go, "Cool!". Long story short, my system now hashes my passwords with sha512 and I'm... oh god, FOREVER ALONE!

2 points
unknown author1 hidden

Deleted before we saved it.

2 points
unknown author

I just have a script that runs at startup. I don't remember where I got it from but I have been using it for a while now.

2 points

if you have gnome installed, go to the mouse settings. I have openbox and gnome installed (for me and my wife) while two fingered worked in openbox, it wouldn't in gnome till i enabled it in the settings

2 points

I got mine to work using xinput. A hack yes but.... it works.

#!/bin/bash

#synclient EmulateTwoFingerMinZ=3o TapButton2=3 VertTwoFingerScroll=1 HorizTwoFingerScroll=1 VertEdgeScroll=0 HorizEdgeScroll=0 PalmDetect=1

Use xinput --list-props "SynPS/2 Synaptics TouchPad" to extract data

Set multi-touch emulation parameters

xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Synaptics Two-Finger Pressure" 32 10 xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Synaptics Two-Finger Width" 32 8 xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Two-Finger Scrolling" 8 1 xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Synaptics Two-Finger Scrolling" 8 1 1

Disable edge scrolling

xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Synaptics Edge Scrolling" 8 0 0 0

This will make cursor not to jump if you have two fingers on the touchpad and you list one

(which you usually do after two-finger scrolling)

xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Synaptics Jumpy Cursor Threshold" 32 110

2 points

I got mine to work using xinput. A hack yes but.... it works.

#!/bin/bash

EmulateTwoFingerMinZ=3o TapButton2=3 VertTwoFingerScroll=1 HorizTwoFingerScroll=1 VertEdgeScroll=0 HorizEdgeScroll=0 PalmDetect=1

#
# Use xinput --list-props "SynPS/2 Synaptics TouchPad" to extract data 
#

# Set multi-touch emulation parameters
xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Synaptics Two-Finger Pressure" 32 10
xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Synaptics Two-Finger Width" 32 8
xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Two-Finger Scrolling" 8 1
xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Synaptics Two-Finger Scrolling" 8 1 1

# Disable edge scrolling
xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Synaptics Edge Scrolling" 8 0 0 0 

# This will make cursor not to jump if you have two fingers on the touchpad and you list one
# (which you usually do after two-finger scrolling)
xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Synaptics Jumpy Cursor Threshold" 32 110
1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.