On 2/23/06, Mike Myers <[EMAIL PROTECTED]> wrote:
> Hey Iain,
>
> Thanks for the info! I kinda figured that klaptop did something
> different. It obviously didn't run the hibernate.conf scripts. I guess
> I can settle for running hibernate in the console, I mean, that's better
> than nothing, really. Klaptop and gkrellm at least still give a good
> indication of the battery status. Anyway, I'll start bugging the
> people on the suspend2 lists now about it. thanks a lot!
If you have a standby button on your laptop, you can probably make it
do a standby or hibernate by merging acpid and modifying
/etc/acpi/default.sh.
Personally, my system does a suspend-to-ram when I press the standby
button, and a suspend-to-disk when I press (momentarily) the power
button. My actions for the buttons look like:
power)
if test -f /etc/.acpi_ignore_power; then
rm -f /etc/.acpi_ignore_power
>/dev/null 2>&1
else
touch /etc/.acpi_ignore_power
/usr/sbin/hibernate
fi
;;
sleep) /usr/sbin/hibernate -F
/etc/hibernate/standby.conf
;;
-Richard
--
[email protected] mailing list