Skip to content

Instantly share code, notes, and snippets.

@michaeldeboeve
Last active April 16, 2018 20:20
Show Gist options
  • Save michaeldeboeve/286b303da7ccca566a742f15f39b9aac to your computer and use it in GitHub Desktop.
Save michaeldeboeve/286b303da7ccca566a742f15f39b9aac to your computer and use it in GitHub Desktop.
Disable/Restore Hibernation on Linux Mint
# Disable
# With that, you've moved the settings file that enables hibernation, to the main directory / (root). Thus rendering it ineffective. The new location is a safe storage, from which you can retrieve it again, should you ever wish to restore hibernation.
sudo mv -v /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla /
# Restore
sudo mv -v /com.ubuntu.enable-hibernate.pkla /etc/polkit-1/localauthority/50-local.d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment