How to get KeePassXC to work with Librewolf


native messaging

You’ll need to have Firefox installed on the machine, even if you don’t use it. We’re going to borrow its Native Messaging component and use it in Librewolf.

To get native messaging to work for KeepassXC and others like the Plasma Integration, create a symlink by running this command:

Terminal
ln -s ~/.mozilla/native-messaging-hosts ~/.librewolf/native-messaging-hosts

Now, in KeePassXC settings, go to Browser Integration and select the Advanced tab.

Check the box for: Use a custom Browser Configuration Location

Set Browser Type to Firefox

Enter the following in Config Location:

Config Location
~/.librewolf/native-messaging-hosts

Posted

in

, ,

by

Comments

2 responses to “How to get KeePassXC to work with Librewolf”

  1. On Ubuntu 24.04 I didn’t have to use the second command
    “`
    sudo ln -s /usr/lib/mozilla/native-messaging-hosts /usr/lib/librewolf/native-messaging-hosts
    “`
    (which is good because there is no mozilla directory in /usr/lib) and it still worked

    1. Dave Merrick

      Yes that’s true. I think once upon a time there was a chance it was moved there and I was covering all the bases. I should probably update the article. Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *