This tutorial shows how to enable multi-touch on hp dv9000 with ubuntu 12.04 installed. Multi-touch doesn’t work after Ubuntu fresh installation by default, here’s an executable script make it work.

1. Create an empty document and name multitouchenable.sh.

2. Right-click to go into its “Properties” window, and give it executable privilege.

3. Copy and paste following into this file and save it.

#!/bin/bash
sleep 5
xinput set-int-prop “SynPS/2 Synaptics TouchPad” “Two-Finger Scrolling” 8 1
xinput set-int-prop “SynPS/2 Synaptics TouchPad” “Synaptics Two-Finger Scrolling” 8 1 1
xinput set-int-prop “SynPS/2 Synaptics TouchPad” “Synaptics Two-Finger Pressure” 32 10
xinput set-int-prop “SynPS/2 Synaptics TouchPad” “Synaptics Two-Finger Width” 32 8
xinput set-int-prop “SynPS/2 Synaptics TouchPad” “Synaptics Circular Scrolling” 8 1
xinput set-int-prop “SynPS/2 Synaptics TouchPad” “Synaptics Palm Detection” 8 1
xinput set-int-prop “SynPS/2 Synaptics TouchPad” “Synaptics Scrolling Distance” 32 200 200
xinput set-prop –type=float “SynPS/2 Synaptics TouchPad” “Synaptics Circular Scrolling Distance” 0.4
#xinput list-props ‘SynPS/2 Synaptics TouchPad’

4. Launch “Startup Applications” from the dash, click Add to make script auto-run at login. The command is ./PATH-TO-SCRIPT or sh /PATH-TO-SCRIPT

**Do not use just yet! On reboot mouse disables after a bit**

Pressing the touchpad disable hardware button will do just that, but will not enable it upon the second press. Worse yet, it disables clicking and the keyboard. Also an easy fix.

1. Copy the following into a blank gedit document and save it as touchpaddisable.sh
2. Right click on it, choose properties, choose the permissions tab, and check the allow it to execute box.
3. Double-click the icon choose run, and viola! You can both enable and disable with the hardware button!
4. Add this file to the startup programs, and you won’t have to do this again.

#!/bin/bash
if [ `xinput list-props 'SynPS/2 Synaptics TouchPad' | grep 'Synaptics Off' | cut -c23-23` -eq 0 ]
then
xinput set-int-prop “SynPS/2 Synaptics TouchPad” “Synaptics Off” 8 1
else
xinput set-int-prop “SynPS/2 Synaptics TouchPad” “Synaptics Off” 8 0
fi

via Ubuntuforums.org