Skip to content

Instantly share code, notes, and snippets.

@Lantizia
Lantizia / com.ubuntu.enable-hibernate.pkla
Created September 11, 2018 13:49 — forked from xsnpdngv/com.ubuntu.enable-hibernate.pkla
Enable hibernate option in Ubuntu: Create or edit under: /etc/polkit-1/localauthority/50-local.d/
[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;org.freedesktop.login1.handle-hibernate-key;org.freedesktop.login1;org.freedesktop.login1.hibernate-multiple-sessions;org.freedesktop.login1.hibernate-ignore-inhibit
ResultActive=yes