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 522812 - File Roller doesn't match FreeDesktop directories specs
File Roller doesn't match FreeDesktop directories specs
Status: RESOLVED FIXED
Product: file-roller
Classification: Applications
Component: general
2.22.x
Other All
: Normal normal
: ---
Assigned To: Paolo Bacchilega
file-roller-maint
Depends on:
Blocks: 523057
 
 
Reported: 2008-03-16 19:11 UTC by antistress
Modified: 2010-11-01 18:54 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
Patch for this bug (40.98 KB, patch)
2009-11-01 14:36 UTC, Maxim Ermilov
none Details | Review

Description antistress 2008-03-16 19:11:42 UTC
Please describe the problem:
I found that File Roller 2.22 (Ubuntu Hardy alpha 6) creates a directory in .gnome2/file-roller/
This directory is empty for now, but i guess it will be used to place data or config files, 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-01 14:36:47 UTC
Created attachment 146684 [details] [review]
Patch for this bug

Removed unused directories.
Fix problem with storing "add-folder"'s preferences.
Now use gconf for store "add-folder"'s preferences.
Ported "add-folder" from C to GtkBuilder.
Comment 2 Javier Jardón (IRC: jjardon) 2010-06-06 13:10:59 UTC
Ping, Could the Maxim patch get a review, please?
Comment 3 Paolo Bacchilega 2010-06-06 21:08:14 UTC
the patch looks unrelated to this bug report, it doesn't change the config directory at all, it just removes the ability to save and load the "add folder" dialog options.
Comment 4 Paolo Bacchilega 2010-11-01 18:54:03 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.