-
-
Save allenguarnes/f309c26642b7ad506c77d5eb8897e052 to your computer and use it in GitHub Desktop.
Leafpad and PCManFM Policy Files (Lubuntu 18.04)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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> | |
<action id="com.ubuntu.pkexec.leafpad"> | |
<message gettext-domain="gparted">Authentication is required to run Leafpad as root.</message> | |
<icon_name>system-run</icon_name> | |
<defaults> | |
<allow_any>auth_admin_keep</allow_any> | |
<allow_inactive>auth_admin_keep</allow_inactive> | |
<allow_active>auth_admin_keep</allow_active> | |
</defaults> | |
<annotate key="org.freedesktop.policykit.exec.path">/usr/bin/leafpad</annotate> | |
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate> | |
</action> | |
</policyconfig> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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> | |
<action id="com.ubuntu.pkexec.pcmanfm"> | |
<message gettext-domain="gparted">Authentication is required to run PCManFM as root.</message> | |
<icon_name>system-run</icon_name> | |
<defaults> | |
<allow_any>auth_admin_keep</allow_any> | |
<allow_inactive>auth_admin_keep</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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment