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

Use XDG base directories to store configs and data #292

Closed
wants to merge 1 commit into from
Closed

Use XDG base directories to store configs and data #292

wants to merge 1 commit into from

Conversation

amhndu
Copy link

@amhndu amhndu commented Aug 15, 2018

nstdir now points to $XDG_DATA_HOME/nestopia/ and config files are stored
in $XDG_CONFIG_HOME/nestopia/ to conform to XDG base directory
specification.

This is a preliminary pull request, I've simply changed the respective hardcoded paths.
It does not consider compatibility with previous configuration, or trying it move it over etc.

Motivation:
A majority of desktop applications and environments have now switched to using XDG paths,
and this leads to a more organized file structure and uncluttered home directory, among other things.
Spec: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html

nstdir now points to $XDG_DATA_HOME/nestopia/ and config files are stored
in $XDG_CONFIG_HOME/nestopia/ to conform to XDG base directory
specification.
@rdanbrook
Copy link
Member

Sorry, this isn't something I'm interested in changing. Many programs have not moved over to XDG paths, and this is one of them. I plan to keep it that way for the foreseeable future.

@rdanbrook rdanbrook closed this Aug 15, 2018
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.

2 participants