Skip to content

Instantly share code, notes, and snippets.

@LeBaux
Last active April 20, 2019 16:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LeBaux/ad4e301e9c69d17294a8d73739af2d78 to your computer and use it in GitHub Desktop.
Save LeBaux/ad4e301e9c69d17294a8d73739af2d78 to your computer and use it in GitHub Desktop.
Getting Vivaldi snapshot and KeePassXC working in Linux

KeePassXC and Vivaldi on Linux

Vivaldi Snapshot never worked out of the box for me on both deb and arch based distros. Following the troubleshooting guide (ref, discussion) I wrote this idiot-proof guide for my future self and 4 other linux noobs who might run into this issue.

  1. We need to have the KeePassXC-Browser chrome extension installed and Browser Integration allowed in KeePassXC settings.
  2. Check if ~/.config/vivaldi-snapshot/NativeMessagingHosts/org.keepassxc.keepassxc_browser.json exists. If it does not, make the file and paste:
{
    "allowed_origins": [
        "chrome-extension://iopaggbpplllidnfmcghoonnokmjoicf/",
        "chrome-extension://oboonakemofpalcgghocfoadofidjkkk/"
    ],
    "description": "KeePassXC integration with native messaging support",
    "name": "org.keepassxc.keepassxc_browser",
    "path": "/usr/bin/keepassxc-proxy",
    "type": "stdio"
}
  1. Now we need to check if the proxy is running. ps -fC keepassxc-proxy or ps ax | grep keepassxc-proxy if it is not, we can start it /usr/bin/keepassxc-proxy
  2. Depending on the system, we want the proxy to auto-start. For i3 we can add exec /usr/bin/keepassxc-proxy into config ~/.i3/config. There are plenty other ways (ref), most quick and dirty would be adding a cron:
crontab -e
@reboot  /usr/bin/keepassxc-proxy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment