How to access KeePassXC in firejailed Opera with the KeePassXC Browser extension

To get the extension installed, use this extension, then go to the Chrome web store.

To be able to access KeePass from Opera, when it’s running in Firejail, you basically need to make opera.profile match chromium.profile, make a new file called opera.local and put the below in it.

noblacklist ${HOME}/.cache/opera
noblacklist ${HOME}/.config/opera
noblacklist ${HOME}/.opera
noblacklist ${HOME}/.pki
include /etc/firejail/disable-common.inc
include /etc/firejail/disable-devel.inc
include /etc/firejail/disable-programs.inc
mkdir ${HOME}/.cache/opera
mkdir ${HOME}/.config/opera
mkdir ${HOME}/.opera
mkdir ${HOME}/.pki
whitelist ${DOWNLOADS}
whitelist ${HOME}/.cache/opera
whitelist ${HOME}/.config/opera
whitelist ${HOME}/.opera
whitelist ${HOME}/.pki
include /etc/firejail/whitelist-common.inc
include /etc/firejail/whitelist-var-common.inc
caps.keep sys_chroot,sys_admin
netfilter
nodvd
nogroups
notv
shell none
disable-mnt
private-dev

It’s basically the same as the chromium.profile now.

To run it:

firejail --profile=opera.local opera

Update

Working instructions here.