zlacker

[return to "Understanding the bin, sbin, usr/bin, usr/sbin split (2010)"]
1. forest+WR[view] [source] 2026-01-04 19:26:28
>>csmant+(OP)
Does anyone know why, when Lennart and friends wrote their XDG Base Directory Specification, they decided that each user should replicate /usr/local/ subdirectories under $HOME/.local/?

Doesn't being under $HOME make .local redundant? I guess one could argue for binaries going in an architecture-specific subdirectory if $HOME was on a shared filesystem, but that's not what's being done here.

To me, $HOME/.local/share and its siblings are just a needless level of indirection, forcing me to jump through an extra hoop every time I want to access what's in there.

(I know it's sometimes possible to override it with an environment variable, but the predictably spotty support for those overrides means I would then have to look for things in two places. I think sensible defaults would be nicer.)

◧◩
2. 171862+Bs2[view] [source] 2026-01-05 10:58:33
>>forest+WR
The ~/.local prefix is so that you don't pollute the home directory too much.
[go to top]