Skip to content

Instantly share code, notes, and snippets.



Last active Apr 6, 2021
What would you like to do?
Change your Raspberry Pi scrolling to Natural Scrolling (like iOS)

How to invert mouse wheel to NaturalScrolling in Linux for Raspberry Pi

Via the Terminal, type the following

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

Add to following line to the BOTTOM of the FIRST Section "InputClass"

Option "NaturalScrolling" "true"

Here is a visual representation

Nice work braaaaah

Once you're finished, write to the file and then exit.

Restart your Pi

Enjoy that natural scrolling goodness!



This comment has been minimized.

Copy link

@imabuddha imabuddha commented Dec 8, 2020

Works great, thanks! 🙇


This comment has been minimized.

Copy link

@ikjl ikjl commented Apr 6, 2021

Thank you. The screen shot helped me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment