4 ms·
Is XDG_CONFIG_HOME Unix? Isn't it just some Linux convention?
by perbu 2y ago
Is XDG_CONFIG_HOME Unix? Isn't it just some Linux convention?
- deleted 2y ago[deleted]
- wrs 2y agoXDG = 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...