Topic: Toggle synaptics touchpad
I was searching for a way to toggle my touchpad on and off...
I found this thread, which didn't solve it for me...
http://crunchbanglinux.org/forums/topic
-touchpad/
So i made a small script toggletouchpad.sh
#!/bin/bash
if [ $(synclient -l | grep TouchpadOff | awk '{print $3}') == 1 ] ; then
synclient touchpadoff=0;
else
synclient touchpadoff=1;
fiIn rc.xml i assigned the program to Winkey-p:
<keybind key="W-p">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>toggletouchpad</name>
</startupnotify>
<command>toggletouchpad.sh</command>
</action>
</keybind>If there's a better way to do this, please let me know...
Tuna