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

Config files are created in home directory #14

Open
DinoVeVe opened this issue Jul 29, 2024 · 1 comment
Open

Config files are created in home directory #14

DinoVeVe opened this issue Jul 29, 2024 · 1 comment

Comments

@DinoVeVe
Copy link

I am using EndeavourOS (Arch Linux) and the .ColorGrab config directory is being created in $HOME for me. I would expect ColorGrab to respect the XDG_CONFIG_HOME variable and place it under $HOME/.config.

I have found the following wxWidgets documentation page that suggests that the expected behaviour is what should happen: Using XDG-compliant Config Files.

Theory: Given that that page was posted in January this year, perhaps the wxWidgets dependency needs to be updated?

@nielssp
Copy link
Owner

nielssp commented Aug 2, 2024

From the link it seems this issue will mostly fix itself when wxWidgets 3.3.0 is released. This hasn't happened yet, but when it does it's up to the various Linux distros to update their wxWidgets packages. Like most C and C++ projects, ColorGrab doesn't specify specific versions of its dependencies but will use the version of wsWidgets installed on the system already.
I wasn't aware of SetFileLayout(wxStandardPaths::FileLayout_XDG), if I had been I would have used it from the start.

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

2 participants