Tirifto <tiri...@posteo.cz> writes:

> After some investigation, it turned out that GNOME Shell falls back on
> a certain default value when the variable is empty, which already
> contains paths that GNOME Shell needs to function properly. So when the
> user extends the existing value of ‘$XDG_DATA_DIRS’ with another path,
> the variable is no longer empty, so GNOME Shell never gets to fall back
> to the paths it actually needs, and crashes instead.

GNOME does this in accordance with XDG Base Directory Specification, see
https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html

  "If $XDG_DATA_DIRS is either not set or empty, a value equal to
  /usr/local/share/:/usr/share/ should be used."

-- 
Mikhail

Attachment: signature.asc
Description: PGP signature

Reply via email to