DEV Community

Indra Wahyu
Indra Wahyu

Posted on

Natural Scrolling EndeavourOS i3-WM

Edit 40-libinput.conf

/usr/share/X11/xorg.conf.d/40-libinput.conf
Enter fullscreen mode Exit fullscreen mode

Add there Option

"NaturalScrolling" "True"
Enter fullscreen mode Exit fullscreen mode

Example

For mouse:

# Match on all types of devices but joysticks
Section "InputClass"
        Identifier "libinput pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
        Option "NaturalScrolling" "True"
EndSection
Enter fullscreen mode Exit fullscreen mode

For touchpad:

Section "InputClass"
        Identifier "libinput touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
        Option "NaturalScrolling" "True"
EndSection
Enter fullscreen mode Exit fullscreen mode

Then log off and on to apply.


Reference

https://askubuntu.com

Latest comments (0)