keepassxc icon indicating copy to clipboard operation
keepassxc copied to clipboard

Use XDG path in Firefox

Open nazar-pc opened this issue 2 months ago • 6 comments

Have you searched for an existing feature request?

  • [x] Yes, I tried searching

Brief Summary

Firefox Nightly supports XDG spec (finally!). This means on Linux ~/.config/mozilla can be used instead of ~/.mozilla.

However, ~/.mozilla/native-messaging-hosts/org.keepassxc.keepassxc_browser.json is still used unconditionally. It'd be really nice if this path changed to a proper XDG location too.

Example

No response

Context

No response

nazar-pc avatar Dec 03 '25 00:12 nazar-pc

We still need to support the old path as a fallback. Moving this to the KeePassXC side where the manifest files are written.

varjolintu avatar Dec 03 '25 04:12 varjolintu

Just for the reference if anyone will find this, currently if you move native-messaging-hosts/org.keepassxc.keepassxc_browser.json to $HOME/.config/mozilla integration will be broken.

If you keep it in $HOME/.mozilla it's working, even if you moved everything else to $HOME/.config/mozilla.

shmerl avatar Dec 10 '25 01:12 shmerl

Just for the reference if anyone will find this, currently if you move native-messaging-hosts/org.keepassxc.keepassxc_browser.json to $HOME/.config/mozilla integration will be broken.

If you keep it in $HOME/.mozilla it's working, even if you moved everything else to $HOME/.config/mozilla.

This should be a bug filed with mozilla

droidmonkey avatar Dec 10 '25 11:12 droidmonkey

So this is not something that extension itself can control?

nazar-pc avatar Dec 10 '25 11:12 nazar-pc

Filed https://bugzilla.mozilla.org/show_bug.cgi?id=2005167

nazar-pc avatar Dec 10 '25 11:12 nazar-pc

Referenced it here: https://bugzilla.mozilla.org/show_bug.cgi?id=2001887

Which is another place where the spec is broken.

shmerl avatar Dec 10 '25 15:12 shmerl