Add .policy and .desktop

pull/1/head
Dmitry Razumov 4 weeks ago
parent a995c839b8
commit d2a60274b0
Signed by untrusted user: asmeron
GPG Key ID: 50BC1DB583B79706

@ -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>UBLinux</vendor>
<vendor_url>https://ublinux.ru</vendor_url>
<action id="com.ublinux.ubl-settings-usergroups.run">
<description>Run user and group settings as root</description>
<description xml:lang="ru">Запуск настроек пользователей и групп от имени root</description>
<message>Authentication is required to run user and group settings as root</message>
<message xml:lang="ru">Требуется аутентификация для запуска настроек пользователя и группы от имени пользователя root</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/ubl-settings-usergroups</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action>
</policyconfig>

@ -0,0 +1,19 @@
[Desktop Entry]
Encoding=UTF-8
Name=Users and groups
Name[ru]=Пользователи и группы
GenericName=Users and groups
GenericName[ru]=Пользователи и группы
Comment=System user and group settings
Comment[ru]=Настройка пользователей и групп системы
Keywords=ubl-settings-usergroups;users;groups;sync;
Keywords[ru]=ubl-settings-usergroups;пользователи;группы;синхронизация;
Type=Application
Exec=ubl-settings-usergroups
Icon=com.ublinux.ubl-settings-usergroups
Terminal=false
StartupNotify=true
StartupWMClass=ubl-settings-bootloader
X-XfcePluggable=true
X-UBLPluggable=true
Categories=XFCE;GTK;Settings;SystemSettings;X-XFCE-SettingsDialog;X-XFCE-SystemSettings;X-UBL-SettingsManager;X-UBL-SystemSettings;
Loading…
Cancel
Save