touchpad

=ENABLE TWO-FINGER SCROLLING in UBUNTU on the THINKPAD T61 and T400=

If two-finger scrolling does not function correctly in Ubuntu, follow this procedure to force-enable it.
1. Open a terminal (ctrl + alt + t) and launch **gedit** with the following command: code gedit code 2. Paste the following into the new document that is now open: code synclient HorizTwoFingerScroll=1 synclient VertTwoFingerScroll=1 synclient EmulateTwoFingerMinZ=48 synclient EmulateTwoFingerMinW=8 code 4. Save this file as two-finger_scroll.sh in your home folder 5. From the terminal, enter the following command to make the file executable: code sudo chmod +x two-finger_scroll.sh code 6. From the Dash, search for **Startup Applications** and launch it 7. Click the 'Add' button and enter the following: Name: Enable two-finger scrolling Command: /home/[your user name]/two-finger_scroll.sh 8. Click 'Add' 9. From the terminal, enter the following commands to create a trigger that will re-enable two-finger scrolling when the computer wakes from suspend or hibernation: code format="alt2" sudo touch /etc/pm/sleep.d/99-twofinger sudo chmod 755 /etc/pm/sleep.d/99-twofinger sudo gedit /etc/pm/sleep.d/99-twofinger code 10. Paste the following into the new document that is now open, replacing **[your user name]** with your user name (without the brackets): code case "$1" in       thaw|resume)        DISPLAY=:0.0 su `who | grep tty7 | sed 's/\([a-z]*\).*/\1/'` -c '/home/[your user name]/two-finger_scroll.sh'        DISPLAY=:0.0 su `who | grep tty8 | sed 's/\([a-z]*\).*/\1/'` -c '/home/[your user name]/two-finger_scroll.sh'        ;;        *) ;;       esac exit $? code
 * 1) !/bin/bash
 * 2) Enable two-finger scrolling
 * 1) !/bin/sh

11, Click 'Save' 12. Restart your computer and two-finger scrolling should work 13. Some recent versions of Ubuntu may require the following for the script to run correctly at startup: code sudo chmod +777 two-finger_scroll.sh code

Sources: [|http://ubuntuforums.org/showthread.php?p=10220575#post10220575] and [|http://ubuntuforums.org/showthread.php?p=10071212#post10071212]