Shameless plug: I am the author.

  • aard@kyu.de
    link
    fedilink
    arrow-up
    2
    arrow-down
    2
    ·
    5 months ago

    It’s already in the name - XDG stands for X Desktop Group (nowadays freedesktop), which works on interoperability for desktop environments. In a pure shell environment (or even if you’re not running a full desktop) none of the XDG variables are defined, and especially in shell environments the default fallbacks specified by XDG are not necessarily what the operator would expect.

    • sparr@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      5 months ago

      That name is decades old. XDG stands for “Cross Desktop Group”.

      A “pure” X environment (e.g. startx xterm) also doesn’t define those variables, but many desktop environments do, just like many shell configurations do.