20.04 Natural scrolling not persisting between sessions

Since updating, natural scrolling works just fine - up until reboot. Toggling the setting off and on again does the trick, but is rather... Annoying.

Grateful for any advice!

1

2 Answers

edit:

I just found a better solution / workaround to my original answer:

Add Option "NaturalScrolling" "on" to /usr/share/X11/xorg.conf.d/40-libinput.conf

In context:

Section "InputClass" Identifier "libinput pointer catchall" MatchIsPointer "on" MatchDevicePath "/dev/input/event*" Option "NaturalScrolling" "on" Driver "libinput"
EndSection

Then restart the X session (i.e.: log out or restart)

3

I've noticed the same; it's really annoying. Mine also "forgets" the setting I have for Caps Lock (make it an Esc), which drives me crazy.

The following two terminal commands will fix things

gsettings set org.gnome.desktop.peripherals.mouse natural-scroll true

And for my escape problem:gsettings set org.gnome.desktop.input-sources xkb-options "['caps:escape']"

(edit2) Since I've turned the settings off and on again in the terminal, they haven't magically disappeared. Maybe it's enough to just run the below once? (turn it off and on again :) )

gsettings set org.gnome.desktop.peripherals.mouse natural-scroll false
gsettings set org.gnome.desktop.peripherals.mouse natural-scroll true
3

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like