I recently got an Asus EEEpc 1005ha and am in the process of outfitting it with slackware 13.0. I have been trying to setup the Fn + F1-12 hotkeys, but one is not working when it should. I successfully setup the volume hotkeys, so I know that the process I am using should work. The hotkey is to disable the mouse. I stumbled upon acpi_listener, so I was able to find the right code for the hotkey and I have a shell script that does disable the mouse when run. The problem is that the event script doesn't seem to activate the action script.
These are the event and action script that should work:
event=hotkey ATKD 00000037
# Toggle tochpad disabled
GET_STATE="`synclient -l | grep Guest`"
OFF_STATE=" GuestMouseOff = 1"
ON_STATE=" GuestMouseOff = 0"
if [ "$GET_STATE" = "$ON_STATE" ]
When run by itself, the script is succesful in stopping the mouse. The output of acpi_listen for the button is: hotkey ATKD 00000037.
The scripts that do work are:
event=hotkey ATKD 00000015
amixer -q set Master 5%+
From the scripts I can't see what I have done wrong, as the non-working script seems identical to the working script.
Thanks in advance.