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
XDG Base Directory Support #94
Comments
Can I work on this? |
Sure, if you're wiling to |
Ok, in progress. Should be done by tomorrow, will hit you up if anything. |
gahag
added a commit
to gahag/nicotine-plus
that referenced
this issue
Oct 13, 2019
…s#94) This implementation falls back to the legacy ~/.nicotine directory if it exists. Otherwise, two new directories used: - XDG_CONFIG_HOME/nicotine/: config files. - XDG_DATA_HOME/nicotine/: database, plugins, logs, incomplete downloads, etc.
gahag
added a commit
to gahag/nicotine-plus
that referenced
this issue
Oct 13, 2019
Issue should be closed. |
It should be, but for some reason I'm still seeing ~/.nicotine/ and not ~/.config/nicotine. |
~/.config/nicotine will only be created and used if the legacy ~/.nicotine/ folder isn't present. |
Yup. You are right. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please consider adopting the freedesktop.org standard.
This would reduce home directory pollution and follow the expected behavior of linux applications, which can also help with backup programs which ignore
~/.cache
.The change should be simple, generally it's just checking for the XDG base directory environmental variables, and if they don't exist, default to using
~/.config
for configurations, and~/.cache
for cache.~/.application_name
should be avoided.The text was updated successfully, but these errors were encountered: