This is how I get natural mouse scrolling in a MATE desktop environment (Parrot OS). It should work with any X11 window manager.
So far, I haven't found a way to permanently configure it. It basically finds any device that seems to have a natural scrolling property and turns it on.
I currently run the script from .bashrc
, and whenever things start going the wrong direction I open a terminal.