18

Got an error from Firefox saying :

Although the GNOME Shell integration extension is active, the native host connector is not recognized. Please consult the installation manual.

Which is an error that seems to never happen, I'm using Ubuntu 18.04 (Dual Boot Windows 10), and yes GNOME shell is installed via

sudo apt-get install chrome-gnome-shell

I'm using Firefox v64.0.2 (64 bits) snap.

Could someone help?

pomsky
  • 70,557
Mikaleb
  • 182

5 Answers5

6

You don't need to install extensions from extensions.gnome.org as they are also available in 'Ubuntu Software' app.

Launch Ubuntu Software, click add-ons, click extensions tab. Here you are able to install extensions.

pomsky
  • 70,557
LeonidMew
  • 2,802
6

Since you're using the snap version of Firefox 64.0.2, it's not unexpected given various restrictions of snappy.

This issue is already raised in snapcraft forum: https://forum.snapcraft.io/t/firefox-snap-is-unable-to-access-chrome-gnome-shell-connector/4562, but unfortunately no solutions were provided there.

Similar issue can be seen with the Chromium snap too: https://forum.snapcraft.io/t/chrome-gnome-shell-does-not-work-with-chromium-snap/3377/2
(see the bug-report)

pomsky
  • 70,557
4

Gnome extensions cannot be installed with the sandboxed snap versions of Firefox and Chromium.

However it is easy enough to install through the command line. Just download the extension from the https://extensions.gnome.org/ site then from a terminal run gnome-extensions install /path/to/extension.zip

You may need to logout and in again for the extension to appear in the list.

To Do
  • 15,833
2

One option to bypass the problem is to use the application "Extensions Manager" (not to be confused with "Extensions") instead of Firefox with the GNOME extension add-on. You can do the whole process of searching and installing extensions within the app. It can be installed via flathub, or e.g. with sudo apt install gnome-shell-extension-manager.

Jan
  • 151
1

For Ubuntu 20.04, I have also noticed that both snap installed Chromium and Brave Web browsers fails to work with the gnome-shell-integration extension. Brave is a derivative of Chromium.

In the case of Brave, this issue is overcome by following Brave's instruction on installing the .deb versions of the brave-browser and brave-keyring files.

$ sudo apt install apt-transport-https curl
$ sudo curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg
$ echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main"|sudo tee /etc/apt/sources.list.d/brave-browser-release.list
$ sudo apt update
$ sudo apt install brave-browser

However, the chromium-browser does not have an equivalent .deb package to overcome this issue. If one does issue the command sudo apt install chromium-browser, this command will instead instruct snap to install chromium.

The gnome-shell-integration extension does work with Firefox. It is a preinstalled .deb pkg of Ubuntu 20.04.

Sun Bear
  • 3,014