GAM icon indicating copy to clipboard operation
GAM copied to clipboard

Respect freedesktop's XDG_CONFIG_HOME and XDG_DATA_HOME

Open ainola opened this issue 6 years ago • 5 comments

Thanks for this tool!

Linux configuration and data storage should reside in XDG_CONFIG_HOME (~/.config/ if the env variable is not set) and XDG_DATA_HOME (~/.local/share/ if the env variable is not set). This will provide consistency with other programs. $XDG_CONFIG_HOME/gam/ should house actual configuration files (for instance, gam.cfg, which would have items like check_updates = false or member_max_results = 200). $XDG_DATA_HOME/gam/ should house the oauth tokens, etc. and should be mode 0700.

Keeping this structure will also allow proper sandboxing when the user wants it.

ainola avatar Sep 09 '18 19:09 ainola

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

stale[bot] avatar Mar 05 '20 14:03 stale[bot]

This is absolutely still relevant.

ainola avatar Mar 06 '20 02:03 ainola

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

stale[bot] avatar Jun 04 '20 02:06 stale[bot]

This issue is still relevant. This is related to #792 though and I'm honestly not sure why I split this into two tickets. Perhaps they should be merged.

ainola avatar Jun 04 '20 02:06 ainola