LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Bodhi (https://www.linuxquestions.org/questions/bodhi-92/)
-   -   Natural scrolling (https://www.linuxquestions.org/questions/bodhi-92/natural-scrolling-4175672525/)

Ahen 04-04-2020 02:34 AM

Natural scrolling
 
Lovely job on 5.1 -- congratulations to all involved.

I wanted to change my laptop touchpad scrolling direction to natural scrolling and have been successful.

For anyone who wants to do this, I first (as root) created an empty directory /etc/X11/xorg.conf.d

In that directory, 40-libinput.conf with these contents:

Quote:

Section "InputClass"
Identifier "libinput touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "Tapping" "on"
Option "TappingButtonMap" "lmr"
Option "ScrollMethod" "edge"
Option "NaturalScrolling" "on"
EndSection
Note that before this change, both two finger and edge scrolling were active on my touchpad, but afterwards only edge scrolling is. That's fine with me. The TappingButtonMap option "lmr" sets one finger tap to left click, two finger tap to middle click and three finger tap to right click. It's possible to use other combinations, like "lrm".

My understanding is that this is the preferred method for systems using libinput, as Bodhi is.

the_waiter 04-04-2020 01:47 PM

Thanx and thanx :)


All times are GMT -5. The time now is 11:43 PM.