4 ms·
XDG is a systemd standard that's not universally used across Linux distributions. It's most definitely not used in other UNIXy systems like FreeBSD and MacOS. X
by Anon_Forever 3y ago
XDG is a systemd standard that's not universally used across Linux distributions. It's most definitely not used in other UNIXy systems like FreeBSD and MacOS. XDG, like systemd, likes to believe it's universal but it's not.
- enriquto 3y ago> XDG, like systemd, likes to believe it's universal but it's not. In XDG's favour, we can say that it is just a written convention that people are free to follow or not on a per-program and per-user basis. It is not a cancerous growth that tries to borg the whole system.
- bitwize 3y agoXDG is a freedesktop standard that's been adopted by systemd, Wayland, and other important projects. It's absolutely no skin off your nose to adopt it, and beneficial to you and your users if you do.
- deleted 3y ago[deleted]
- Anon_Forever 3y ago>XDG is a freedesktop standard that's been adopted by systemd A systemd standard, we covered that. Great reason not to use it. >It's absolutely no skin off your nose to adopt it It is if I have to implement logic to support this shitty "standard". >beneficial to you and your users if you do. Poorly thought out and imposed standards are not beneficial to anyone.
- brnt 3y agoPractically universal. Even if there's a Linux distro going out of it's way not to set them, many tools, including big ones, support it anyway (also on non-Linux Unices). In practice I've never encountered users with a distro that didn't have these variables set.
- Anon_Forever 3y ago>Practically universal "I use Ubuntu and develop in full stack JavaScript so everyone else does too." No, it is not "practically universal". Alpine Linux, MacOS, FreeBSD, illumos UNIX distros, etc. do not follow this imposed "standard". >Even if there's a Linux distro going out of it's way not to set them You have this backwards. The systemd standard is imposed on Linux, not the other way around. >In practice I've never encountered users with a distro that didn't have these variables set. "I use Ubuntu and develop in full stack JavaScript so everyone else does too."
- brnt 3y agoYou can invent quotes all you want, I neither use Ubuntu, do webdev, or think that you make any factual arguments.
- toast0 3y agoI don't have XDG environment variables set in OpenWRT or ASUSWRT, the two Linux distros I run on personal equipment in my house. Also not set on my installs of FreeBSD.
- brnt 3y agoYou do know the difference between practically all and exactly all?