Go to file
Jason Mehring b6c19fc2ef qubes-desktop-file-install: Manages xdg desktop entry files
qubes-desktop-file-install is called by qubes-triggers-desktop-file-install. It's
arguments are based on the Gnome desktop-install-file utility to allow it to be replaced
by same.  Currently the Gnome utility can not be used since it automatically validates
the .desktop entry files with no option to skip validation and will fail on some third
party .desktop files that are not formed properly.

A single trigger script is shared between Fedora, Debian.  This script is used by the
package managers triggers and will copy original .desktop files from `/etc/xdg/autostart`
to `/usr/share/qubes/xdg/autostart` and modify the OnlyShownIn / NotShownIn, etc.  The
original .desktop files are left untouched and left in place.

Qubes modifies the XDG_CONFIG_DIRS to first include the `/usr/share/qubes/xdg`
directory (XDG_CONFIG_DIRS=/usr/share/qubes/xdg:/etc/xdg).

If a package gets removed, it's desktop entry is also removed from the /usr/share/qubes/xdg
directory.

'qubes-desktop-file-install' options:
   --dir DIR                          Install desktop files to the DIR directory (default: <FILE>)
   --force                            Force overwrite of existing desktop files (default: False)
   --remove-show-in                   Remove the "OnlyShowIn" and "NotShowIn" entries from the desktop file (default: False)
   --remove-key KEY                   Remove the KEY key from the desktop files, if present
   --set-key (KEY VALUE)              Set the KEY key to VALUE
   --remove-only-show-in ENVIRONMENT  Remove ENVIRONMENT from the list of desktop environment where the desktop files should be displayed
   --add-only-show-in ENVIRONMENT     Add ENVIRONMENT to the list of desktop environment where the desktop files should be displayed
   --remove-not-show-in ENVIRONMENT   Remove ENVIRONMENT from the list of desktop environment where the desktop files should not be displayed
   --add-not-show-in ENVIRONMENT      Add ENVIRONMENT to the list of desktop environment where the desktop files should not be displayed
2015-08-07 09:15:30 -04:00
archlinux archlinux: remove installOverridenServices as now handled by systemd dropins 2015-08-04 17:26:44 +02:00
debian qubes-desktop-file-install: Manages xdg desktop entry files 2015-08-07 09:15:30 -04:00
doc Fix formating 2014-05-25 00:55:51 +02:00
misc qubes-desktop-file-install: Manages xdg desktop entry files 2015-08-07 09:15:30 -04:00
network debian: Renamed incorrect filename: 00notiy-hook -> 00notify-hook 2015-08-02 17:45:21 -04:00
pkgs archlinux: created build scripts 2013-04-17 01:22:32 +02:00
qrexec qrexec: do not show message about missing fork-sever - it isn't an error 2015-05-24 20:47:34 +02:00
qubes-rpc appmenus: hide message about missing /usr/local/share/applications 2015-05-11 22:06:03 +02:00
rpm_spec qubes-desktop-file-install: Manages xdg desktop entry files 2015-08-07 09:15:30 -04:00
vm-init.d Changed location of PROTECTED_FILE_LIST to /etc/qubes/protected-files.d 2015-04-25 02:36:43 +02:00
vm-systemd qubes-desktop-file-install: Manages xdg desktop entry files 2015-08-07 09:15:30 -04:00
.gitignore gitignore: fix binary packages declaration 2014-07-27 06:11:14 +02:00
debian-quilt debian: Refactor Debian quilt packaging for xen 2015-02-11 08:02:55 -05:00
LICENSE Added LICENSE 2010-04-05 21:21:27 +02:00
Makefile qubes-desktop-file-install: Manages xdg desktop entry files 2015-08-07 09:15:30 -04:00
Makefile.builder debian: Add extend-diff-ignore options to debian packager 2015-02-19 19:56:23 -05:00
series-debian-vm.conf debian: Refactor Debian quilt packaging for xen 2015-02-11 08:02:55 -05:00
version version 3.0.13 2015-07-01 07:05:53 +02:00