[PATCH 0/2] XDG basedir bin dirs

Lennart Poettering mzkqt at 0pointer.de
Wed May 2 17:53:47 UTC 2018

On Di, 29.08.17 18:42, Johannes Löthberg (johannes at kyriasis.com) wrote:


> I've had some old patches around for the XDG basedir spec, and figured I 
> might as well finally send them in and see what people think.
> The first one just reformats some text and fixes some inconsistent 
> indentation, so should be pretty uncontroversial.
> The second patch adds XDG_BIN_HOME and XDG_BIN_DIRS to the basedir spec, 
> standardizing ~/.local/bin as the default user-specific bin directory.

Sorry for dropping the ball on this one.

The whole discussion just came up on fedora devel again, so I figured
I really should merge this now. I hence pinged Allison about this, one
of the original spec authors, and she suggested we should not define
any new env vars but simply document the dir as ~/.local/bin. 

That made sense to me, and I have taken the liberty to change your
patches accordingly now, and dropped all references to any new env
var, I hope that's OK. I have however added a reference to UNIX $PATH,
and added that distros really should add ~/.local/bin to that path.

I have then posted the updated patch set here:



Maybe we'll get some more feedback if this is tracked in bugzilla
too. If not, I'll merge this like this in a day or two, but maybe
Allison beats me to it.

Anyway, sorry again for all the delays, let's get this settled, finally!


Lennart Poettering, Red Hat

More information about the xdg mailing list