GNOME Bugzilla – Bug 522849
Yelp doesn't match FreeDesktop directories specs
Last modified: 2010-05-05 20:26:44 UTC
Please describe the problem: its seems that Yelp 2.22 (Ubuntu Hardy alpha 6) places its configuration file in ~/.gnome2/ which doesn't match FreeDesktop directories specs : The default for $XDG_CONFIG_HOME is $HOME/.config, the default for $XDG_DATA_HOME is $HOME/.local/share. So all applications should look for those environment variables and use those default values if the variables are not set. See http://www.freedesktop.org/wiki/Specifications/basedir-spec See also - http://ploum.frimouvy.org/?184-cleaning-user-preferences-keeping-user-data (main post and comment#8) - http://www.aigarius.com/blog/2007/01/10/fhs-extension-for-user-home-folders/ Steps to reproduce: 1. 2. 3. Actual results: Expected results: Does this happen every time? Other information:
Created attachment 159659 [details] [review] Use Freedesktop directories spec
Thanks for the patch Javier. I don't think there's much point changing this in 2.30.x, especially without a migration for a stable point release. In Yelp 3, I'm using GSettings for everything. Hopefully this means dconf, but Yelp does currently fall back to keyfiles if necessary, and it does put them under g_get_user_data_dir(). Closing.