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?

1 Answers1

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!

Mitch
  • 107,631
Naveen
  • 9,365
  • 11
  • 43
  • 70