Hacker News new | ask | show | jobs
by wrs 618 days ago
XDG = X (pronounced “cross”) Desktop Group, aka freedesktop.org, promulgator of conventions for desktop apps.

So, neither one really.

1 comments

Yeah, I'm gonna stick with POSIX. All systems I'm aware of (other than Linux Desktop apps) use $HOME. If you want to extend your functionality to use an OS-specific directory, that's fine, but $HOME is the safest default. (Same for things like $TMPDIR)
None of that is defined in POSIX, hence the perceived need for XDG.