22

Using this guide which is for Ubuntu 20.04 (and worked successfully in that version with GNOME version 3.36.8) what are the installation requirements in 22.04 LTS to avoid the following error message?

Although GNOME Shell integration extension is running, native host connector is not detected. Refer documentation for instructions about installing connector

I have taken the step sudo apt install chrome-gnome-shell but to no avail.

The version of GNOME in 22.04 LTS is v42.0.

Have I missed something vital?

graham
  • 13,289

3 Answers3

53

Use the Extension Manager instead. It has less steps to getting the extensions compared to getting through the GNOME shell add-on integration with Firefox. You can install it by opening a terminal and running:

sudo apt-get update
sudo apt-get upgrade
sudo apt install gnome-shell-extension-manager

Once installed, you can use the GUI and search for extensions compatible with 22.04.

Note: GNOME extensions can no longer be installed via Firefox in Ubuntu 22.04 by default, since Firefox now comes as a snap package.

ManOnTheMoon
  • 1,532
  • 8
  • 21
  • Thanks for that. I have a share mounted that I'd like to display on the dash (desktop). It appears in the dock but can't find way of showing it using shell-extension-manager. I've added Desktop Icons to the manager but I don't think that works (yet). Any ideas? – graham Apr 25 '22 at 14:57
  • @24601 click the setting of the desktop icon extension while in the manager, there are toggles for ext or network drivers to appear on the desktop – ManOnTheMoon Apr 25 '22 at 15:09
  • That errors in 22.04. "[...] but there's been a problem: the settings for this extension can't be displayed" The error is "No property border_width on GtBox" – graham Apr 25 '22 at 15:20
  • @24601, if you are using Desktop Icon NG(DING) and running the original theme, reboot should solve the problem. However, if you are not running original theme or running other additional extensions, you might wanna turn them off first as some of them are either still "glitchy" or not supported yet. I am running skeleton extensions now. Only Desk to panel and Desktop Icon NG. I tried running a couple of others prior and had problems. – ManOnTheMoon Apr 25 '22 at 15:26
  • 1
    No, I'm running it vanilla and reboot has not solved the problem as both extensions available for Desktop Icon are incompatible with this version of Gnome. Other options however do work (such as single click for extensions shared with nautilus) so the Extensions tool works. Guess I'll have to wait till some of the apps mature into this version. Thanks anyway – graham Apr 25 '22 at 16:47
  • 1
    I have removed the snap version of Firefox and reinstalled FF via APT. gnome-shell is in place but the Gnome Shell Extension still won't work. I still got the error "Although GNOME Shell integration extension is running, native host connector is not detected." – NeoRey Jul 14 '22 at 11:46
  • 3
    I used this guide to install FF via APT: [link(https://www.omgubuntu.co.uk/2022/04/how-to-install-firefox-deb-apt-ubuntu-22-04)

    The standalone extension manager works great though.

    – NeoRey Jul 14 '22 at 11:59
  • @NeoRey that would be useful as an answer if you'd care to offer it. I've done just that and it works well. Thanks. – graham Jul 31 '22 at 12:23
  • I've installed this but see no GUI? – intrigued_66 Sep 19 '24 at 18:43
  • @intrigued_66 Are you using Wayland? Try switching to Xorg and launching the application there. If it opens successfully on Xorg, you can switch back to Wayland after enabling the extensions. The extensions and keyboard shortcuts should continue working properly on Wayland once they're configured. – Nirmal Jun 02 '25 at 18:35
  • Thanks. However, as of 2025-08-20, the recommended installation method is as a Flatpak (works great in Ubuntu 25.04). See https://mattjakeman.com/apps/extension-manager – glarrain Aug 20 '25 at 14:31
0

You don't need to rely on GUI, that is time consuming and ineffective. Instead, just run this Unix shell script

#!/usr/bin/env bash
### GNOME extensions ###
# List of extension URLs (replace with more URLs as needed)
urls=(
  'https://extensions.gnome.org/extension/28/gtile/'
  'https://extensions.gnome.org/extension/517/caffeine/'
  'https://extensions.gnome.org/extension/545/hide-top-bar/'
)

Loop through each URL

for url in "${urls[@]}"; do echo "url = ${url}"

get package metadata

id=$(echo "${url}" | cut --delimiter=/ --fields=5) url_pkg_metadata="https://extensions.gnome.org/extension-info/?pk=${id}"

Extract data for each extension

uuid=$(curl -s "$url_pkg_metadata" | jq -r '.uuid' | tr -d '@') latest_extension_version=$(curl -s "$url_pkg_metadata" | jq -r '.shell_version_map | to_entries | max_by(.value.version) | .value.version') latest_shell_version=$(curl -s "$url_pkg_metadata" | jq -r '.shell_version_map | to_entries | max_by(.value.version) | .key')

get package

filename="${uuid}.v${latest_extension_version}.shell-extension.zip" url_pkg="https://extensions.gnome.org/extension-data/${filename}" wget -P /tmp "${url_pkg}"

install package

gnome-extensions install "/tmp/${filename}"

Print the results

echo "For URL: $url" echo "UUID: $uuid" echo "Latest extension version: $latest_extension_version" echo "Latest shell version: $latest_shell_version" echo "--------------------------------------" done

Replace the extension URLs to those you are interested in. For further info, see here.

0

After installing both chrome-gnome-shell and the Firefox extension, I was able to install an extension via (Snap) Firefox.

It didn't work immediately, but after poking around in the Add-on preferences and refreshing the Gnome extension webpage I eventually got this on/off switch shown in the screenshot, which worked to install the extension:

screenshot of extension page

David
  • 121