You are not logged in.
Pages: 1
I want to add rule for few of my laptop's hotkeys.
acpi_listen said:
hotkey ATKD 0000001a
It is one of them.
So i've touched 2 files:
/etc/acpi/events/hotkeys
/etc/acpi/actions/hotkeys.sh
event=hotkey.*
action=/etc/acpi/actions/hotkeys.sh %e
#!/bin/bash
SILVER1=0000001a
case "$3" in
"$SILVER1") xset -display :0.0 dpms force off;;
*) logger "error for: $3 ;;
esac
i've added +x for them.
Restarted system, and it doesn't work.
Any ideas?
Last edited by matiit (2009-06-27 19:29:25)
Offline
Pages: 1