Disabling hibernation in PolicyKit

To disable hibernation in PolicyKit, create a file /etc/polkit-1/localauthority/50-local.d/com.zigg.disable-hibernate.pkla with the following contents:

[Disable hibernate by default]
Identity=unix-user:*
Action=org.freedesktop.upower.hibernate
ResultActive=no

Inspired by the enable configuration at How do I hibernate my computer?.


You'll only receive email when they publish something new.

More from Mattie B
All posts