9

I can't disable natural scrolling. That is, no matter whether I turn "Natural Scrolling" on or off, dragging the mouse wheel towards me scrolls up.

Mouse & Touchpad settings dialogue

$ gnome-shell --version
GNOME Shell 3.20.4
$ cat /etc/redhat-release 
Fedora release 24 (Twenty Four)

No matter what I set it to, if I go back to all settings and then open the "Mouse & Touchpad" settings again, the on/off state is persisted. So it seems whatever state that is setting is not used by the mouse driver.

l0b0
  • 50,672
  • 41
  • 197
  • 360
  • Just linking some related question: [Ubuntu Gnome](https://askubuntu.com/a/961704/830570) – Cadoiz Jun 21 '22 at 22:54
  • You can consider [my answer there](https://unix.stackexchange.com/a/707365/318461) - is it suitable to be posted here? [The solution you provided](https://unix.stackexchange.com/a/307929/318461) didn't work for me despite using x11. – Cadoiz Jun 24 '22 at 12:41

1 Answers1

16

This worked for me:

gsettings set org.gnome.desktop.peripherals.mouse natural-scroll false
gsettings set org.gnome.desktop.peripherals.touchpad natural-scroll false
l0b0
  • 50,672
  • 41
  • 197
  • 360
  • 1
    this is what I use to disable the so called "natural" scrolling. Just a heads up for if you want to script these `gsettings` commands (on the off chance you didn't know this already) `gsettings` needs the full complement of environment variables to work. I think in particular `$DBUS_SESSION_BUS_ADDRESS` and will fail if e.g. if you use `sudo` without the `-E` option – the_velour_fog Sep 05 '16 at 12:08
  • Thanks @the_velour_fog, I use [a Puppet module](https://github.com/camptocamp/puppet-gnome) for that sort of thing. – l0b0 Sep 05 '16 at 15:26
  • 1
    This did not work for me. I can confirm the setting is set to `false`. I'm using Gnome 3.30. – Ben Davis Nov 15 '18 at 19:22
  • Sorry to hear that @BenDavis. You should probably ask a new question, because that's probably a different bug. – l0b0 Nov 16 '18 at 06:45
  • @l0b0 I found out it was an issue with Wayland. I've since switched my session settings to use Xorg. – Ben Davis Nov 16 '18 at 17:59