How to suspend in Ubuntu

You can suspend your notebook running Ubuntu by clicking the Gear icon and choosing Suspend. If you want to suspend from the shell, then the relevant command as described here is:

dbus-send --system --print-reply --dest=org.freedesktop.login1 /org/freedesktop/login1 "org.freedesktop.login1.Manager.Suspend" boolean:true

If you use this frequently, then you can turn it into a script or create a keyboard shortcut for it.

Note: The other methods suggested on the web which use the powermanagement-interface did not work for me on Ubuntu 14.04.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s