[fhs-discuss] My Confusion between GLib: enum GUserDirectory and XDG Base Spec: $XDG_DATA_DIRS

Lennart Poettering lennart at poettering.net
Sun May 22 14:50:46 PDT 2011


On Sun, 22.05.11 17:01, Randy Kramer (rhkramer at gmail.com) wrote:

> (I suppose someone will ask me to take this off list, or to some other 
> list--I'm hoping this will be one quick question and answer--if not, if 
> others feel continued discussion should be off list, we can do that.
> 
> This was prompted by seeing Lennart's name on a recent post (Re: 
> [fhs-discuss] user-specific directories in /run) and recognizing his 
> name as one of the authors of the XDG Base Spec.)
> 
> Trying to make the question as short as possible (but hopefully not too 
> cryptic):
> 
> Is it the intent of the XDG Base Spec that the directories defined in 
> GLib's enum GUserDirectory should go in XDG Base Spec's
> $XDG_DATA_DIRS?

No. They should go in $HOME.

> Sorry, I guess I'll ask two followups:
> 
> If so, is that stated in the XDG Base Spec somewhere?  (I don't quite 
> see it.)  Should it be?

http://www.freedesktop.org/wiki/Software/xdg-user-dirs

> If not, where is it intended (by whoever) that those directories reside?

$HOME.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the fhs-discuss mailing list