summaryrefslogtreecommitdiffstats
path: root/org.gnome.gnome-system-monitor.policy.in.in
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:59:44 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:59:44 +0000
commitfb31765cbe33890f325a87015507364156741321 (patch)
tree0c5cd12aee0a0a6a6e2d542520df5846859bd40d /org.gnome.gnome-system-monitor.policy.in.in
parentInitial commit. (diff)
downloadgnome-system-monitor-fb31765cbe33890f325a87015507364156741321.tar.xz
gnome-system-monitor-fb31765cbe33890f325a87015507364156741321.zip
Adding upstream version 42.0.upstream/42.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'org.gnome.gnome-system-monitor.policy.in.in')
-rw-r--r--org.gnome.gnome-system-monitor.policy.in.in32
1 files changed, 32 insertions, 0 deletions
diff --git a/org.gnome.gnome-system-monitor.policy.in.in b/org.gnome.gnome-system-monitor.policy.in.in
new file mode 100644
index 0000000..d36e1d5
--- /dev/null
+++ b/org.gnome.gnome-system-monitor.policy.in.in
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE policyconfig PUBLIC
+ "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
+<policyconfig>
+ <vendor>The GNOME Project</vendor>
+ <vendor_url>http://www.gnome.org/</vendor_url>
+ <icon_name>org.gnome.SystemMonitor</icon_name>
+
+ <action id="org.gnome.gnome-system-monitor.kill">
+ <description>Kill process</description>
+ <message>Privileges are required to control other users’ processes</message>
+ <defaults>
+ <allow_any>no</allow_any>
+ <allow_inactive>no</allow_inactive>
+ <allow_active>auth_admin_keep</allow_active>
+ </defaults>
+ <annotate key="org.freedesktop.policykit.exec.path">@pkglibexecdir@/gsm-kill</annotate>
+ </action>
+
+ <action id="org.gnome.gnome-system-monitor.renice">
+ <description>Renice process</description>
+ <message>Privileges are required to change the priority of processes</message>
+ <defaults>
+ <allow_any>no</allow_any>
+ <allow_inactive>no</allow_inactive>
+ <allow_active>auth_admin_keep</allow_active>
+ </defaults>
+ <annotate key="org.freedesktop.policykit.exec.path">@pkglibexecdir@/gsm-renice</annotate>
+ </action>
+
+</policyconfig>