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 674875 - Use XDG dirs instead of $HOME
Use XDG dirs instead of $HOME
Status: RESOLVED FIXED
Product: gnome-games-superseded
Classification: Deprecated
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-games-general-maint
GNOME Games maintainers
Depends on:
Blocks: 523057
 
 
Reported: 2012-04-26 13:53 UTC by William Jon McCann
Modified: 2012-05-11 23:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Use xdg data directory for saved games (1.69 KB, patch)
2012-05-11 17:10 UTC, William Jon McCann
committed Details | Review
Remove reference to obsolete themes in $HOME (1.29 KB, patch)
2012-05-11 17:10 UTC, William Jon McCann
needs-work Details | Review
Remove reference to obsolete themes in $HOME (1.31 KB, patch)
2012-05-11 23:08 UTC, William Jon McCann
committed Details | Review
Remove reference to obsolete themes in $HOME (1.31 KB, patch)
2012-05-11 23:46 UTC, William Jon McCann
committed Details | Review
Use xdg data directory for saved games (1.69 KB, patch)
2012-05-11 23:46 UTC, William Jon McCann
committed Details | Review
Remove dead code (2.23 KB, patch)
2012-05-11 23:46 UTC, William Jon McCann
committed Details | Review
Remove unused gtk accel map code (2.57 KB, patch)
2012-05-11 23:46 UTC, William Jon McCann
committed Details | Review

Description William Jon McCann 2012-04-26 13:53:04 UTC
Currently we store a few things in the home directory. It would be better to use the XDG base directory standard.

https://live.gnome.org/GnomeGoals/XDGConfigFolders

We store gtk accel maps and chess history it seems.
Comment 1 Thomas Andersen 2012-04-26 15:17:31 UTC
There is also ~/.sudoku
Comment 2 William Jon McCann 2012-05-11 17:10:34 UTC
Created attachment 213881 [details] [review]
Use xdg data directory for saved games
Comment 3 William Jon McCann 2012-05-11 17:10:37 UTC
Created attachment 213882 [details] [review]
Remove reference to obsolete themes in $HOME
Comment 4 Robert Ancell 2012-05-11 23:02:28 UTC
Review of attachment 213881 [details] [review]:

Looks good, thanks.
Comment 5 Robert Ancell 2012-05-11 23:05:40 UTC
Review of attachment 213882 [details] [review]:

Since the "data directory" probably doesn't mean anything to a normal user could you please put the default location in brackets? e.g.
Copy your image(s) into the data directory (~/.local/share/gnect)
It's a bit yuck but until we have a logical name for these (or we fix gnect) it seems safer.
Comment 6 William Jon McCann 2012-05-11 23:08:27 UTC
Created attachment 213893 [details] [review]
Remove reference to obsolete themes in $HOME
Comment 7 Robert Ancell 2012-05-11 23:10:41 UTC
Review of attachment 213893 [details] [review]:

ta
Comment 8 William Jon McCann 2012-05-11 23:46:05 UTC
The following fixes have been pushed:
f44a949 Remove reference to obsolete themes in $HOME
10b4fc8 Use xdg data directory for saved games
Comment 9 William Jon McCann 2012-05-11 23:46:13 UTC
Created attachment 213895 [details] [review]
Remove reference to obsolete themes in $HOME
Comment 10 William Jon McCann 2012-05-11 23:46:16 UTC
Created attachment 213896 [details] [review]
Use xdg data directory for saved games
Comment 11 William Jon McCann 2012-05-11 23:46:18 UTC
Created attachment 213897 [details] [review]
Remove dead code

https://bugzilla.gnome.org/show_bug.cgi?id=675894
Comment 12 William Jon McCann 2012-05-11 23:46:21 UTC
Created attachment 213898 [details] [review]
Remove unused gtk accel map code

https://bugzilla.gnome.org/show_bug.cgi?id=675894
Comment 13 William Jon McCann 2012-05-11 23:47:11 UTC
oops. Sorry, apparently I don't know how to use git-bz.