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

FEX does not comply with the "XDG Base Directory Specification" #4369

Open
kuruczgy opened this issue Feb 19, 2025 · 0 comments
Open

FEX does not comply with the "XDG Base Directory Specification" #4369

kuruczgy opened this issue Feb 19, 2025 · 0 comments

Comments

@kuruczgy
Copy link

According to the spec:

$XDG_DATA_HOME defines the base directory relative to which user-specific data files should be stored. If $XDG_DATA_HOME is either not set or empty, a default equal to $HOME/.local/share should be used.
$XDG_CONFIG_HOME defines the base directory relative to which user-specific configuration files should be stored. If $XDG_CONFIG_HOME is either not set or empty, a default equal to $HOME/.config should be used.

But if both of these are unset, FEX creates its config directory at $HOME/.fex-emu, instead of under $HOME/.config.

Also it seems that if $XDG_CONFIG_HOME is set then $XDG_CONFIG_HOME/.fex-emu is used. I think $XDG_CONFIG_HOME/fex-emu should be used instead, since this is the convention that pretty much every other application follows (not creating hidden directories under $XDG_CONFIG_HOME).

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

No branches or pull requests

1 participant