core-agent-linux/misc
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
..
.gitignore dispvm: close all windows after apps prerun (#872) 2014-07-04 18:51:02 +02:00
block-snapshot dom0: make block-snapshot more robust about finding the right loop dev 2013-02-12 01:38:30 +01:00
close-window.c dispvm: close only visible windows during DispVM preparation 2015-03-04 01:48:11 +01:00
dispvm-dotfiles.tbz vm: provide dispvm-dotfiles and dispvm-prerun.sh in rpm package (#620) 2012-07-12 14:22:44 +02:00
dispvm-prerun.sh dispvm: do not start GUI apps during prerun 2015-04-11 02:43:03 +02:00
fstab vm/fstab: enable "discard" option for /rw 2013-03-03 21:20:09 +01:00
Makefile Fix compile flags order (-lX11 moved to the end) 2014-11-11 01:22:26 +01:00
mime-globs vm-file-editor: add override for mimeinfo *.png entry (#753) 2013-11-14 22:21:17 +01:00
org.gnome.nautilus.gschema.override misc: do not display file preview by default (#813) 2014-05-08 14:17:24 +02:00
org.gnome.settings-daemon.plugins.updates.gschema.override vm: disable gnome update plugin, not only unattended installation 2012-06-11 22:35:44 +02:00
polkit-1-qubes-allow-all.pkla vm: move polkit configs from qubes-gui-vm package 2013-02-12 01:38:29 +01:00
polkit-1-qubes-allow-all.rules vm: move polkit configs from qubes-gui-vm package 2013-02-12 01:38:29 +01:00
profile.d_qt_x11_no_mitshm.sh debian: don't generate regular conf files in postinst 2015-02-05 01:22:19 +01:00
qubes-archive-keyring.gpg debian: add updates repo definition and key 2014-07-28 02:27:56 +02:00
qubes-desktop-file-install qubes-desktop-file-install: Manages xdg desktop entry files 2015-08-07 09:15:30 -04:00
qubes-desktop-run Improve handling of .desktop files 2014-10-27 12:25:45 +01:00
qubes-download-dom0-updates.sh also inform in cli if no new updates are available 2015-07-19 01:59:07 +02:00
qubes-r3.list.in debian: Comment out deb-src line in qubes-r3.list 2015-08-02 17:45:26 -04:00
qubes-r3.repo Update repository definition: r3 -> r3.0 2015-04-02 00:53:18 +02:00
qubes-serial-login The Underscores Revolution: filenames 2013-03-14 01:07:49 +01:00
qubes-trigger-desktop-file-install qubes-desktop-file-install: Manages xdg desktop entry files 2015-08-07 09:15:30 -04:00
qubes-trigger-desktop-file-install.action qubes-desktop-file-install: Manages xdg desktop entry files 2015-08-07 09:15:30 -04:00
qubes-trigger-sync-appmenus.action The Underscores Revolution: filenames 2013-03-14 01:07:49 +01:00
qubes-trigger-sync-appmenus.sh Merge branch 'debian' 2015-01-30 00:30:24 +01:00
qubes.sudoers sudoers: do not require TTY 2015-03-21 01:49:17 +01:00
RPM-GPG-KEY-qubes-3-primary Update repos and keys for Qubes R3 2014-11-20 17:01:10 +01:00
RPM-GPG-KEY-qubes-3-unstable Update repos and keys for Qubes R3 2014-11-20 17:01:10 +01:00
serial.conf fedora: update spec and serial.conf to match /usr/sbin path 2013-08-14 03:53:40 +02:00
session-stop-timeout.conf fedora: workaround slow system shutdown (#852) 2014-09-24 14:17:24 +02:00
sudoers.d_qt_x11_no_mitshm debian: don't generate regular conf files in postinst 2015-02-05 01:22:19 +01:00
sudoers.d_umask debian: don't generate regular conf files in postinst 2015-02-05 01:22:19 +01:00
udev-qubes-misc.rules Remove 'xen.evtchn' udev rule 2015-02-11 08:02:55 -05:00
vusb-ctl.py dom0+vm/qvm-usb: intermediate 2012-10-21 14:59:38 +02:00
xenstore-watch.c Use xenstore.h instead of xs.h 2014-11-19 15:34:34 +01:00
xl-qvm-usb-attach.py dom0/core: API CHANGE: pass username as keyword param to vm.run() (#577) 2012-11-13 04:42:25 +01:00
xl-qvm-usb-detach.py dom0/core: API CHANGE: pass username as keyword param to vm.run() (#577) 2012-11-13 04:42:25 +01:00
xorg-preload-apps.conf vm(+dom0): major rearrage VM files in repo; merge core-*vm packages 2012-01-06 21:31:12 +01:00
yum-qubes-hooks.conf vm: enable yum-qubes-hooks plugin (#592) 2012-06-11 22:35:44 +02:00
yum-qubes-hooks.py The Underscores Revolution: adjust qrexec path 2013-03-14 04:29:19 +01:00