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?

  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

  • This is still relevant in 11.10. Thanks so much – user6658 Nov 6 '11 at 4:42

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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