Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Use XDG base directories by default on Unix systems #60

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

Open
liff wants to merge 1 commit into oracle:master
base: master
Choose a base branch
Loading
from liff:topic/xdg-basedir

Conversation

@liff
Copy link

@liff liff commented Jan 31, 2018

See XDG Base Directory Specification .

Chooses userdir as follows:

  1. Use ~/.visualvm if it already exists (so as to not break existing usage),
  2. use $XDG_DATA_HOME/visualvm if XDG_DATA_HOME environment variable is defined and otherwise
  3. use ~/.local/share/visualvm.

Similarly for cachedir:

  1. Use ~/.cache/visualvm if it already exists or if XDG_CACHE_HOME environment variable is not defined, but if it is
  2. use $XDG_CACHE_HOME/visualvm.

JindrichPilar, pavlus, NotAShelf, JLyne, 0x6675636b796f75676974687562, and Selebrator reacted with thumbs up emoji
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer

@0x6675636b796f75676974687562 0x6675636b796f75676974687562 0x6675636b796f75676974687562 approved these changes

Reviewers whose approvals may not affect merge requirements

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /