3rd-party app (JabRef, jebref.org) wants to communicate with Chromium snap using Native Messaging Hosts. Only following detail was found regarding interface:
$ 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/"
]
}
$ 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
No idea how to search for further NMH details.
For Linux Manjaro here the connection is not working - JabRef-extension installed in Chromium fails to connect with JabRef app. However, Vivaldi in Linux-native package (not sandboxed) can talk to JabRef with no problems.
How does apparmor be modified in order to enable connection?
Exact same point regarding Firefox snap app.