[H-GEN] toggling touchpad

Peter Robinson pjr at itee.uq.edu.au
Mon Feb 23 00:39:39 EST 2009


Thanks for the suggestions Russell - here is my (trivial) script

#! /bin/bash
# This script is called from udev rules:
#    if "add" is the arg to the script then the mouse is added
#    if "remove" then removed

if [ $1 = "add" ]; then
        synclient TouchpadOff=1
else
        synclient TouchpadOff=0
fi







More information about the General mailing list