Choose style:

Author Topic: How to enable Hibernation in Peppermint Five/Six  (Read 3419 times)

0 Members and 1 Guest are viewing this topic.

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4808
  • Karma: 1013
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 8 Respin-2 (64-bit)
How to enable Hibernation in Peppermint Five/Six
« on: September 24, 2014, 03:27:49 am »
Ubuntu for some reason have decided to deactivate the Hibernation feature in 14.04.  This has left many people vexed and confused because it still appears to be available in the the Logout screen and the panel drop down menu.  The instructions below will reactivate your Hibernation feature.

For this to work, you will need to have an adequate "swap" space.  The rule of thumb is x2 your RAM.  In reality, you more than likely won't need anything larger than 8GB.  Some may argue that even this is too large.

How to enable the Hibernate option

Open a terminal window with the keystrokes: Ctrl+Alt+t

TipLinux is case sensitive.  To reduce the possibility of typographical errors please use the Code: [Select] function below to highlight the contents. Click on the centre mouse button while in the terminal window to paste the contents.

Enter the following command
Code: [Select]
sudo pm-hibernate
Press enter.  You will be asked for your user password.  Enter this and press enter.

Note: For enhanced security, passwords are entered invisibly.  There will be NO indication that a password has been entered.  You have three attempts before you have to re-enter the original command.


This command will hibernate your system.  If it doesn't, recheck your swap partition size.  Turn on your computer.

To fully enable the Hibernate option

Open a terminal window with the keystrokes: Ctrl+Alt+t and enter the following command to create an empty file:
Code: [Select]
gksudo gedit /var/lib/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla
Press enter.  A dialog box will open asking you for your user password.  Enter this and press: Ok.

Copy and Paste the following into the new empty file.

Code: [Select]
[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
Save and close the file either from the drop down menu or, enter the following keystrokes: Ctrl+s+q.

Reboot your system.  The Hibernation feature should now be fully activated.
« Last Edit: September 16, 2015, 07:47:05 am by AndyInMokum, Reason: Additional information »
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25502
  • Karma: 2808
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: How to enable Hibernation in Peppermint Five
« Reply #1 on: September 24, 2014, 12:57:20 pm »
Nice job Andy .. cheers :)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline VinDSL

  • Global Moderator
  • Hero
  • *****
  • Posts: 5262
  • Karma: 942
  • Peppermint Mod
    • View Profile
  • Peppermint version(s): Developmental Builds
Re: How to enable Hibernation in Peppermint Five
« Reply #2 on: September 24, 2014, 06:41:08 pm »
Sweet!