Skip to content

Instantly share code, notes, and snippets.

@eirenik0
Created October 14, 2013 05:12
Show Gist options
  • Save eirenik0/6971075 to your computer and use it in GitHub Desktop.
Save eirenik0/6971075 to your computer and use it in GitHub Desktop.
Enable Hibernate in Ubuntu
To do so on terminal:
gksu gedit /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla
Replace gedit with your favorite editor’s command. This command will open a blank file. Copy and paste these lines:
[Enable Hibernate]
Identity=unix-user:*
Action=org.freedesktop.upower.hibernate
ResultActive=yes
Or wrute in terminal sudo pm-hibernate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment