On Tue, 2006-03-28 at 03:48 +0100, Leon wrote:
> For command line use 'pm-suspend'; it doesn't
require root if (and only
> if) you are logged in at the console.
>
> David
Thanks a lot, David.
If you are in a session, and want gnome-power-manager do do fancy things
for you (like disconnect and reconnect NetworkManager, and lock the
screen, etc) you can do:
dbus-send --session \
--dest=org.gnome.PowerManager \
--type=method_call \
--print-reply \
--reply-timeout=2000 \
/org/gnome/PowerManager \
org.gnome.PowerManager.Suspend
But maybe pm-suspend will do everything you need to do.
Richard.