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 601477 - Gedit didn't match FreeDesktop directories specs.(XDG)
Gedit didn't match FreeDesktop directories specs.(XDG)
Status: RESOLVED DUPLICATE of bug 522848
Product: gedit
Classification: Applications
Component: general
2.28.x
Other Linux
: Normal normal
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2009-11-11 04:07 UTC by Jason
Modified: 2009-11-11 13:18 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jason 2009-11-11 04:07:24 UTC
gedit is not depends on any gnome libs, can be used in non-gnome desktop environment. change config dir to $XDG_CONFIG_HOME and data dir to $XDG_DATA_HOME will be better. and can get rid of ~/.gnome2/gedit or even ~/.gnome2

only need change g_get_home_dir() to g_get_user_config_dir() or g_get_user_data_dir()


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/
Comment 1 Christian Persch 2009-11-11 13:18:20 UTC

*** This bug has been marked as a duplicate of bug 522848 ***