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)

  • See this answer in that question: askubuntu.com/a/508164/158442
    – muru
    Oct 13, 2014 at 20:12
  • As OP indicates this does not work for him. I personally use sudo pm-suspend.
    – MrHug
    Oct 13, 2014 at 20:19
  • Software in a team PPA is not part of a release and is not supported as such. Oct 13, 2014 at 22:09
  • @StephenMichaelKellat "Questions that you may ask: ....Running third-party applications on Ubuntu." This doesn't guarantee every possible question about such software is considered on-topic, but if you think this question is beyond the scope of Ask Ubuntu, I recommend explaining specifically why, in accordance with existing site policies. (In particular, this might be considered to go against our policy of generally prohibiting questions about problems with alpha and beta versions of Ubuntu, though there's some flexibility this close to the release date.) Oct 15, 2014 at 22:56

1 Answer 1


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
  • Obv, replace Suspend with Hibernate to hibernate.
    – tigerjack
    Jun 16, 2017 at 11:51

Not the answer you're looking for? Browse other questions tagged .