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.

7
  • 6
    Add Option "NaturalScrolling" "on" to /usr/share/X11/xorg.conf.d/40-libinput.conf. See details: askubuntu.com/a/1283546/685777
    – skiss
    Oct 18, 2020 at 4:25
  • Using gsettings to turn it off and on again as described in the linked post did not make the setting persistent between sessions. Oct 21, 2020 at 7: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, 2020 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, 2020 at 22:06
  • 1
    Does this answer your question? 20.04 Natural scrolling not persisting between sessions
    – karel
    Nov 5, 2020 at 9:30

1 Answer 1

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .