You are not logged in.

#1 2021-05-21 12:58:55

pushp1997
Member
Registered: 2021-05-21
Posts: 2

[Solved] Synaptics Natural Scrolling

Hi, I am new to Arch. I am having trouble enabling natural scrolling on my laptop.
I followed this wiki

Here's how my /usr/share/X11/xorg.conf.d/70-synaptics.conf looks like:

Section "InputClass"
        Identifier "touchpad catchall"
        Driver "synaptics"
        MatchIsTouchpad "on"
# This option is recommend on all Linux systems using evdev,>
# enabled by default. See the following link for details:
# http://who-t.blogspot.com/2010/11/how-to-ignore-configurat>
#       MatchDevicePath "/dev/input/event*"
        Option "VertScrollDelta" "-111"
        Option "HorizScrollDelta" "-111"
EndSection

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

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% 5>
EndSection

Section "InputClass"
        Identifier "Disable clickpad buttons on Apple touchp>
        MatchProduct "Apple|bcm5974"
        MatchDriver "synaptics"
        Option "SoftButtonAreas" "0 0 0 0 0 0 0 0"
EndSection

Adding Option "VertScrollDelta" "-111" & Option "HorizScrollDelta" "-111" does enable natural scrolling but then I lose the smooth scroll,
when I remove these two options than I get the smooth scroll back but lose the natural scrolling. Please guide me to retain smooth scroll with Natural scrolling?


System Details:
OS: Arch Linux x86_64
Kernel: 5.12.5-arch1-1
WM: i3
CPU: Intel i5-10400H (8) @ 4.600GHz
GPU: Intel UHD Graphics
Memory: 15605MiB

Last edited by pushp1997 (2021-05-22 22:49:25)

Offline

#2 2021-05-21 13:35:03

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,824

Re: [Solved] Synaptics Natural Scrolling

Have you tried other values than -111 ? What I'd do is query the value without explicitly setting this(e.g. check what it is set to by default with xinput or so) and then just setting that value to negative.

Online

#3 2021-05-22 22:45:58

pushp1997
Member
Registered: 2021-05-21
Posts: 2

Re: [Solved] Synaptics Natural Scrolling

Thanks a lot @V1del that worked for me!
On running

sysclient -l

I got:

VertScrollDelta         = 27
HorizScrollDelta        = 27

So, I have added the below configs to my  /usr/share/X11/xorg.conf.d/70-synaptics.conf:

# Userdefined for Natural Scrolling and other stuff
Section "InputClass"
        Identifier "touchpad"
        Driver "synaptics"
        MatchIsTouchpad "on"
        Option "TapButton1" "1"
        Option "TapButton2" "3"
        Option "TapButton3" "2"
        Option "VertScrollDelta" "-27"
        Option "HorizScrollDelta" "-27"
EndSection

and it works perfectly!

Offline

Board footer

Powered by FluxBB