Added menu position with Qubes Tools to XFCE Menu

Added a menu directory with Qubes tools (to make them easier to find)
and also adds Qubes tools to XFCE settings manager
This commit is contained in:
Marta Marczykowska-Górecka 2019-05-15 23:19:18 +02:00
parent af555fa9b1
commit d26b693e4f
No known key found for this signature in database
GPG Key ID: 9A752C30B26FD04B
9 changed files with 37 additions and 6 deletions

View File

@ -6,4 +6,4 @@ Terminal=false
Name=Restore Backup Name=Restore Backup
GenericName=Restore Backup GenericName=Restore Backup
StartupNotify=false StartupNotify=false
Categories=System; Categories=Settings;X-XFCE-SettingsDialog

View File

@ -6,4 +6,4 @@ Terminal=false
Name=Backup Qubes Name=Backup Qubes
GenericName=Backup Qubes GenericName=Backup Qubes
StartupNotify=false StartupNotify=false
Categories=System; Categories=Settings;X-XFCE-SettingsDialog

View File

@ -6,4 +6,4 @@ Terminal=false
Name=Qubes Global Settings Name=Qubes Global Settings
GenericName=Qubes Global Settings GenericName=Qubes Global Settings
StartupNotify=false StartupNotify=false
Categories=System; Categories=Settings;X-XFCE-SettingsDialog

View File

@ -6,4 +6,4 @@ Terminal=false
Name=Qube Manager Name=Qube Manager
GenericName=Qube Manager GenericName=Qube Manager
StartupNotify=false StartupNotify=false
Categories=System; Categories=Settings;X-XFCE-SettingsDialog

View File

@ -6,4 +6,4 @@ Terminal=false
Name=Qubes Template Manager Name=Qubes Template Manager
GenericName=Qubes Template Manager GenericName=Qubes Template Manager
StartupNotify=false StartupNotify=false
Categories=System; Categories=Settings;X-XFCE-SettingsDialog

6
qubes-tools.directory Normal file
View File

@ -0,0 +1,6 @@
[Desktop Entry]
Type=Directory
Icon=qubes-manager
Name=Qubes Tools
GenericName=Qubes Tools

17
qubes-tools.menu Normal file
View File

@ -0,0 +1,17 @@
<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
"http://www.freedesktop.org/standards/menu-spec/menu-1.0.dtd">
<Menu>
<Name>Applications</Name>
<Menu>
<Name>Qubes Tools</Name>
<Directory>qubes-tools.directory</Directory>
<Include>
<Filename>qubes-vm-create.desktop</Filename>
<Filename>qubes-backup.desktop</Filename>
<Filename>qubes-backup-restore.desktop</Filename>
<Filename>qubes-global-settings.desktop</Filename>
<Filename>qubes-qube-manager.desktop</Filename>
<Filename>qubes-template-manager.desktop</Filename>
</Include>
</Menu>
</Menu>

View File

@ -7,4 +7,4 @@ Terminal=false
Name=Create Qubes VM Name=Create Qubes VM
GenericName=Create Qubes VM GenericName=Create Qubes VM
StartupNotify=false StartupNotify=false
Categories=System;X-Xfce-Toplevel; Categories=Settings;X-XFCE-SettingsDialog

View File

@ -51,6 +51,12 @@ cp qubes-backup-restore.desktop $RPM_BUILD_ROOT/usr/share/applications/
cp qubes-qube-manager.desktop $RPM_BUILD_ROOT/usr/share/applications/ cp qubes-qube-manager.desktop $RPM_BUILD_ROOT/usr/share/applications/
cp qubes-template-manager.desktop $RPM_BUILD_ROOT/usr/share/applications/ cp qubes-template-manager.desktop $RPM_BUILD_ROOT/usr/share/applications/
mkdir -p $RPM_BUILD_ROOT/usr/share/desktop-directories/
cp qubes-tools.directory $RPM_BUILD_ROOT/usr/share/desktop-directories/
mkdir -p $RPM_BUILD_ROOT/etc/xdg/menus/applications-merged/
cp qubes-tools.menu $RPM_BUILD_ROOT/etc/xdg/menus/applications-merged/
%post %post
update-desktop-database &> /dev/null || : update-desktop-database &> /dev/null || :
@ -136,6 +142,8 @@ rm -rf $RPM_BUILD_ROOT
/usr/share/applications/qubes-backup-restore.desktop /usr/share/applications/qubes-backup-restore.desktop
/usr/share/applications/qubes-qube-manager.desktop /usr/share/applications/qubes-qube-manager.desktop
/usr/share/applications/qubes-template-manager.desktop /usr/share/applications/qubes-template-manager.desktop
/usr/share/desktop-directories/qubes-tools.directory
/etc/xdg/menus/applications-merged/qubes-tools.menu
%changelog %changelog
@CHANGELOG@ @CHANGELOG@