-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Move configuration from '~/.cache' to '~/.config' #11564
Comments
See #9738 |
I think we need to move the database column state to the roaming config file @fonic you are free to override both config locations if you want with command line flags or env vars: https://keepassxc.org/docs/KeePassXC_UserGuide#_command_line_options |
I second that. The entire
Thanks for the tip, I'll try that. |
The GUI state has been moved out of the main config for a reason. Rather than moving it back, we should move it to $XDG_STATE_HOME instead as suggested in the linked issue. $XDG_CACHE_HOME was the closest we had back then, but not quite the correct location. $XDG_STATE_HOME is made for exactly this use case. |
Ahhhh, this is slated for 2.8.0 release: #9755 |
@droidmonkey Backport this to 2.7.10. I've been building with this patch for about a year now, works great. |
Poor choice of words on my part, sorry about that. What I meant with "move to main config" was basically move to folder If settings have to be kept separately, then why not use something like |
This all came about because some folks backup and sync their settings using git or rsync. I prefer how we do this with portable deployments, keepassxc.ini and keepassxc_local.ini. I do agree that splitting between two disparate directories is incredibly unnecessary. @xboxones1 I'm considering backporting |
On Windows, this translates to AppData and LocalAppData. Keeping it in separate directories makes it possible to pre-provision configs on multiple machines and enables automatic profile roaming. FDO hasn't fully specified this, but using config and state home are the closest approximation. |
Where this is technically true, the meaning of local and roaming on windows has been severely eroded with one drive and intune being prime tools. Not many large organizations use network shares for user profiles anymore. |
Should this issue be reopened until there is a consensus on how to proceed? |
There is a consensus and the PR was merged long ago. |
Recently, I cleared out
~/.cache
to fix an issue related to KDE/Plasma/Qt after a system upgrade. Normally, this shouldn't reset any application configuration, but in the case of KeePassXC, the entire database view configuration (displayed columns, column order etc.) was reset.I noticed that KeePassXC seems to store parts of its configuration data in
~/.cache/keepassxc/keepassxc.ini
. However, data in~/.cache
should by design be expandable and/or applications should be able to regenerate that data when needed.Therefore, I'd like to ask to move all configuration data to
~/.config
.For details, see:
https://forum.manjaro.org/t/stable-update-2024-12-06-systemd-qt-6-8-1-mesa-gstreamer-wireplumber/171581/58
The text was updated successfully, but these errors were encountered: