Shameless plug: I am the author.

  • aard
    link
    fedilink
    02 months ago

    Probably half the entries in that list are not GUI apps, and XDG doesn’t apply (though some still support it). For some others there (like emacs) XDG is used if it exists.

    • Eager Eagle
      link
      English
      82 months ago

      XDG doesn’t apply for CLI apps? About half of dirs I still have cluttering my home are GUI apps whose devs refuse to follow the specification, while I see less friction from CLI/TUI devs, since they’re the ones actually seeing these hidden locations.

      • @[email protected]
        link
        fedilink
        English
        22 months ago

        I don’t have X/etc installed on my machine. I do not have the mentioned env var defined.

        • Eager Eagle
          link
          English
          1
          edit-2
          2 months ago

          you don’t need X

          I had to set my variables manually too (bashrc), even in a DE.

    • @sparr
      link
      English
      62 months ago

      What makes you think XDG doesn’t apply to non GUI apps?

      • aard
        link
        fedilink
        02 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
          link
          English
          22 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.