View Single Post
int_ua's Avatar
Posts: 676 | Thanked: 1,067 times | Joined on Jul 2010 @ Kyiv, Ukraine
#109
Screenlock button quick hack:
add these lines to /etc/acpi/handler.sh :
Code:
    button/screenlock)
        echo -n mem > /sys/power/state
    ;;
It will wake up after pressing Enter.
But it doesn't switch off keyboard leds. PanzerSajt, what were the commands you used for this?

Now trying to make it with a separate /etc/acpi/events/button-screenlock

Also, if you've missed:
Code:
    button/power)
...
        reboot
...

Last edited by int_ua; 2013-02-05 at 02:03.