17

On a fresh install of 18.10 I attempted to install CPU usage widget

https://extensions.gnome.org/extension/120/system-monitor/

on that link it errors showing :

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

29

first install this (its what appears in your error popup)

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install chrome-gnome-shell 

however on new OS install you will still get errors until you also install these

#  Ubuntu 20.04
sudo apt-get install libproxy1-plugin-networkmanager gnome-shell-extension-system-monitor

# Ubuntu 19.10
sudo apt-get install gir1.2-nm-1.0 

or

# pre Ubuntu 19.10
sudo apt-get install gir1.2-gtop-2.0 gir1.2-nm-1.0  gir1.2-clutter-1.0

then bounce your gnome shell by typing

Alt + F2, type "r" then Enter

now go back to

https://extensions.gnome.org/extension/120/system-monitor/

and turn on the monitor extension ... resource monitor widget will now appear on desktop top status bar


UPDATE on ubuntu 20.04 after doing above if it errors out run following in a terminal

wget https://raw.githubusercontent.com/paradoxxxzero/gnome-shell-system-monitor-applet/fac6b7646346264bd75813a9d606dd5ba5152d6b/system-monitor%40paradoxxx.zero.gmail.com/extension.js -O ~/.local/share/gnome-shell/extensions/system-monitor@paradoxxx.zero.gmail.com/extension.js

then bounce your gnome shell using
Alt + F2, type "r" then Enter

| improve this answer | |
  • 6
    Installing chrome-gnome-shell package should be enough to fix the "native host connector is not detected" issue in general. You may need other packages to fulfil the dependencies of the extension in particular. – pomsky Jan 8 '19 at 8:42
  • 1
    just a quick addendum - as @Ceisc commented here askubuntu.com/a/1034692/888540 - "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" – hananamar Oct 30 '19 at 8:58
  • 1
    When I am trying to install the additional packages with apt, in Ubuntu 19.10 I am getting the following error E: Package 'gir1.2-networkmanager-1.0' has no installation candidate – lefterav Dec 5 '19 at 13:18
  • @lefterav gir1.2-networkmanager-1.0 has been replaced by gir1.2-nm-1.0 – bdombro Apr 13 at 18:45
  • None of these helped me with Chromium (both snap and apt versions). But it did work with Brave browser (which is based on Chromium) with the same Chrome extesion. – Mantas Lukosevicius Apr 24 at 17:52

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