Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

There used to be a way to disable Hibernate from gconf-editor: apps -> gnome-power-manager -> can_hibernate. unticking "can_hibernate" would even remove the hibernate button from the shutdown menu.

This gconf option appears to no longer be present. Is there another way to disable hibernate and simultaneously remove the Hibernate button from the shutdown menu?

share|improve this question
  1. Open a terminal and run the following command:

    gksu gedit /usr/share/polkit-1/actions/org.freedesktop.upower.policy

    This opens up /usr/share/polkit-1/actions/org.freedesktop.upower.policy for editing.

  2. In the org.freedesktop.upower.hibernate section, changed the the line <allow_active>yes</allow_active> to <allow_active>no</allow_active>:

    enter image description here

  3. Restart indicator-session-service so for the change to take effect:

    killall indicator-session-service 

That's it, there should no longer be a Hibernate item in the session menu.

enter image description here

share|improve this answer
This is still relevant in 11.10. Thanks so much – user6658 Nov 6 '11 at 4:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.