base dir spec question.

Patryk Zawadzki patrys at
Thu May 6 00:48:49 PDT 2010

On Thu, May 6, 2010 at 8:04 AM, Julien Danjou <julien at> wrote:
> Sander Jansen <s.jansen at> writes:
>> For my music manager I need to store a sqlite3 database file somewhere
>> on disk. Which directory would be the most appropriate to use, the
>> XDG_CONFIG_HOME or the XDG_DATA_HOME directory?
> Probably XDG_DATA_HOME, since I hope you're not storing configuration in
> a database.

Not really. XDG_DATA_HOME is your local /usr/share and that's not
place for databases. I'd say currently XDG_CONFIG_HOME until we get a
proper local version of /var.

Patryk Zawadzki

More information about the xdg mailing list