lxqt / libqtxdg

Qt implementation of freedesktop.org xdg specs
https://lxqt.github.io
GNU Lesser General Public License v2.1
72 stars 35 forks source link

Consider XDG_DATA_HOME when computing desktop entry id #262

Closed luis-pereira closed 2 years ago

luis-pereira commented 3 years ago

The standard doesn't refer to XDG_DATA_HOME. It should be considered, allowing the id of an desktop entry located in XDG_DATA_HOME to be properly computed. XDG_DATA_HOME is taken into consideration when searching for a desktop entry, it make no sense not to consider it for computing id.

tsujan commented 3 years ago

Just a question: Is there any system, on which XDG_DATA_DIRS doesn't include XDG_DATA_HOME?

luis-pereira commented 3 years ago

Openbox. And for that matter any environment that doesn't set XDG_DATA_DIRS. It will fallback to

tsujan commented 3 years ago

Thanks!

tsujan commented 2 years ago

GTM. Merging, to prepare a release…