summarylogtreecommitdiffstats
path: root/org.tnv.pcmanfmpolk.policy
diff options
context:
space:
mode:
authorElrondo462018-04-22 17:06:14 +0200
committerElrondo462018-04-22 17:06:14 +0200
commiteb3d0d6f400914b45933278e6017078ebccf0a95 (patch)
tree6f409f6fbf4fed32690ed1a15a7a3827ee6bec02 /org.tnv.pcmanfmpolk.policy
downloadaur-eb3d0d6f400914b45933278e6017078ebccf0a95.tar.gz
First Version
Diffstat (limited to 'org.tnv.pcmanfmpolk.policy')
-rw-r--r--org.tnv.pcmanfmpolk.policy24
1 files changed, 24 insertions, 0 deletions
diff --git a/org.tnv.pcmanfmpolk.policy b/org.tnv.pcmanfmpolk.policy
new file mode 100644
index 000000000000..875e506d7260
--- /dev/null
+++ b/org.tnv.pcmanfmpolk.policy
@@ -0,0 +1,24 @@
+<?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>TuxnVape</vendor>
+ <vendor_url>http://www.tuxnvape.fr</vendor_url>
+
+ <action id="org.tnv.pcmanfmpolk.pkexec.run">
+ <description>Run PCManFM in superuser mode</description>
+ <description xml:lang="fr">Lance PCManFM avec les droits root</description>
+ <message>Admin right are required to launch PCManFM in superuser mode</message>
+ <message xml:lang="fr">Les droits d'administration sont nécessaires pour lancer PCManFM en root </message>
+ <icon_name>system-file-manager</icon_name>
+ <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">/usr/bin/pcmanfm</annotate>
+ <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
+ </action>
+</policyconfig>