Enable Hibernate in Ubuntu 14.04 in System Tray

by Sasikumar 2014-11-21 16:15:40

How to Enable Hibernate in Ubuntu 14.04 in System Tray Menu:

Hibernate is disabled by default in both upower and logind in unbuntu 14.04.

To enable hibernate, run the commands and edit the config file :

sudo -i

cd /var/lib/polkit-1/localauthority/50-local.d/

gedit com.ubuntu.enable-hibernate.pkla

Note: if the config file does not open for you, try changing /var/lib to /etc in the code for looking at alternate file path.
Copy and paste below lines into the file and save it:

[Re-enable hibernate by default in upower]
Identity=unix-user:*
Action=org.freedesktop.upower.hibernate
ResultActive=yes

[Re-enable hibernate by default in logind]
Identity=unix-user:*
Action=org.freedesktop.login1.hibernate
ResultActive=yes

Restart your computer and your done.
Now Hibernate option is available in System Tray.
laughyes

1256
like
0
dislike
0
mail
flag

You must LOGIN to add comments