core-agent-linux/applications-dropins
Pawel Marczewski 3a6e77aa43
Add /etc/qubes/applications override, use it for gnome-terminal
Used by qubes.StartApp so that we can override distribution-provided
.desktop files. The mechanism is introduced to run gnome-terminal
with --wait option, so that it's compatible with DispVMs.

Fixes QubesOS/qubes-issues#2581.
2020-01-27 14:05:55 +01:00
..
Makefile Add /etc/qubes/applications override, use it for gnome-terminal 2020-01-27 14:05:55 +01:00
org.gnome.Terminal.desktop Add /etc/qubes/applications override, use it for gnome-terminal 2020-01-27 14:05:55 +01:00
README.txt Add /etc/qubes/applications override, use it for gnome-terminal 2020-01-27 14:05:55 +01:00

This directory (/etc/qubes/applications) is used to override parts of files in
/usr/share/applications and other applications directories.

For each desktop file there, you can create directory named after the file plus
".d", then place files there. All such files will be read (in lexicographical
order) and lines specified there will override respective entries in the
original file.

This can be used for example to override behaviour of a specific application in
particular VM type.

For example, you can extend `/usr/share/applications/firefox.desktop` by
creating `/etc/qubes/applications/firefox.desktop.d/50_user.conf` with:
```
[Desktop Entry]
Exec=firefox --private-window http://example.com %u
```

This would mean that `Exec` key would be read as your command line, regardless
of original entry in `/usr/share/applications/firefox.desktop`.