I tried do this. My asus-toushpad.sh looked like this:
Code:
#!/bin/sh
[ -f /usr/share/acpi-support/state-funcs ] || exit 0
. /usr/share/acpi-support/power-funcs
if (! test -x /usr/bin/xinput)
then
logger "Error: Please install package xinput to enable toggling of touchpad devices."
exit 0
fi
# if this is the right behavior, then this should be moved out of acpi-support
# to hal (or whatever is replacing hal for such events)
getXconsole
XINPUTNUM=`xinput list | grep 'ETPS/2 Elantech Touchpad' | sed -n -e's/.*id=\([0-9]\+\).*/\1/p'`
[ -f /usr/share/acpi-support/state-funcs ] || exit 0
# get the current state of the touchpad
TPSTATUS=`xinput list-props $XINPUTNUM | awk '/Synaptics Off/ { print $NF }'`
# if getting the status failed, exit
test -z $TPSTATUS && exit 1
if [ $TPSTATUS = 0 ]; then
sinp=`ps -A|grep syndaemon| awk '{print$1}'`
xinput set-int-prop $XINPUTNUM "Synaptics Off" 8 1
kill $sinp
if [ -e /sys/class/leds/asus::touchpad/brightness ]; then
echo 0 > /sys/class/leds/asus::touchpad/brightness
fi
else
xinput set-int-prop $XINPUTNUM "Synaptics Off" 8 0
syndaemon -i 1 -d
if [ -e /sys/class/leds/asus::touchpad/brightness ]; then
echo 1 > /sys/class/leds/asus::touchpad/brightness
fi
fi
and now i changed it to original with replace line 10.
Nothing chanched. By Fn+F9 is no reaction.
add
Thanks for help =)
on forum.ubuntu.ru found fix
in gconf-editor change /apps/gnome_settings_daemon/keybindings/touchpad on XF86Tools
Bookmarks