"Although GNOME Shell integration extension is running, native host connector is not detected" error in 22.04

7,508

Solution 1

Ubuntu 22.04 forces the Firefox Snap default for everyone, across every flavour. Sadly the Snap version of Firefox in Ubuntu 22.04 won’t (currently) let you install GNOME extensions from the GNOME extension website.

Until this is fixed, you will need to install Gnome Shell extensions manually as in this answer by vanadium, but you have also an alternative: the Extension Manager app has been made available in jammy universe repo . It is a native tool for browsing, installing, and managing GNOME Shell Extensions written with GTK 4 and libadwaita.

Extension Manager Screenshot

Till now, it was available only as a flatpak app, but now has been packaged as deb and available in Ubuntu universe repo.

The tool supports (copy paste from the GitHub page):

  • Browsing and searching extensions from extensions.gnome.org
  • Installation and Removal
  • Enabling and Disabling
  • Updating in-app
  • Screenshots & Images
  • Ratings & Comments
  • Translations

You can install it running in a terminal sudo apt install gnome-shell-extension-manager or following the instructions in the GitHub page

Solution 2

After the upgrade, your Firefox browser was changed to a snap version. One of the current issues with the snap version is that the Gnome Shell extensions website does not work.

Extension manager desktop application

Update: with Ubuntu 22.04, a new graphical tool was included in the standard Ubuntu software repositories, Extension Manager. Thus, it can now be very easily installed in Ubuntu 22.04 from Software Store, and offers a graphical desktop application that provides much of the functionality of the Gnome Shell extensions website. See the answer of Lorenz Keel for more details.

Download and manual installation

Gnome Shell extensions can be installed manually. While one can manually put the files in place to install it, the easiest and most fool-proof way is to use the gnome-extensions command line tool:

  1. Download the zip archive of the extension from the Gnome Shell Extensions website. You can do so by selecting your Gnome Shell version from the dropdown field next to "Download" (42 for Ubuntu 22.04). That will cause a second drop down to appear to select the version of the extension. Once you select that, download will proceed immediately.
  2. Find the downloaded archive in your file manager. By default, Firefox will download to the Downloads folder, but that can be set up differently.
  3. Once you see the downloaded file in your file manager, select "Open terminal here". That will open the terminal into that directory. Alternatively, open the terminal and use the cd command to change the directory, e.g. cd ~/Downloads to make the Downloads folder the current directory.
  4. Install the extension with the command
    gnome-extensions install -f <name of downloaded zip file>.zip 
    

Tip: Use tab completion. Type gnome-extTab to autocomplete the command name, then insTab to autocomplete "install", then the first few letters of the file name and Tab to autocomplete the file name.

To turn extensions on and of, install the Extensions tool: sudo apt install gnome-shell-extension-prefs

Share:
7,508
BeastOfCaerbannog
Author by

BeastOfCaerbannog

Death awaits you all with nasty, big, pointy teeth! Cis man, he/him. Formerly known as user3140225.

Updated on January 04, 2023

Comments

  • BeastOfCaerbannog
    BeastOfCaerbannog over 1 year

    I upgraded my system from Ubuntu 20.04 LTS to 22.04 LTS and I'm now facing this error on the GNOME Shell extensions webpage:

    image showing the error

    This was solved in previous versions, and I have tried these solutions:

    However, they don't seem to work anymore.

    How can I fix this?

    • Admin
      Admin almost 2 years
      I wonder if it's because your Firefox is running in a Snap. The extension is known not to work in snaps.
    • Admin
      Admin almost 2 years
      A question about installing extensions in 22.04 with Firefox snap has been marked as a duplicate of how to remove the snap version? Everybody has the freedom to keep using the Snap version, hence learning how extensions can be installed a different way. Marking questions as duplicate should not be opinion based.
    • Admin
      Admin almost 2 years
      i am a rookie here and i have mistakenly added that link, I have tried like hell to remove it, but not been able to find how can i do that so.
  • Admin
    Admin almost 2 years
    Extension Manager is also available as a Flatpak. Tested and working on Pop OS 22.04
  • Admin
    Admin almost 2 years
    Just tried the app, simple and effective, I recommend
  • Admin
    Admin almost 2 years
    I installed Extension Manager, but the hamburger menu doesn't open. If I click on it, it sometimes freezes Extension Manager. It could be it happens because I am using a virtual machine on VirtualBox.
  • Admin
    Admin almost 2 years
    I ended up using gnome-extensions, since I usually install Gnome Shell extension when I install Ubuntu on a virtual machine or a computer. After that, I don't install new extensions.