4

Something I usually do after installing Ubuntu is reactivate the hibernation function. I find it quite useful to function for the more energy concious.

Typically, I'd complete the instructions in this tutorial for Ubuntu 12.04 and I'd be back in business. However, it does seem to work any more. Any suggestions?

http://www.howtogeek.com/113923/how-to-re-enable-hibernate-in-ubuntu-12.04/

sudo gedit /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla

[Enable Hibernate]
Identity=unix-user:*
Action=org.freedesktop.upower.hibernate
ResultActive=yes
Braiam
  • 69,112

3 Answers3

3

I've found the solution, https://askubuntu.com/a/362499/193491. I've paraphrased the solution below:

sudo gedit /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla

Paste the following and save the file.

[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 the machine. The run sudo killall indicator-session-service once you've entered a new session, and then you'll have your hibernate functionality back.

1

seems there is possibly no need for this in 13.10 [as was not the case in 12.04.12.10.13.04]

sudo pm-hibernate

works straight off on a clean install

installing qshutdown is also of great help as a gui to use hibernate on timer

shantiq
  • 607
0

you can try the way explained in this link , it may work : http://ubuntuhandbook.org/index.php/2013/10/enable-hibernation-ubuntu-13-10/

HOS
  • 192