как добавить маршрут в PATH на Slackware? [дубликат]

@mviereck

Intenté crear un archivo de política de polkit para notificar -enviar, con este contenido

<policyconfig>
<action id="org.freedesktop.notify-send">
<description>Launch notify-send command</description>
<message>Authentication is required to run the gedit</message>
<icon_name>accessories-text-editor</icon_name>
<defaults>
    <allow_any>yes</allow_any>
    <allow_inactive>yes</allow_inactive>
    <allow_active>yes</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">/usr/bin/notify-send</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action>

Pongo este archivo en/usr/share/polkit-1/actions/org.freedesktop.policykit.notify-send.policy

Pero, después de presionar el botón de apagado, el menú de apagado tardó mucho en mostrarse y no apareció la notificación

161
22.05.2015, 02:07
0 ответов

Теги

Похожие вопросы