I was wondering whether anyone uses KeePassXC with the Firefox browser add-on on Zorin OS. I can't get the browser add-on to recognize the app. I spent a better part of yesterday trying to figure out a solution but just can't seem to get it to work. Any help?
As long as you don't run Gentoo or any other distro that require you to compile your own packages, you can install the Firefox from repos and you'll have the same result.
I really suggest you to use yours distro package manager to install Firefox and use KeePassXC as flatpak, cause this way you'll have your apps updated.
Your solution, despite works, you'll have to update the packages by hand
However be aware that Ubuntu force you to install Firefox Snap even if you run apt install firefox, so you'll face the same issue. For this reason I suggest you to move away from Ubuntu
In my opinion, the web browser is the single most important application that should be sandboxed on a system. We use them to access nearly everything on the Internet, including resources that are routinely laden with obfuscated JavaScript.
Every attempt should be made to separate the browser from the host system, and circumventing that safeguard in order to facilitate direct access to your password database is risky at best.
Edit: I don't mean to suggest that I have the perfect solution either, but I keep everything sandboxed and just opt for KeePassXC's native global hotkey for auto-filling credentials.
This is the solution that I followed mostly, but I didn't manage to make it work. I think the XDG-something is different for me. I'm new to Linux so I couldn't figure out what I was doing wrong following this solution :/ Might have to read up on sockets and the terminology used a bit more...
Usually this is the main reason and I had to do the same for librewolf. And if I am not mistaken if you are hardening FF you need to make sure you are not blocking native messaging capabilities, IIRC flatpaks might also have similar “issues”.