You are not logged in.

#1 2021-12-18 15:19:24

Celsiuss
Member
Registered: 2020-11-05
Posts: 28

[SOLVED] Can't enable "NaturalScrolling" in xorg conf

I have the following contents in /etc/X11/xorg.conf.d/30-touchpad.conf

Section "InputClass"
        Identifier "CUST0001:00 06CB:76AF Touchpad"
        Driver "libinput"
        Option "NaturalScrolling" "true"
        Option "Tapping" "true"
EndSection

Natural scrolling does not work, however tapping is enabled with this config.

The following xinput command does work for setting natural scrolling:

$ xinput set-prop "CUST0001:00 06CB:76AF Touchpad" "libinput Natural Scrolling Enabled" 1 

Why does natural scrolling not get enabled by the xorg conf file? What can I do?

Last edited by Celsiuss (2021-12-18 21:29:13)

Offline

#2 2021-12-18 17:05:36

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,296

Re: [SOLVED] Can't enable "NaturalScrolling" in xorg conf

Things you set up in your xorg.conf might be overwritten by daemons of your environment, what are you using here? Basically every big DE will handle this on their own during log in.

Offline

#3 2021-12-18 17:44:08

Celsiuss
Member
Registered: 2020-11-05
Posts: 28

Re: [SOLVED] Can't enable "NaturalScrolling" in xorg conf

V1del wrote:

Things you set up in your xorg.conf might be overwritten by daemons of your environment, what are you using here? Basically every big DE will handle this on their own during log in.

I am using i3 wm, however I previously ran KDE on this system.

I also do not have any other conf files in /etc/X11/xorg.conf.d/

Last edited by Celsiuss (2021-12-18 18:17:16)

Offline

#4 2021-12-18 20:58:45

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,154

Re: [SOLVED] Can't enable "NaturalScrolling" in xorg conf

Xorg log?

Offline

#5 2021-12-18 21:09:50

Celsiuss
Member
Registered: 2020-11-05
Posts: 28

Re: [SOLVED] Can't enable "NaturalScrolling" in xorg conf

seth wrote:

Xorg log?

http://ix.io/3IN6

Offline

#6 2021-12-18 21:14:10

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,154

Re: [SOLVED] Can't enable "NaturalScrolling" in xorg conf

[ 22374.953] (II) event6  - CUST0001:00 06CB:76AF Mouse: is tagged by udev as: Mouse Pointingstick
[ 22374.953] (II) event6  - CUST0001:00 06CB:76AF Mouse: device is a pointer
[ 22374.954] (II) event6  - CUST0001:00 06CB:76AF Mouse: device removed
[ 22374.954] (**) Option "NaturalScrolling" "true"
…
[ 22374.963] (II) event7  - CUST0001:00 06CB:76AF Touchpad: is tagged by udev as: Touchpad
[ 22374.966] (II) event7  - CUST0001:00 06CB:76AF Touchpad: device is a touchpad
[ 22374.966] (II) event7  - CUST0001:00 06CB:76AF Touchpad: device removed
[ 22374.966] (**) Option "Tapping" "true"
[ 22374.966] (**) Option "NaturalScrolling" "true"

Try adding

MatchIsTouchpad     "true"

Offline

#7 2021-12-18 21:28:54

Celsiuss
Member
Registered: 2020-11-05
Posts: 28

Re: [SOLVED] Can't enable "NaturalScrolling" in xorg conf

seth wrote:

Try adding

MatchIsTouchpad     "true"

I added this, and also 'MatchIsTouchpad "false"' in the mouse entry (which I temporarily commented out without realizing nat scroll was working).
Seems to work fine now!

Thank you for teaching me the importance of these match filters smile

Offline

Board footer

Powered by FluxBB