summaryrefslogtreecommitdiff
path: root/extra/xfce4-session/org.freedesktop.consolekit.pkla
diff options
context:
space:
mode:
Diffstat (limited to 'extra/xfce4-session/org.freedesktop.consolekit.pkla')
-rw-r--r--extra/xfce4-session/org.freedesktop.consolekit.pkla31
1 files changed, 31 insertions, 0 deletions
diff --git a/extra/xfce4-session/org.freedesktop.consolekit.pkla b/extra/xfce4-session/org.freedesktop.consolekit.pkla
new file mode 100644
index 000000000..7f1d74ff6
--- /dev/null
+++ b/extra/xfce4-session/org.freedesktop.consolekit.pkla
@@ -0,0 +1,31 @@
+[Local restart]
+#Identity=unix-user: your_username
+Identity=unix-group:power
+Action=org.freedesktop.consolekit.system.restart
+ResultAny=yes
+ResultInactive=no
+ResultActive=yes
+
+[Local shutdown]
+#Identity=unix-user: your_username
+Identity=unix-group:power
+Action=org.freedesktop.consolekit.system.stop
+ResultAny=yes
+ResultInactive=no
+ResultActive=yes
+
+[Local restart - multiple]
+#Identity=unix-user: your_username
+Identity=unix-group:power
+Action=org.freedesktop.consolekit.system.restart-multiple-users
+ResultAny=yes
+ResultInactive=no
+ResultActive=yes
+
+[Local shutdown - multiple]
+#Identity=unix-user: your_username
+Identity=unix-group:power
+Action=org.freedesktop.consolekit.system.stop-multiple-users
+ResultAny=yes
+ResultInactive=no
+ResultActive=yes