Pkexec
List of applications that will need policy files for pkexec
Application |
Status |
Thunar |
DONE |
xfce4-terminal |
DONE |
mousepad |
DONE |
Thunar
<?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.thunar">
<message gettext-domain="thunar">Authentication is required to run thunar as root</message> <icon_name>system-file-manager</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/thunar</annotate> <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action>
</policyconfig>
Mousepad <?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.mousepad">
<message gettext-domain="mousepad">Authentication is required to run mousepad as root</message> <icon_name>Text Editor</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>
xfce4-terminal <?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>xfce4-terminal</vendor> <vendor_url>xfce4-terminal</vendor_url> <icon_name>terminal</icon_name> <action id="org.freedesktop.policykit.pkexec.xfce4-terminal">
<description>Run "xfce4-terminal"</description> <message>Authentication is required to run xfce4-terminal</message> <defaults>
<allow_any>auth_admin</allow_any> <allow_inactive>auth_admin</allow_inactive> <allow_active>auth_admin</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">/usr/bin/xfce4-terminal</annotate> <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action>
</policyconfig>