XPS 13

From stacky wiki

Natural scrolling

Tried installing ubuntu tweak, then doing setting Tweaks > Miscellaneous > Natural Scrolling to "on". Apparently, this simply modifies ~/.Xmodmap to be

pointer = 1 2 3 5 4 6 7 8 9 10 11 12

where the reversed 4 and 5 indicate that up and down scrolling is reversed. However, this doesn't reverse scrolling in nautilus or the package manager. See this bug.

Instead, trying the approach suggested in this comment. Since /etc/X11/xorg.conf.d didn't exist yet, I made it first.

sudo mkdir /etc/X11/xorg.conf.d
sudo cp /usr/share/X11/xorg.conf.d/50-synaptics.conf /etc/X11/xorg.conf.d/
sudo vi /etc/X11/xorg.conf.d/50-synaptics.conf

Then added the following line to the touchpad catchall inputclass:

Option "VertScrollDelta" "-25"

The number 25 was obtained using xipnput as described here. First do

xinput list

to find the id of the Cypress trackpad (in my case it's 12), and then

xinput list-props 12 | grep "Scrolling Distance"

After logout and login, seems to work great!

Windows refund