27

I upgraded my Dell Optiplex 9010 to Ubuntu 18.04 from Ubuntu 16.04. None of my GNOME web-browser-extensions (used for managing and installing extensions) work, neither the ones I have installed on Chromium, Chrome, or Firefox.

This has only been the case since my upgrade from 16.04 to 18.04.

This is what I see in every browser I open the URL on:

Although GNOME Shell integration extension is running, native host connector is not detected.

screenshot of error on extensions.gnome.org

How can I fix this?

wjandrea
  • 14,236
  • 4
  • 48
  • 98

6 Answers6

24

You need to install chrome-gnome-shell package so that your browser can detect your running GNOME Shell version. To install it run

sudo apt install chrome-gnome-shell

Note: Installing GNOME Shell extensions doesn't work with the snap versions of the browser applications. Also since the 19.10 release, Ubuntu offers only the snap version of Chromium, the apt version of Chromium is not available in the standard repos. In Ubuntu 21.10, Ubuntu offers the snap version of Firefox by default, although you can uninstall it and install the APT version of Firefox.

Flimm
  • 41,766
pomsky
  • 68,507
5

I also followed all the instructions and tips and still couldn't get it to work with Chromium in Ubuntu 20.04 as Chromium is offered only as a snap package since Ubuntu 19.10.

But I did get it working with Brave browser, with the same Chrome extension. So one solution would be switch to Brave (it is also based Chromium, so not a big difference).

pomsky
  • 68,507
1

Unfortunately it is no longer possible to install Chromium from apt on Ubuntu 20.04 because

chromium-browser - Transitional package - chromium-browser -> chromium snap

One solution is to use Chrome that seems to still have permissions for doing the job.

pomsky
  • 68,507
  • Chrome is not the "only solution" though, you can use Firefox (apt version) or other Chromium based browsers that can be installed with apt. – pomsky May 05 '20 at 18:34
0

Install the apt version of your browser install of the flatpack from Ubuntu Software. Example of installing apt version brave browser ( copied from Brave browser site sudo apt install apt-transport-https curl gnupg

curl -s https://brave-browser-apt-beta.s3.brave.com/brave-core-nightly.asc | sudo apt-key --keyring /etc/apt/trusted.gpg.d/brave-browser-prerelease.gpg add -

echo "deb [arch=amd64] https://brave-browser-apt-beta.s3.brave.com/ stable main" | sudo tee /etc/apt/sources.list.d/brave-browser-beta.list

sudo apt update

sudo apt install brave-browser-beta

Then install gnome shell extensions, then the browser Gnome Shell browser extension, and at that point you can install Gnome Shell Extensions.

majorgear
  • 151
0

A solution is to remove the snap package and install the apt package.

snap remove firefox
apt install firefox

It is a know bug since 2018, so for the moment, the apt is the only solution.

StR
  • 391
  • 3
  • 8
0

Instead of relying on the GNOME web-browser-extension and a browser at all, you can instead use the application "Extensions Manager" (not to be confused with "Extensions") that lets you search and install extensions. It can be installed via flathub, or e.g. with sudo apt install gnome-shell-extension-manager.

Jan
  • 131