diff options
author | Rainer Keller <Rainer.Keller@qt.io> | 2019-01-22 08:52:47 +0100 |
---|---|---|
committer | Rainer Keller <Rainer.Keller@qt.io> | 2019-02-04 13:11:50 +0000 |
commit | d6768e5a16521c11fffb4b50eaf085f8c13272a7 (patch) | |
tree | 416a006cd473feb8b6af3ef02f2817f23d6ed85f /doc | |
parent | 2a791f276dadc75afb39e4d3d44ca056c1912447 (diff) |
Write desktop entry and items to the correct folders
Data should not be written to directories in XDG_DATA_DIRS.
The spec state that files should only be writen to the
directory in XDG_DATA_HOME.
Change-Id: I755963fa2f70d03c77d7beec0e3f87accde925d0
Fixes: QTIFW-1269
Reviewed-by: Nikos Chantziaras <realnc@gmail.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/operations.qdoc | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/doc/operations.qdoc b/doc/operations.qdoc index 697502145..9cba0d618 100644 --- a/doc/operations.qdoc +++ b/doc/operations.qdoc @@ -133,9 +133,8 @@ If \c filename is absolute, the desktop entry is stored there. Otherwise, it is stored in the location specified in - \c{$XDG_DATA_DIRS/applications} or - \c{$XDG_DATA_HOME/applications}, including the default paths for - both, as defined by freedesktop.org. + \c{$XDG_DATA_HOME/applications}, including the default path, + as defined by freedesktop.org. The key-value pairs are written to the file. @@ -145,8 +144,8 @@ \li "InstallIcons" \c directory \c [Vendorprefix] \li Installs the contents of \c directory into a location, as specified by freedesktop.org. That is, into - \c {$XDG_DATA_DIRS/icons}, \c {/usr/share/icons}, or - \c {$HOME/.icons}. The files are removed from their initial + \c {$XDG_DATA_HOME/icons} or + \c {$HOME/.local/share/icons}. The files are removed from their initial location. Make sure to add this operation after the operation that extracts the files from the archive. If you provide a \c Vendorprefix it replaces all characters up to the |