All pastes #2107260 Raw Edit

Stuff

public text v1 · immutable
#2107260 ·published 2012-01-29 06:41 UTC
rendered paste body
# /etc/acpi/events/hp-mute

event=button/mute HKEY 00000080 00000000
action=/etc/acpi/hpmute.sh

-----------------------------------------------------------
/* /etc/acpi/hpmute.sh */
-----------------------------------------------------------
#!/bin/sh

test -f /usr/share/acpi-support/key-constants || exit 0

. /usr/share/acpi-support/key-constants
acpi_fakekey $KEY_MUTE


-----------------------------------------------------------
ps ax | grep acpid
-----------------------------------------------------------

 1062 ?        Ss     0:00 /usr/sbin/acpid
 1231 ?        S      0:00 hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
 2230 ?        Ss     0:00 acpid
 2232 pts/0    S+     0:00 grep acpid