GNOME Bugzilla – Bug 405913
Configuration directory should comply with freedesktop standards
Last modified: 2009-10-13 18:01:14 UTC
Configuration directory should comply with freedesktop standards, as I described here: http://mail.gnome.org/archives/banshee-list/2006-October/msg00000.html
As I understand it, you are advocating a move from ~/.gnome2/banshee/ to ~/.config/Banshee/, right?
Well, yes, but ~/.config/ is just the fallback. As this document says[1], firstly we should look into the $XDG_CONFIG_HOME env var. [1] http://standards.freedesktop.org/basedir-spec/basedir-spec-0.6.html
Looks like this is resolved. See linked ChangeLog entry. http://cia.vc/stats/project/gnome/banshee/.message/158194
Correct, this is fixed. My ChangeLog entry mentions ~/.config, but in reality it's either XDG_CONFIG_HOME or ~/.config as the fallback. This is implemented in Mono and can be read by calling System.Environment.GetFolderPath(System.Environment.SpecialFolder.ApplicationData), which Banshee now does. Just wanted to clarify so you didn't think I was hardcoding ~/.config.
And on a final note, using the Mono way makes the path portable on Windows and other OSes where XDG doesn't apply and ~/.config doesn't make sense.