GNOME Bugzilla – Bug 522845
Panel doesn't match FreeDesktop directories specs
Last modified: 2012-02-13 13:30:59 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:
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.
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.
It seems this is fixed with the panel for gnome 3, is it not?
Yeah, it's fixed.