You are not logged in.

#1 2019-12-04 16:02:14

hackins
Member
Registered: 2019-12-04
Posts: 8

synaptics touchpad two finger scrolling not working

i cant get two finger scrolling to work. tried everything i found in the internet i.e installed xf86-input-synaptics and copied usr/shared/X11/xorg.conf.d/70-synaptics.conf to etc/X11/xorg.conf.d/20-synaptics.conf
and it has next lines in it

# Example xorg.conf.d snippet that assigns the touchpad driver
# to all touchpads. See xorg.conf.d(5) for more information on
# InputClass.
# DO NOT EDIT THIS FILE, your distribution will likely overwrite
# it when updating. Copy (and rename) this file into
# /etc/X11/xorg.conf.d first.
# Additional options may be added in the form of
#   Option "OptionName" "value"
#
Section "InputClass"
        Identifier "touchpad catchall"
        Driver "synaptics"
        MatchIsTouchpad "on"
# This option is recommend on all Linux systems using evdev, but cannot be
# enabled by default. See the following link for details:
# http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html
	MatchDevicePath "/dev/input/event*"
	Option "VertTwoFingerScroll" "on"
EndSection

Section "InputClass"
        Identifier "touchpad ignore duplicates"
        MatchIsTouchpad "on"
        MatchOS "Linux"
        MatchDevicePath "/dev/input/mouse*"
        Option "Ignore" "on"
	Option "VertTwoFingerScroll" "on"
EndSection

# This option enables the bottom right corner to be a right button on clickpads
# and the right and middle top areas to be right / middle buttons on clickpads
# with a top button area.
# This option is only interpreted by clickpads.
Section "InputClass"
        Identifier "Default clickpad buttons"
        MatchDriver "synaptics"
        Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
        Option "SecondarySoftButtonAreas" "58% 0 0 15% 42% 58% 0 15%"
EndSection

# This option disables software buttons on Apple touchpads.
# This option is only interpreted by clickpads.
Section "InputClass"
        Identifier "Disable clickpad buttons on Apple touchpads"
        MatchProduct "Apple|bcm5974"
        MatchDriver "synaptics"
        Option "SoftButtonAreas" "0 0 0 0 0 0 0 0"
EndSection

got gpointing-device-settings and tried to switch on two finger scrolling in it, everytime i click vertical two finger scrolling the program closes itself and when i reopen it has vertical two finger scrolling enabled but it's still not working.
All of these actions I did after I had no success enabling two fingers scrolling in default libinput, the option to enabling it was in gnome touchpad settings. And by the way today I noticed the option for two finger scrolling disappeared from the settings. maybe because i updated kernel today.
I have following output from synclient

[hackins@archlinux ~]$ synclient -l
Parameter settings:
    LeftEdge                = 1752
    RightEdge               = 5192
    TopEdge                 = 1620
    BottomEdge              = 4236
    FingerLow               = 25
    FingerHigh              = 30
    MaxTapTime              = 180
    MaxTapMove              = 221
    MaxDoubleTapTime        = 180
    SingleTapTimeout        = 180
    ClickTime               = 100
    EmulateMidButtonTime    = 75
    EmulateTwoFingerMinZ    = 282
    EmulateTwoFingerMinW    = 7
    VertScrollDelta         = 100
    HorizScrollDelta        = 100
    VertEdgeScroll          = 1
    HorizEdgeScroll         = 0
    CornerCoasting          = 0
    VertTwoFingerScroll     = 1
    HorizTwoFingerScroll    = 0
    MinSpeed                = 1
    MaxSpeed                = 1.75
    AccelFactor             = 0.0398089
    TouchpadOff             = 0
    LockedDrags             = 0
    LockedDragTimeout       = 5000
    RTCornerButton          = 0
    RBCornerButton          = 0
    LTCornerButton          = 0
    LBCornerButton          = 0
    TapButton1              = 0
    TapButton2              = 0
    TapButton3              = 0
    ClickFinger1            = 1
    ClickFinger2            = 1
    ClickFinger3            = 1
    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         = 0
    TapAndDragGesture       = 1
    AreaLeftEdge            = 0
    AreaRightEdge           = 0
    AreaTopEdge             = 0
    AreaBottomEdge          = 0
    HorizHysteresis         = 25
    VertHysteresis          = 25
    ClickPad                = 0

