How to invert mouse wheel to NaturalScrolling in Linux for Raspberry Pi
UPDATE FOR BULLSEYE
gsettings set org.gnome.desktop.peripherals.mouse natural-scroll true
Thanks @makouski for this 🙌🏻
For OS older than Bullseye do the following:
Via the Terminal, type
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
Once you're finished, write to the file and then exit.
Restart your Pi
Enjoy that natural scrolling goodness!
Works great, thanks!