After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 405913 - Configuration directory should comply with freedesktop standards
Configuration directory should comply with freedesktop standards
Status: RESOLVED FIXED
Product: banshee
Classification: Other
Component: general
git master
Other Linux
: Normal minor
: 2.x
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on:
Blocks: 523057
 
 
Reported: 2007-02-08 22:07 UTC by Andrés G. Aragoneses (IRC: knocte)
Modified: 2009-10-13 18:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andrés G. Aragoneses (IRC: knocte) 2007-02-08 22:07:13 UTC
Configuration directory should comply with freedesktop standards, as I described here:

http://mail.gnome.org/archives/banshee-list/2006-October/msg00000.html
Comment 1 Ruben Vermeersch 2007-02-08 22:17:29 UTC
As I understand it, you are advocating a move from ~/.gnome2/banshee/ to ~/.config/Banshee/, right?
Comment 2 Andrés G. Aragoneses (IRC: knocte) 2007-02-08 22:21:25 UTC
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
Comment 3 Josiah Ritchie - flickerfly 2007-05-24 12:35:08 UTC
Looks like this is resolved. See linked ChangeLog entry.

http://cia.vc/stats/project/gnome/banshee/.message/158194
Comment 4 Aaron Bockover 2007-05-24 18:46:34 UTC
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.
Comment 5 Aaron Bockover 2007-05-24 18:47:28 UTC
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.