diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:59:44 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:59:44 +0000 |
commit | fb31765cbe33890f325a87015507364156741321 (patch) | |
tree | 0c5cd12aee0a0a6a6e2d542520df5846859bd40d /org.gnome.gnome-system-monitor.policy.in.in | |
parent | Initial commit. (diff) | |
download | gnome-system-monitor-upstream/42.0.tar.xz gnome-system-monitor-upstream/42.0.zip |
Adding upstream version 42.0.upstream/42.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | org.gnome.gnome-system-monitor.policy.in.in | 32 |
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> |