In Ubuntu 12.04 and newer, hibernation has been disabled by default in policykit. How can I enable this back?
You can follow official documentation here.
Before enabling hibernation, please try to test whether it works correctly by running
To do so, start editing
Fill it with this
Save by pressing Ctrl-O and exit nano by pressing Ctrl-X
Restart and hibernation is back!
Some users will then need to run
|show 5 more comments|
Additionally, for those who want to disable the suspend button (for various reasons), proceed analogously...
Choose any file name, but this is one is verbose/convention:
Fill it with this:
Ctrl+o, enter, Ctrl+x
No need to restart, it should be gone as soon as you go into the shutdown menu.
If it really works, add the file with path:
Add the following to the file and save:
One more thing:
When you want to add the hibernation option to XFCE's panel, you have to right-click your name (topright) and select
After that a screen pops up:
Make sure, you check Hibernate like I did.
protected by Community♦ Apr 29 '12 at 10:22
This question is protected to prevent "thanks!", "me too!", or spam answers by new users. To answer it, you must have earned at least 10 reputation on this site.