XDG Config Folders

Martin Owens doctormo at gmail.com
Tue Aug 31 21:34:28 UTC 2010

Hey Sebastian,

On Tue, 2010-08-31 at 22:51 +0200, Sebastian Geiger wrote:
> I just wanted to bring this up, if there has already been a discussion
> about this, maybe someone can point me to it or let me know about the
> current status about this issue. 

XDG underuse and misuse is a pet peeve of mine. More pressure on
projects to adopt the spec would clear up whole hosts of problems we
have with backup, configs and upgrades.

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).

It's means instead any of the program files that would have been put
in /usr/local if you had access to write to that directory. A perfect
example of something that should go into XDG_DATA_HOME is firefox
plugins or gnome themes (or wallpaper hard links).

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

I wonder if we could get some of those links clarified.


More information about the Ubuntu-devel-discuss mailing list