Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Respect freedesktop's XDG_CONFIG_HOME and XDG_DATA_HOME #791

Open
ainola opened this issue Sep 9, 2018 · 5 comments
Open

Respect freedesktop's XDG_CONFIG_HOME and XDG_DATA_HOME #791

ainola opened this issue Sep 9, 2018 · 5 comments

Comments

@ainola
Copy link

ainola commented Sep 9, 2018

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.

@stale
Copy link

stale bot commented Mar 5, 2020

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 stale bot added the wontfix label Mar 5, 2020
@ainola
Copy link
Author

ainola commented Mar 6, 2020

This is absolutely still relevant.

@stale stale bot removed the wontfix label Mar 6, 2020
@ghost ghost mentioned this issue May 6, 2020
3 tasks
@stale
Copy link

stale bot commented Jun 4, 2020

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 stale bot added the wontfix label Jun 4, 2020
@ainola
Copy link
Author

ainola commented Jun 4, 2020

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.

@jay0lee
Copy link
Member

jay0lee commented Oct 3, 2024

GAM7 now supports storing config in a folder specified by the GAMCFGDIR env variable. PTAL and see if this solves this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants