WORDS BY Mariano Cecowski
So you installed Ubuntu or any other distribution, and don't have two finger scroll and middle click? Here's a quick-and-dirt solution.
First create a
touchpad.sh script with the following text:
#!/bin/bash synclient LockedDrags=false synclient VertEdgeScroll=true synclient HorizEdgeScroll=false synclient TapButton1=1 synclient LTCornerButton=2 synclient MaxDoubleTapTime=120 synclient TapButton2=2 synclient TapButton3=3 synclient EmulateTwoFingerMinZ=20 synclient EmulateTwoFingerMinW=5 synclient AreaBottomEdge=4200 # comment the following 4 lines if you don't want two finger scroll support synclient VertTwoFingerScroll=1 synclient HorizTwoFingerScroll=1 synclient EmulateTwoFingerMinW=5 synclient EmulateTwoFingerMinZ=48
make it executable
$ chmod +x touchpad.sh
and after you run it you'll have two-finger gestures working:
To avoid having to run the script every time you boot, add it to the startup applications at System/Preferences/Startup Applications, and voilà.