Add .policy and .desktop

pull/1/head
Dmitry Razumov 4 weeks ago
parent 9161601543
commit c3b74d0301
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-kernel.run">
<description>Run kernel settings as root</description>
<description xml:lang="ru">Запустить настройки ядра от имени пользователя root</description>
<message>Authentication is required to run the kernel 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-kernel</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action>
</policyconfig>

@ -0,0 +1,20 @@
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=System kernel
Name[ru]=Ядро системы
GenericName=System kernel
GenericName[ru]=Ядро системы
Comment=Downloading and installing the system kernel, selecting the default kernel to boot
Comment[ru]=Загрузка и установка ядра системы, выбор ядра для загрузки по умолчанию
Keywords=ubl-settings-kernel;settings;kernel;
Keywords[ru]=ubl-settings-kernel;настройки;ядро;
Type=Application
Exec=ubl-settings-kernel
Icon=com.ublinux.ubl-settings-kernel
Terminal=false
StartupNotify=true
StartupWMClass=ubl-settings-kernel
X-XfcePluggable=true
X-UBLPluggable=true
Categories=XFCE;GTK;Settings;DesktopSettings;X-XFCE-SettingsDialog;X-XFCE-SystemSettings;X-UBL-SettingsManager;X-UBL-SystemSettings;
Loading…
Cancel
Save