Add .policy and .desktop

pull/23/head
Dmitry Razumov 1 month ago
parent 0b6ce10362
commit e4dc6ad21e
Signed by: 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-video.run">
<description>Run video adapter and display settings as root</description>
<description xml:lang="ru">Запустить настройки видеоадаптера и дисплея от имени пользователя root</description>
<message>Authentication is required to run the video adapter and display 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-video</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=Video adapter and display
Name[ru]=Видеоадаптер и дисплей
GenericName=Video adapter and display
GenericName[ru]==Видеоадаптер и дисплей
Comment=Video adapter and display settings
Comment[ru]=Настройки видеоадаптера и дисплея
Keywords=ubl-settings-video;video;display;settings;screen;resolution;refresh;rate;rotation;external;projectors;monitors;LCD;CRT;HiDPI;
Keywords[ru]=ubl-settings-video;видео;дисплей;настройки;экран;разрешение;обновление;частота;поворот;внешний;проекторы;мониторы;LCD;CRT;HiDPI;
Type=Application
Exec=ubl-settings-video
Icon=com.ublinux.ubl-settings-video
Terminal=false
StartupNotify=true
StartupWMClass=ubl-settings-video
X-XfcePluggable=true
X-UBLPluggable=true
Categories=XFCE;GTK;Settings;DesktopSettings;X-XFCE-SettingsDialog;X-XFCE-HardwareSettings;X-UBL-SettingsManager;X-UBL-HardwareSettings;
Loading…
Cancel
Save