18

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?

0
14

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.

6
  • 1
    I find, from reading the terminal in the Ubuntu installer as fast as one can, that Ubuntu "cleans up" a lot of useful, user-installed files when upgrading. May 10 '18 at 22:39
  • Yeah, done this and it's still saying the native host connector is not found. Any ideas what I should do from this point?
    – Ceisc
    May 28 '18 at 19:45
  • @Ceisc You can manually install extensions following this answer: askubuntu.com/a/1029180/480481 and manage them using GNOME Tweaks.
    – pomsky
    May 28 '18 at 20:24
  • 4
    OK, so it turns out the chrome-gnome-shell doesn't work if you install the version of Chromium that comes from the "Ubuntu Software" manager package, but does work if you install Chromium via apt.
    – Ceisc
    May 28 '18 at 21:28
  • 1
    @Ceisc Yes, it doesn't work with the snap versions of the browser applications.
    – pomsky
    Oct 30 '19 at 9:16
4

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).

4
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.

1
  • 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 5 '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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.