Linux.com

Suspend assumes gnome/kde is running

Posted by: Anonymous Coward on August 11, 2006 03:37 AM
Pressing the suspend-key will call<nobr> <wbr></nobr>/etc/acpi/sleebtn.sh, which uses acpi_fakekey to generate an event on<nobr> <wbr></nobr>/dev/input/event*, which is received by gnome-power-manager or similar applications.

To get suspend to work without gnome-power-manager,
replace the acpi_fakekey line in sleepbtn.sh with the line:<nobr> <wbr></nobr>/etc/acpi/sleep.sh sleep

#

Return to Put your laptop to sleep