diff options
Diffstat (limited to 'org.mate.mate-system-monitor.policy.in.in')
-rw-r--r-- | org.mate.mate-system-monitor.policy.in.in | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/org.mate.mate-system-monitor.policy.in.in b/org.mate.mate-system-monitor.policy.in.in new file mode 100644 index 0000000..9ae5904 --- /dev/null +++ b/org.mate.mate-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>MATE Desktop</vendor> + <vendor_url>http://www.mate-desktop.org/</vendor_url> + <icon_name>utilities-system-monitor</icon_name> + + <action id="org.mate.mate-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@/msm-kill</annotate> + </action> + + <action id="org.mate.mate-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@/msm-renice</annotate> + </action> + +</policyconfig> |