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

Randy Kramer rhkramer at gmail.com
Sun May 22 14:01:16 PDT 2011


(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?

(The directories in that enum are things like: 
  G_USER_DIRECTORY_DESKTOP: the user's Desktop directory
  G_USER_DIRECTORY_DOCUMENTS: the user's Documents directory 
  ... (photos, videos, music, ...)
)

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?

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

Thanks, and sorry for the noise!
Randy Kramer







More information about the fhs-discuss mailing list