1
0
polkit-default-privs/more-systemd.diff

19 lines
1.1 KiB
Diff
Raw Normal View History

Index: polkit-default-privs-12.3/polkit-default-privs.standard
===================================================================
--- polkit-default-privs-12.3.orig/polkit-default-privs.standard
+++ polkit-default-privs-12.3/polkit-default-privs.standard
@@ -347,6 +347,13 @@ org.freedesktop.login1.inhibit-handle-po
org.freedesktop.login1.inhibit-handle-suspend-key auth_admin_keep
org.freedesktop.login1.inhibit-handle-hibernate-key auth_admin_keep
org.freedesktop.login1.inhibit-handle-lid-switch auth_admin_keep
+# even more
+org.freedesktop.login1.inhibit-delay-shutdown auth_admin_keep
+org.freedesktop.login1.inhibit-delay-sleep auth_admin_keep
+org.freedesktop.login1.inhibit-block-idle auth_admin_keep
+org.freedesktop.login1.suspend auth_admin_keep:auth_admin_keep:yes
+org.freedesktop.login1.suspend-multiple-sessions auth_admin_keep:auth_admin_keep:yes
+org.freedesktop.login1.hibernate auth_admin_keep:auth_admin_keep:yes
# gnome-control-center