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

Support XDG layout on Linux #66

Closed
peterhoeg opened this issue Mar 2, 2023 · 4 comments · Fixed by #83
Closed

Support XDG layout on Linux #66

peterhoeg opened this issue Mar 2, 2023 · 4 comments · Fixed by #83

Comments

@peterhoeg
Copy link

Currently, we get a directory named $HOME/.MQTTnetApp i which the various configuration files are written.

It would be great to follow the XDG Base Directory Specification https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html so as to not pollute $HOME.

Secondly, the casing is rather annoying on a case-sensitive file system where application directories are typically kept lower case. bash as an example will not auto-complete that out-of-the-box unless you get the casing right when typing the first letters.

@chkr1011
Copy link
Owner

Thanks for your feedback. Could you please share full samples for me because I am not that much familiar with Linux. Changing the directories will also require a migration component which will move the existing files around (or at least tries to read from the previous location etc.)

@peterhoeg
Copy link
Author

peterhoeg commented May 25, 2023 via email

@chkr1011 chkr1011 linked a pull request Feb 20, 2024 that will close this issue
@chkr1011
Copy link
Owner

chkr1011 commented Mar 9, 2024

@peterhoeg Do you plan to update the package in NixOS?

@peterhoeg
Copy link
Author

Thanks for the fix!

NixOS/nixpkgs#294665

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

Successfully merging a pull request may close this issue.

2 participants