well-known user folders in a distributed environment

Vincent Untz vuntz at gnome.org
Sun May 4 07:19:41 PDT 2008


Hi,

Le dimanche 04 mai 2008, à 13:05 +0200, Dieter Plaetinck a écrit :
> Hi all,
> 
> I really like the idea the idea of having 'well-known user folders' 
> specified like discussed on this list.
> I see some distributions (well, at least ubuntu) implement this already.
> (the ~/.config/user-dirs.dirs is supposed to be sourced/parsed by 
> applications right, so the variables don't need to be set in the 
> environment?)
> On the other hand I couldn't find any released spec on this (yet).  I 
> see no mention of XDG_MUSIC_DIR or XDG_PICTURES_DIR for example on 
> http://standards.freedesktop.org/basedir-spec/basedir-spec-0.6.html .  
> Was I looking in the wrong place or are distro's already implementing 
> this without a spec?

Yeah, it needs to be integrated in the spec.

> - the third option is least intrusive.  If i understand correctly the 
> spec will only be about the directories themselves and not about their 
> contents.  So there is no spec (yet) telling the user how to organize 
> the contents of his music folder for example. (Actually I think 
> standardizing this would also be a good thing. especially for picture 
> folders & image editors: where to store the originals that will never be 
> altered, where to stored modified/resized etc images, and so on.  But 
> this is an entirely other topic)
> In this case the user could put this music-collection and music-favorite 
> folders inside his XDG_MUSIC_DIR.  This is very transparent with the 
> current method.  Although if a user wants to save/load a song his 
> application would point him to the XDG_MUSIC_DIR and the user would need 
> to select manually the right subdirectory in that, whereas in the 
> solutions above this is not needed.

That's the solution I would use.

Vincent

-- 
Les gens heureux ne sont pas pressés.


More information about the xdg mailing list