XDG Config Folders
kklimonda at ubuntu.com
Tue Aug 31 22:19:30 UTC 2010
On Tue, 2010-08-31 at 17:34 -0400, Martin Owens wrote:
> A common mistake which is repeated a few times in the links you provided
> is the part about XDG_DATA_HOME being the location for user files. What
> the specification means by 'user specific data files' is not your
> emails, photographs or bookmarks (which are user files).
This mistake is made because there aren't enough good examples of where
to put files where they don't fit xdg basedir spec.
For example you are saying that emails should go to the directory
specified in user-dirs.[defaults,dirs] but that makes no sense uless we
are thinking about $DOCUMENTS/.email_app/. Emails, while being
documents, aren't really suited for direct access. The same can be said
for many other applications that doesn't fit into any of directory
listed in the user-dirs.[defaults,dirs].
> All "user files" should instead go into their appropriate USER_DIRS as
> shown in /etc/xdg/user-dirs.defaults and ~/.config/user-dirs.dirs and
> not in XDG_DATA_HOME.
XDG_DATA_HOKE is supposed to be basically a local, user-writable
equivalent of /usr/share. There are many things that fit neither this
requirement nor "user data" description.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: This is a digitally signed message part
More information about the Ubuntu-devel-discuss