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

Configuration files on GNU / Linux #142

Closed
alabarre opened this issue Nov 8, 2021 · 1 comment
Closed

Configuration files on GNU / Linux #142

alabarre opened this issue Nov 8, 2021 · 1 comment

Comments

@alabarre
Copy link

alabarre commented Nov 8, 2021

I usually create links to binary files that do not come from a package in ~/bin/ which I include in PATH to be able to launch them from anywhere.

This is a problem for QuakeInjector, because it stores its configuration in the directory from which it is launched. So launching it from, say, ~/Games/Quake/QuakeInjector will store config.properties, database.xml and installedMaps.xml in ~/Games/Quake/QuakeInjector, but launching it via the link I store in ~/bin/ will create new (and empty!) configuration files in ~/bin/ since the program cannot find the files it previously created.

Shouldn't QuakeInjector store its configuration in some fixed directory (say, ~/.quakeinjector/config/) to avoid those problems?

@SpiritQuaddicted
Copy link
Collaborator

Definitely! It annoys me very much too and this should not be too hard to fix for someone who knows what they are doing (at least I hope it is easy in Java to get the appropriate directory with proper modern XDG support). There is an issue already: #117

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

2 participants