Everyone loves the inverted, physics-sensitive scrolling of Macs, so why can’t Linux have that? It’s pretty simple to set up in Linux (I did this in Linux Mint 14, but it should work for Ubuntu, etc as well). Below is the script:
#!/bin/sh # inverted x+y scrolling for the touch pad xinput set-button-map 13 1 2 3 5 4 7 6 # two finger scrolling synclient VertTwoFingerScroll=1 synclient HorizTwoFingerScroll=1 synclient EmulateTwoFingerMinW=5 synclient EmulateTwoFingerMinZ=48
You will need to edit the xinput line. Run xinput list and find the id of the device you want to have inverted scrolling (in my case, the touchpad, which had id 13). Then test the device with xinput test <id>
#!/bin/sh # Setup # to find which device xinput list # to find out which buttons to reverse mapping xinput test <id> # For example xinput test 13
Scroll up and down while the test command is running to find which button id your scrolling is. For me it was 4 and 5 for vertical and 6 and 7 for horizontal. Reverse these numbers in the xinput set-button-map 13 1 2 3 4 5 6 7.