Can anyone help me on this. btw two finger scrolling works in windows 10 with synaptics 18th drivers. and doesn't in 19th version.

Last edited by hackins (2019-12-04 16:21:24)

Offline

#2 2019-12-04 19:05:14

twelveeighty
Member
From: Alberta, Canada
Registered: 2011-09-04
Posts: 1,096

Re: synaptics touchpad two finger scrolling not working

hackins wrote:

tried everything i found in the internet

But it appears that didn't include reading the Arch Wiki on Synaptics and its red warning box right at the top:

ArchWiki wrote:

Warning: xf86-input-synaptics is no longer actively updated. If possible, use libinput.

I'd recommend using libinput (there's an Arch Wiki page dedicated to it) and its configuration.

Offline

#3 2019-12-04 20:38:53

hackins
Member
Registered: 2019-12-04
Posts: 8

Re: synaptics touchpad two finger scrolling not working

twelveeighty wrote:

I'd recommend using libinput (there's an Arch Wiki page dedicated to it) and its configuration.

well i switched to libinput, removed synaptics (again)
and then ran next commands

[hackins@archlinux ~]$ xinput list-props 12
Device 'SynPS/2 Synaptics TouchPad':
	Device Enabled (141):	1
	Coordinate Transformation Matrix (143):	1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
	libinput Tapping Enabled (277):	1
	libinput Tapping Enabled Default (278):	0
	libinput Tapping Drag Enabled (279):	1
	libinput Tapping Drag Enabled Default (280):	1
	libinput Tapping Drag Lock Enabled (281):	0
	libinput Tapping Drag Lock Enabled Default (282):	0
	libinput Tapping Button Mapping Enabled (283):	1, 0
	libinput Tapping Button Mapping Default (284):	1, 0
	libinput Natural Scrolling Enabled (285):	1
	libinput Natural Scrolling Enabled Default (286):	0
	libinput Disable While Typing Enabled (287):	1
	libinput Disable While Typing Enabled Default (288):	1
	libinput Scroll Methods Available (289):	0, 1, 0
	libinput Scroll Method Enabled (290):	0, 0, 0
	libinput Scroll Method Enabled Default (291):	0, 1, 0
	libinput Accel Speed (292):	-0.014706
	libinput Accel Speed Default (293):	0.000000
	libinput Left Handed Enabled (294):	0
	libinput Left Handed Enabled Default (295):	0
	libinput Send Events Modes Available (262):	1, 1
	libinput Send Events Mode Enabled (263):	0, 0
	libinput Send Events Mode Enabled Default (264):	0, 0
	Device Node (265):	"/dev/input/event10"
	Device Product ID (266):	2, 7
	libinput Drag Lock Buttons (296):	<no items>
	libinput Horizontal Scroll Enabled (297):	1
[hackins@archlinux ~]$ xinput set-prop 12 290 1 0 0
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  131 (XInputExtension)
  Minor opcode of failed request:  57 ()
  Value in failed request:  0x122
  Serial number of failed request:  20
  Current serial number in output stream:  21

so

libinput Scroll Methods Available (289):	0, 1, 0

means touchpad has only edge scrolling, which is not true, I can two-finger scroll in windows. the first digit should be 1 for two finger scrolling, libinput driver doesn't understand the touchpad abilitiy. how can I fix this?

Last edited by hackins (2019-12-04 20:40:25)

Offline

#4 2019-12-08 03:27:23

SurlyCycler
Member
Registered: 2019-10-26
Posts: 47

Re: synaptics touchpad two finger scrolling not working

personally i just do it the easy way.

download gnome-tweaks
go to the keyboard and mouse section
click on "area" in mouse click emulation

its the easy way for two finger scrolling on trackpad

Offline

Board footer

Powered by FluxBB