Support XDG base directory specification by a-andre · Pull Request #1368 · gramps-project/gramps
Since this is using the GLib functions:
data:
On Windows it follows XDG Base Directory Specification if
XDG_DATA_HOMEis defined. IfXDG_DATA_HOMEis undefined, the folder to use for local (as opposed to roaming) application data is used instead. See the documentation forFOLDERID_LocalAppData. Note that in this case on Windows it will be the same as whatg_get_user_config_dir()returns.
config:
On Windows it follows XDG Base Directory Specification if
XDG_CONFIG_HOMEis defined. IfXDG_CONFIG_HOMEis undefined, the folder to use for local (as opposed to roaming) application data is used instead. See the documentation forFOLDERID_LocalAppData. Note that in this case on Windows it will be the same as whatg_get_user_data_dir()returns.
cache:
On Windows it follows XDG Base Directory Specification if
XDG_CACHE_HOMEis defined. IfXDG_CACHE_HOMEis undefined, the directory that serves as a common repository for temporary Internet files is used instead. A typical path isC:\Documents and Settings\username\Local Settings\Temporary Internet Files. See the documentation forFOLDERID_InternetCache.
which all seem reasonable?