安装Ubuntu 12.04后的几个问题-老麦-搜狐博客

三,没有休眠(hibernate)选项

ubuntu 12.04 因为某些程序的bug,所以禁用的hibernate选项。


 

First, test hibernation works on yoursystem by running command:

 

sudo pm-hibernate

 

If everything is fine,you can continue to use this command to hibernate your system.


To get started, press Ctrl – Alt – Ton your keyboard to open Terminal. When it opens, run the commandsbelow to create a hibernate policy file.

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

Then copy and paste the lines below into the file and save it.

[Re-enable Hibernate]
Identity=unix-user:*
Action=org.freedesktop.upower.hibernate
ResultActive=yes
Restart your computer and you should see it.