Simply Way to Enable Hibernate Feature in Ubuntu Precise

SHARE :Share on Google+5Share on Facebook1Tweet about this on Twitter10Share on StumbleUpon0Pin on Pinterest0Share on Reddit0Share on LinkedIn2

hibernate ubuntu 12.04If you have installed Ubuntu 12.04 LTS or upgrade earlier versions of ubuntu to Ubuntu 12.04 LTS, one thing that you will find missing in ubuntu precise is Hibernate feature.

For those of you who are not aware or don’t use this feature at all, the Hibernate button usually lies above the Shutdown option and it allows you to save your current state to the hard drive so the next time you boot up, it can restore to the previous saved state without going through the usual boot up loop.

The reason Hibernate feature is disabled by default in Ubuntu 12.04 LTS is because Ubuntu’s Hibernate feature has always not been working well in many computers. For new hardware models, the Hibernate feature often don’t work by default. In some instances, the Hibernate feature will even lead to data loss.

How to Enable Hibernate feature In Ubuntu 12.04?

Currently, the Hibernate feature is only available in the “Power -> When power is critically low” settings. You can get your laptop to go into Hibernate mode when your batter power is critically low.

To ensure your Laptop/PC that installed Ubuntu 12.04 LTS supports the Hibernate feature, you can open a terminal then type command:

sudo pm-hibernate

If your PC/Laptops succeed in going to Hibernate mode and you have no problem waking it up, your PC supports the Hibernate feature. You can then proceed to the next step to enable the Hibernate option.

To enable the Hibernate option open gedit by press ALT+F2 then type:

gksu gedit

Now, open file com.ubuntu.desktop.pkla , this file placed in directory /etc/polkit-1/localauthority/50-local.d/
Add the following:

[Re-enable hibernate by default]

then Save.

If the file com.ubuntu.desktop.pkla not yet available in directory /etc/polkit-1/localauthority/50-local.d/ you can create manualy via terminal

sudo touch /etc/polkit-1/localauthority/50-local.d/com.ubuntu.desktop.pkla
sudo nano  /etc/polkit-1/localauthority/50-local.d/com.ubuntu.desktop.pkla

then Add the following statement:

[Re-enable hibernate by default]

to save: Ctrl + O, to exit : Ctrl + X

Restart your laptop / PC. now, the hibernate feature is enable on your Ubuntu PC

You may also like...

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.