Recommendation for $HOME

Stanislav Brabec sbrabec at
Mon Dec 11 19:30:37 EET 2006

John Meacham píše v Čt 07. 12. 2006 v 15:17 -0800:
> On Tue, Dec 05, 2006 at 04:58:16PM +0100, Thomas Güttler wrote:
> > the file system hierarchy standard defines nothing
> > about $HOME. 
> > 
> > I think a little standard (recommendation) would be good.
> I always liked (and use) the standard unix hierarchy. I have
> $HOME/etc
> $HOME/tmp
> $HOME/var
> $HOME/bin
> $HOME/lib

Nice for UNIX programmers, ugly for beginners, which has a lot of very
strange directories in their home (or worse, on desktop, depending of
file manager setup). Especially "bin" can be understand as "trashcan"
and deleted by such users.

There is a different proposal:

Files or directories automatically created or installed by default are
not allowed in home directory and its visible sub-directories. The only
exception are automatically created files which are intentionally
visible (crash logs, output of package run etc.)

Suggestion: Use $XDG_DATA_HOME (~/.local) instead or use dotted variant.

Best Regards / S pozdravem,

Stanislav Brabec
software developer
SUSE LINUX, s. r. o.                          e-mail: sbrabec at
Lihovarská 1060/12                            tel: +420 284 028 966
190 00 Praha 9                                fax: +420 284 028 951
Czech Republic                      

More information about the xdg mailing list