Comment 3 for bug 1165266

Revision history for this message
pqwoerituytrueiwoq (pqwoerituytrueiwoq) wrote :

i just wrote a script for toggling the touch pad
$~ cat /usr/local/bin/toggleTouchPad
#!/bin/sh
status=$(synclient -l | grep TouchpadOff | awk '{print $3}')
if [ $status -eq 1 ];then
 # 0 allows edge scrolling; 2 does not allow edge scrolling; 1 is disabled
 status=0
else
 status=1
fi
synclient TouchpadOff=$status
exit