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 522845 - Panel doesn't match FreeDesktop directories specs
Panel doesn't match FreeDesktop directories specs
Status: RESOLVED FIXED
Product: gnome-panel
Classification: Other
Component: panel
2.22.x
Other All
: Normal normal
: ---
Assigned To: Panel Maintainers
Panel Maintainers
Depends on:
Blocks: 523057
 
 
Reported: 2008-03-16 22:43 UTC by antistress
Modified: 2012-02-13 13:30 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
Patch for this bug (3.12 KB, patch)
2009-11-02 17:17 UTC, Maxim Ermilov
none Details | Review

Description antistress 2008-03-16 22:43:44 UTC
Please describe the problem:
I've found that Panel 2.22 (Ubuntu Hardy alpha 6) places its files in ~/.gnome2/panel2.d/ 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 Maxim Ermilov 2009-11-02 17:17:26 UTC
Created attachment 146764 [details] [review]
Patch for this bug

~/.gnome2/panel2.d/default/launcher ->
$XDG_DATA_HOME/gnome-panel2/default/launcher
When old dir exist, directory moved to new location.
Comment 2 Sebastian 2010-09-17 21:12:01 UTC
I think we shouldnt put things into XDG_DATA_HOME, but into XDG_CONFIG_HOME, since the configuration of the panel is really a configuration thing, and if you delete the config folder you would want the panel to return to its default orientation/layout/configuration and have default items. If I find the time I might provide a revised patch in a few days.
Comment 3 Sebastian 2012-02-11 21:55:37 UTC
It seems this is fixed with the panel for gnome 3, is it not?
Comment 4 Vincent Untz 2012-02-13 13:30:59 UTC
Yeah, it's fixed.