jaakristioja/web-eid

/usr/{lib vs lib64/mozilla/native-messaging-hosts - Firefox would not load Web EID in lib64

Opened this issue · 0 comments

lkraav commented

Turns out my installation has 2 native-messaging-hosts installation directories, maybe because of over-eager gnome-extra/gnome-browser-connector

⌁ [leho:~] $ qlist gnome-extra/gnome-browser-connector | grep native
/usr/lib64/mozilla/native-messaging-hosts/org.gnome.browser_connector.json
/usr/lib64/mozilla/native-messaging-hosts/org.gnome.chrome_gnome_shell.json
/usr/lib/mozilla/native-messaging-hosts/org.gnome.browser_connector.json
/usr/lib/mozilla/native-messaging-hosts/org.gnome.chrome_gnome_shell.json
/etc/chromium/native-messaging-hosts/org.gnome.browser_connector.json
/etc/chromium/native-messaging-hosts/org.gnome.chrome_gnome_shell.json
/etc/opt/chrome/native-messaging-hosts/org.gnome.browser_connector.json
/etc/opt/chrome/native-messaging-hosts/org.gnome.chrome_gnome_shell.json

But web-eid installed into only lib64 and browser extension was not able to find it

[leho:/]└2 $ qlist web-eid | grep native
/usr/lib64/mozilla/native-messaging-hosts/eu.webeid.json

Web EID sprung to life after I manually symlinked manifest into /usr/lib. I think if Firefox starts using which directory it finds first, and doesn't scan further.

I'm not sure what the current guidelines for installing browser extensions are on Gentoo, but looks like need to find out more.