#!/bin/sh
if [ $# != 1 ]
then
echo nothing
else
if [ $1 = "TouchpadOff=0" ]
then
xinput --set-prop "ImPS/2 ALPS GlidePoint" "Device Enabled" 1
fi
if [ $1 = "TouchpadOff=2" ]
then
xinput --set-prop "ImPS/2 ALPS GlidePoint" "Device Enabled" 0
fi
fi
Change depening on what your xlist says
This works by touchfreeze calls synclient to disable touchpad. Synclient isn't working because you don't have a synaptics touchpad...