2

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?

0

1 Answer 1

2

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]
Identity=unix-user:*
Action=org.freedesktop.upower.hibernate
ResultActive=yes

enter image description here

It will appear in the power menu!

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