3 ms·
XDG = X (pronounced “cross”) Desktop Group, aka freedesktop.org, promulgator of conventions for desktop apps. So, neither one really.
by wrs 2y ago
XDG = X (pronounced “cross”) Desktop Group, aka freedesktop.org, promulgator of conventions for desktop apps.
So, neither one really.
- 0xbadcafebee 2y agoYeah, 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)
- spauldo 2y agoNone of that is defined in POSIX, hence the perceived need for XDG.
- 0xbadcafebee 2y agoIt is: https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/V1_chap08.html https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/V1...