How to Enable Hibernate Option on Ubuntu

July 1, 2013

Hibernate-in-shutdown-menu

The hibernate option has been dropped from Ubuntu’s shutdown menu since 12.04 Precise. You can re-enable this feature by following the steps below. Tested on Ubuntu 13.04 Raring, 12.10 Quantal, and 12.04 Precise.

1.) Open a terminal window for running commands. To do it, press Ctrl+Alt+T.

2.) Copy and paste this command into terminal and hit run to create the hibernate configuration file:

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

3.) Copy and paste following lines into the file and save.

[Enable Hibernate]
Identity=unix-user:*
Action=org.freedesktop.upower.hibernate
ResultActive=yes

Enable-hibernate-ubuntu

Now restart your computer.

Enjoy!

I'm a freelance blogger who started using Ubuntu 5+ years ago and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me on Google Plus or email to ubuntuhandbook1@gmail.com