14

I'm using bluetooth mouse A4Tech BT-630 in Ubuntu 20.04. Each time I go afk the mouse goes to sleep and when I click any mouse button to wake it up the natural scrolling setting I've set previously is not restored.

Interestingly that the switch is still "on" in the System Settings app but the scrolling is reverse to natural in all windows. In order to fix this I have to switch natural scrolling setting to "off" and then back to "on" in the System Settings app. That only helps until the next time mouse goes to sleep.

The solution described here didn't help in my case. I hope someone have other ideas which may help me to overcome the issue.

imajus
  • 151
  • 4
  • 6
    Add `Option "NaturalScrolling" "on"` to `/usr/share/X11/xorg.conf.d/40-libinput.conf`. See details: https://askubuntu.com/a/1283546/685777 – skiss Oct 18 '20 at 04:25
  • Using gsettings to turn it off and on again as described in the linked post did not make the setting persistent between sessions. – Jan-Åke Larsson Oct 21 '20 at 07:12
  • 2
    @skiss That solved the issue for me, but started to work only after I've restarted my machine. Thanks for the help! – imajus Oct 22 '20 at 17:03
  • 1
    This started happening for me too at about the start of October, having used 20.04 and a BT mouse since 20.04's release. Just noting that in case we can triage what changed around that point. – Nigel Oct 27 '20 at 22:06
  • 1
    Does this answer your question? [20.04 Natural scrolling not persisting between sessions](https://askubuntu.com/questions/1282097/20-04-natural-scrolling-not-persisting-between-sessions) – karel Nov 05 '20 at 09:30
  • No. Still not persistent. – Jan-Åke Larsson Nov 16 '20 at 07:12
  • Does this answer your question? [Scroll direction keeps changing after recent upgrade](https://askubuntu.com/questions/1286559/scroll-direction-keeps-changing-after-recent-upgrade) – Duncanmoo Nov 20 '20 at 05:56

1 Answers1

1

In a terminal:

sudo vi /usr/share/X11/xorg.conf.d/40-libinput.conf 

Using the arrow key, go down to one line after the one reading Identifier "libinput pointer catchall".

Press i for Insert. Then type or paste:

Option "NaturalScrolling" "on" 

Then press ESC to exit edit mode, : for the menu, and then w to save the file and then q to quit.

To restart X without rebooting:

sudo service gdm3 restart

For details see: https://askubuntu.com/a/1283546/685777

abcsec
  • 11
  • 2