Possible Duplicate:
How to enable hibernation in 12.04?

I use Ubuntu 12.04 and don't have the hibernate button anywhere. Isn't there any way by which I can set up the hibernate button rather than running the command: "sudo s2disk" everytime from the terminal?

marked as duplicate by Mitch, Christopher Kyle Horton, Ringtail, stephenmyall, Anwar Sep 14 '12 at 14:46

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


Open Terminal. Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command below.

sudo gedit /var/lib/polkit-1/localauthority/50-local.d/hibernate.pkla

Copy and paste the following code in file:

[Re-enable Hibernate]

enter image description here

It will appear in the power menu!

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