JabRef 5.9, Linux Portable, out of any sandboxes
Linux Manjaro 23.0.0
Jabref-extension in Vivaldi, latter one as Linux native package, not sandboxed
Jabref-extension in Firefox, and Chromium both sandboxed (Snap)
Those browsers here sandboxed in snap app don’t get connected to JabRef-app. Not sandboxed Vivaldi connects to JabRef app with no problems.
First idea was confinement of browser snap app to be forming a barrier for JabRef to browser connection, however no apparmor=“DENIED” logs related to web-browsers in use and at time period corresponding to test were found in journal log (systemd).
-
How to troubleshot further?
-
Is it true
for file org.jabref.jabref.json to be placed in file tree sub-folder named native-messaging-hosts
in Mozilla Firefox case while for Chromium/Chrome and all its derivatives the sub-folder name needs to be NativeMessagingHosts
if the configuration is desired to be valid only for selected user account?
- Is native messaging host interface an implementation of JabRef-team?
[user@pc230]$ tree --filelimit=6 /opt/jabref-5.9/
/opt/jabref-5.9/
├── bin
│ └── JabRef
└── lib
├── app
│ └── JabRef.cfg
├── jabrefHost.py
├── JabRef.png
├── libapplauncher.so
├── native-messaging-host
│ ├── chromium
│ │ ├── bifehkofibaamoeaopjglfkddgkijdlh.json
│ │ └── org.jabref.jabref.json
│ └── firefox
│ └── org.jabref.jabref.json
└── runtime
├── bin [19 entries exceeds filelimit, not opening dir]
├── conf
│ ├── logging.properties
│ ├── net.properties
│ ├── sdp
│ │ └── sdp.conf.template
│ ├── security
│ │ ├── java.policy
│ │ ├── java.security
│ │ └── policy
│ │ ├── limited
│ │ │ ├── default_local.policy
│ │ │ ├── default_US_export.policy
│ │ │ └── exempt_local.policy
│ │ ├── README.txt
│ │ └── unlimited
│ │ ├── default_local.policy
│ │ └── default_US_export.policy
│ └── sound.properties
├── legal [44 entries exceeds filelimit, not opening dir]
├── lib [40 entries exceeds filelimit, not opening dir]
└── release
17 directories, 21 files
[user@pc230]$ cat ~/.mozilla/native-messaging-hosts/org.jabref.jabref.json
{
"name": "org.jabref.jabref",
"description": "JabRef",
"path": "/opt/jabref-5.9/lib/jabrefHost.py",
"type": "stdio",
"allowed_extensions": [
"browserextension@jabref.org",
"@jabfox"
]
}
[user@pc230]$ cat ~/.config/google-chrome/NativeMessagingHosts/org.jabref.jabref.json
{
"name": "org.jabref.jabref",
"description": "JabRef",
"path": "/opt/jabref-5.9/lib/jabrefHost.py",
"type": "stdio",
"allowed_origins": [
"chrome-extension://bifehkofibaamoeaopjglfkddgkijdlh/",
"chrome-extension://pgkajmkfgbehiomipedjhoddkejohfna/"
]
}
[user@pc230 ~]$ cat ~/.config/chromium/NativeMessagingHosts/org.jabref.jabref.json
{
"name": "org.jabref.jabref",
"description": "JabRef",
"path": "/opt/jabref-5.9/lib/jabrefHost.py",
"type": "stdio",
"allowed_origins": [
"chrome-extension://bifehkofibaamoeaopjglfkddgkijdlh/",
"chrome-extension://pgkajmkfgbehiomipedjhoddkejohfna/"
]
}
[user@pc230 ~]$ cat ~/.mozilla/native-messaging-hosts/jabref_browser_extension.log
[user@pc230 ~]$