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

Increase XDG directory specification adherence #1359

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

flavionm
Copy link

The XDG Base Directory Specification has pre-defined defaults for when the respective environment variables are not set. Many Linux distros explicitly set them to be equivalent to the default, but not all do.

This PR makes it so that when those variables are not set on a Linux system, the user directories will be created on the respective defaults. Setting the variables to a different value will still have precedence, as will a pre-existing user directory in the home folder.

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 this pull request may close these issues.

1 participant