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?


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!

| improve this answer | |

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