I’m not sure why you’re bringing the XDG or systemd “standard” into this.
Probably because in their “basedir” specification they do recommend ~/.local/bin
to be in $PATH
. I’m sure there’s more than one distro following that spec, whether we’d want to consider it standard or not. I also believe there’s some software (like flatpak) that may place scripts there too, when configured to offer commands for user-level instalations.
Here’s a quote from the spec:
User-specific executable files may be stored in
$HOME/.local/bin
. Distributions should ensure this directory shows up in the UNIX$PATH
environment variable, at an appropriate place.
In a way it is. But user-level system, as opposed to root-level system.