summaryrefslogtreecommitdiffstats
path: root/usr/share/polkit-1/actions/com.ubuntu.pkexec.mousepad.policy.in
diff options
context:
space:
mode:
Diffstat (limited to 'usr/share/polkit-1/actions/com.ubuntu.pkexec.mousepad.policy.in')
-rw-r--r--usr/share/polkit-1/actions/com.ubuntu.pkexec.mousepad.policy.in22
1 files changed, 22 insertions, 0 deletions
diff --git a/usr/share/polkit-1/actions/com.ubuntu.pkexec.mousepad.policy.in b/usr/share/polkit-1/actions/com.ubuntu.pkexec.mousepad.policy.in
new file mode 100644
index 0000000..fd6d90e
--- /dev/null
+++ b/usr/share/polkit-1/actions/com.ubuntu.pkexec.mousepad.policy.in
@@ -0,0 +1,22 @@
+<?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/policyconfig.dtd">
+<policyconfig>
+
+ <vendor>Xubuntu Developers</vendor>
+ <vendor_url>http://www.xubuntu.org/</vendor_url>
+
+ <action id="com.ubuntu.pkexec.mousepad">
+ <_message>Authentication is required to run mousepad as root</_message>
+ <icon_name>mousepad</icon_name>
+ <defaults>
+ <allow_any>no</allow_any>
+ <allow_inactive>no</allow_inactive>
+ <allow_active>auth_admin</allow_active>
+ </defaults>
+ <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/mousepad</annotate>
+ <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
+ </action>
+
+</policyconfig> \ No newline at end of file