2

I'm aware of this post: How can I suspend/hibernate from command line?

however, the recommended method using dbus doesn't work with Gnome Shell 3.14.0.

What is the now recommended approach for suspending from the command line?

(I use Ubuntu 14.10 beta and the gnome-team ppa)

fmic_
  • 188
  • 1
  • 6

1 Answers1

6

Thanks for the pointer @muru.

The correct command is:

dbus-send --system --print-reply \
  --dest="org.freedesktop.login1" \
  /org/freedesktop/login1 \
  org.freedesktop.login1.Manager.Suspend boolean:true
fmic_
  • 188
  • 1
  • 6