-
-
Notifications
You must be signed in to change notification settings - Fork 532
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
Place configs in $XDG_CONFIG_HOME #702
Comments
Thanks for the issue. I think this is a good idea for Linux, and my recollection is that id moved to using .config with Doom 3. This would be similar to Windows where we have a default of using %APPDATA% (as documented in the Player's Guide) but have a switch to revert to the old single-user behavior which is less supported these days by the OS. However, I should say since ioquake3 (and id) has already supported a traditional user dot directory under Linux, there is less of a need to modify that behavior for Linux, in my opinion. I'd probably take a well-thought out PR that preferences the XDG standard for new installations under Linux (and I assume this is also the standard for desktop BSD, excepting macOS) but I'm happy to hear other thoughts on the subject. |
XDG splits up config and data. I'm personally not excited for splitting it up as it seems like makes things more confusing. Doom 3 used ~/.doom3 but dhewm3 uses ~/.config/dhewm3 and ~/.local/share/dhewm3. The majority of files should be in XDG data home; screenshots, downloaded pk3 files, etc. There is XDG data home support in ioquake3 for Flatpak. Proof of concept PR (#703): Existing installs continue to use ~/.q3a but new installs use ~/.local/share/q3a. Two questions;
Honestly the answer to both of these is probably yes despite the code being more complex that way. |
Thanks for coming up with a PR and your thoughts on this, zturtleman!
Completely agree, splitting up user files into two places makes little sense to me and I think will lead to more user and support headaches in the future. Still happy to hear feedback as to why that's a good idea. Maybe for managed installs via flatpaks and snaps there is some kind of benefit to having the two directories per application? Maybe the configuration directory would be less confusing for a user to browse if it is free of data files.
I think so, but it does potentially ruin interoperability a little bit which might stink. Would love to hear from the perspective of people making forks on this item. It's entirely possible we are already doing config file changes that are annoying, but at least we could avoid one. Do you have any thoughts from that perspective? |
There is also Splitting config and data could introduce a new headache, this could require a change in the FS code (like introducing a new
Even if ioquake3 has interoperability in mind, it's still a different product that introduces some new features and configurations. I believe |
Dear developers,
this is forwarded from openmohaa: openmoh/openmohaa#588
It would be nice if you could place the configs in
$XDG_CONFIG_HOME
according to the XDG Base Directory Specification:$HOME
is a lot cleaner if configs are in~/.config/openmohaa
compared to~/.openmohaa
.The text was updated successfully, but these errors were encountered: