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 616170 - use XDG directories
use XDG directories
Status: RESOLVED DUPLICATE of bug 520103
Product: gnome-schedule
Classification: Other
Component: general
2.1.0
Other Linux
: Normal minor
: ---
Assigned To: GNOME Schedule Maintainers
GNOME Schedule Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-04-19 12:49 UTC by Jean-François Fortin Tam
Modified: 2010-04-19 14:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jean-François Fortin Tam 2010-04-19 12:49:30 UTC
Ideally, gnome-schedule should store its data/config/etc in folders according to this Freedesktop spec: http://standards.freedesktop.org/basedir-spec/latest/
Especially: http://standards.freedesktop.org/basedir-spec/latest/ar01s03.html

I first heard about the xdg desktop dirs thing through this post, which does a good job at explaining the issue/challenges that this spec addresses: http://ploum.frimouvy.org/?184-cleaning-user-preferences-keeping-user-data

See also: http://ploum.frimouvy.org/?207-modify-your-application-to-use-xdg-folders

So, for example, instead of putting stuff in ~/.gnome/, we could store files like this:
- $XDG_DATA_HOME/gnome-schedule/crontab/
- $XDG_DATA_HOME/gnome-schedule/at/

... with their respective fallbacks (as described in the specs).
Comment 1 Christian Persch 2010-04-19 14:40:50 UTC

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