Although GNOME Shell integration extension is running, native host connector is not detected [duplicate]
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
Solution 1:
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 a 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.
or bounce from a terminal by running
killall -3 gnome-shell
Now go back to
- https://extensions.gnome.org/extension/120/system-monitor/
and turn on the monitor extension. The resource monitor widget will now appear on desktop top status bar.
UPDATE On Ubuntu 20.04, after doing the above, if it errors out, run the 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/[email protected]/extension.js
Then bounce your GNOME Shell using:
- Alt + F2, type r then Enter
I have run fresh installs of Ubuntu 20.04 on a handful of laptops and some work others fail to run this so the mystery continues...
UPDATE2 Apparently if you are running Chromium as a Snap in Ubuntu 20.04, this is a known bug. Using Firefox one can circumnavigate this issue and it should work.
PS and yes this also works for Ubuntu 21.10 ( as of May 21 2021 )