You are not logged in.

#1 2009-06-27 19:01:24

matiit
Member
From: Poland
Registered: 2007-04-13
Posts: 141
Website

[acpid] I can't add my own rule

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

Board footer

Powered by FluxBB