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 XDG Spec #116

Open
alichtman opened this issue May 27, 2023 · 0 comments
Open

Respect XDG Spec #116

alichtman opened this issue May 27, 2023 · 0 comments

Comments

@alichtman
Copy link

alichtman commented May 27, 2023

It would be awesome if synaptic respected the XDG Spec to reduce clutter in $HOME.

$ ll ~/.synaptic
.rw-rw-r-- alichtman alichtman   0 B Sat May 27 2023 05:40:06 AM  options
.rw-rw-r-- alichtman alichtman 322 B Sat May 27 2023 05:40:06 AM  synaptic.conf

I think the patch would need to be made right here: https://github.com/mvo5/synaptic/blob/a6ac0c3be9b587b90632bef2997fbe31d16b2355/common/rconfiguration.cc#L140-L146C25

If ~/.synaptic exists, use that.
Else, create $XDG_CONFIG_HOME/synaptic if needed and use that as the config dir.

@mvo5, would you accept a PR for this issue?

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

No branches or pull requests

1 participant