18.04 broke natural scrolling

So after re-installing the Synaptics driver I took another look at my settings and now I feel really stupid. I figured it out.

enter image description here

I don't recall there being separate options in 16.04 for "mouse" and "touchpad", or if there were then I properly set my mouse up so long ago, that when I updated to 18.04 (and it reverted my touchpad settings) I had completely forgotten.

Toggling the appropriate setting worked as expected


Regarding the horizontal scrolling discrepancy, for those who want to keep natural scrolling on, there is a fix in this question: Inverted Horizontal scrolling ubuntu 18.04

Specifically I used this script and an .xsessionrc in home directory to run the script at startup.

export id=`xinput list | grep -i touchpad | awk -F"=" '{ print $2 }' | awk '{ print $1 }'`
xinput list-props "${id}" | grep "Synaptics Scrolling Distance" | sed 's/[^0-9 \t-]//g' | while read a b c;
do
 echo "${a} ${b} $((${c}*-1))";
 xinput set-prop "${id}" "${a}" "${b}" "$((${c}*-1))"
done

Running these two commands in the terminal worked for me:

gsettings set org.gnome.desktop.peripherals.mouse natural-scroll false
gsettings set org.gnome.desktop.peripherals.touchpad natural-scroll false

I hope it helps, and if this is not what you are looking for, you can roll back the changes by entering:

gsettings set org.gnome.desktop.peripherals.mouse natural-scroll true
gsettings set org.gnome.desktop.peripherals.touchpad natural-scroll true

My personal favorite is:

gsettings set org.gnome.desktop.peripherals.mouse natural-scroll false
gsettings set org.gnome.desktop.peripherals.touchpad natural-scroll true