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 522849 - Yelp doesn't match FreeDesktop directories specs
Yelp doesn't match FreeDesktop directories specs
Status: RESOLVED FIXED
Product: yelp
Classification: Applications
Component: General
2.31.x
Other All
: Normal normal
: Yelp 3.0
Assigned To: Yelp maintainers
Yelp maintainers
Depends on:
Blocks: 523057
 
 
Reported: 2008-03-16 22:56 UTC by antistress
Modified: 2010-05-05 20:26 UTC
See Also:
GNOME target: ---
GNOME version: 2.29/2.30


Attachments
Use Freedesktop directories spec (3.30 KB, patch)
2010-04-27 02:25 UTC, Javier Jardón (IRC: jjardon)
none Details | Review

Description antistress 2008-03-16 22:56:43 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:
Comment 1 Javier Jardón (IRC: jjardon) 2010-04-27 02:25:28 UTC
Created attachment 159659 [details] [review]
Use Freedesktop directories spec
Comment 2 Shaun McCance 2010-05-05 20:26:44 UTC
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.