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 522813 - Deskbar Applet doesn't match FreeDesktop directories specs
Deskbar Applet doesn't match FreeDesktop directories specs
Status: RESOLVED FIXED
Product: deskbar-applet
Classification: Deprecated
Component: general
2.22.x
Other All
: Normal normal
: 2.24
Assigned To: Deskbar Applet Maintainer(s)
Deskbar Applet Maintainer(s)
Depends on:
Blocks: 523057
 
 
Reported: 2008-03-16 19:15 UTC by antistress
Modified: 2008-07-11 19:23 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description antistress 2008-03-16 19:15:45 UTC
Please describe the problem:
I found that Deskbar Applet for GNOME 2.22 (Ubuntu Hardy alpha 6) places its files in .gnome2/deskbar-applet/
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 Sebastian Pölsterl 2008-04-29 09:15:46 UTC
Marking as gnome-love, because that should be a very easy task.
Comment 2 Jeff Bailes 2008-05-04 05:50:33 UTC
Alternatively you could use the xdg.BaseDirectory python module (requires pyxdg) to get these locations.
Comment 3 Sebastian Pölsterl 2008-07-11 19:23:21 UTC
2008-07-11  Sebastian Pölsterl  <sebp@cvs.gnome.org>

    * deskbar/core/BrowserMatch.py:
    * deskbar/__init__.py:
    Place user's modules in
    $XDG_DATA_HOME/deskbar-applet/modules-2.20-compatible
    and history file together with modules' configuration
    data into $XDG_CONFIG_HOME/deskbar-applet
    
    When on of the directories doesn't exist and the old
    location ~/.gnome2/deskbar-applet still does the files
    are copied to the new locations.
    Fixes bug #522813