Skip to content

Instantly share code, notes, and snippets.

@imabuddha
Forked from eli9000/bookworm.md
Last active December 8, 2020 08:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save imabuddha/e1a7d129018f3c6c6d52ceeaa0270b9d to your computer and use it in GitHub Desktop.
Save imabuddha/e1a7d129018f3c6c6d52ceeaa0270b9d to your computer and use it in GitHub Desktop.
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!

Cheers

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