
Jon A. Cruz wrote:
Yes, that's about how it works. Krzysztof, you should look into the mailing list archives for the last few months, as there was discussion of it, and I committed some changes to switch to use the XDG stuff.
That's good to know. That was just an example, I suspected those functions are actually used internally but I didn't investigate it myself.
Regarding GConf - the spec says about files but at least in theory GConf doesn't have to use local files, it can use e.g. remote LDAP servers (not implemented but it's possible), so using XDG dirs would create different behavior depending on the backend - I'm still not sure whether using GConf is an XDG violation or not.
The most important issue so far is running Gnome and KDE on the same machine. I'm not sure how to solve this yet. One possible dump prefs to the XML file (it's easier to write import/export routines than to implement everything using the XML document) and store a timestamp in the GConf database, then use the source that is more recent - this way GConf would be used in Gnome but the XML file would still be available. However, this gets complicated.
Regards, Krzysztof Kosiński