Re: How to hibernate from the command line without typing password
On Sun, 6 Dec 2009 14:57:21 +0000
chombee <email@example.com> wrote:
> Gnome desktop. You can send a signal via dbus asking for the computer to
> be hibernated with the following command:
> dbus-send --session --dest=org.freedesktop.PowerManagement --type=method_call /org/freedesktop/PowerManagement org.freedesktop.PowerM anagement.Hibernate
> I also saved the command as an executable script called 'hibernate' so
> that I can hibernate from the command line by just typing hibernate.
I don't recall the earlier thread, but what's wrong with the
'hibernate' command from the 'acpi-support' package, or 's2disk' from
the 'usswsusp' package?
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator