--- /dev/null
+#!/bin/sh
+
+. /usr/local/bin/getXenv.inc
+
+if (synclient -l | grep TouchpadOff | grep -q 0) ; then
+ echo "touchpad on, turning it off"
+ su $user -c "synclient TouchpadOff=1"
+else
+ echo "touchpad off, turning it on"
+ su $user -c "synclient TouchpadOff=0"
+fi
+
+