Tuesday, April 28, 2009

Ubuntu hibernate suspend

Some commands to hibernate/suspend, tested on Ubuntu Hardy (8.04). Note that the effects of these command on laptop and desktop may be different with the same version of Ubuntu.


pmi action hibernate

pmi action suspend


pm-hibernate

pm-suspend


/etc/acpi/sleep.sh

/etc/acpi/hibernate.sh


/usr/lib/hal/scripts/linux/hal-system-power-hibernate-linux

/usr/lib/hal/scripts/linux/hal-system-power-suspend-linux



BONUS:

gnome-screensaver-command --lock

sudo apt-get install uswsusp && sudo s2ram --force

sudo apt-get install uswsusp && sudo s2disk

No comments: