summaryrefslogtreecommitdiff
path: root/org.mate.mate-system-monitor.policy.in.in
blob: 48fe482e1115114c5e1605a1de120e18b5cc484b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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>https://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>