72

Just upgraded to Ubuntu 14.04, which seems to also make a full reinstall of Chromium (as all my plugins were removed).

Now, trying to access https://extensions.gnome.org/ to enable Gnome Shell extensions, but the message:

We cannot detect a running copy of GNOME on this system, so some parts of the interface may be disabled. See our troubleshooting entry for more information.

keeps appearing. There is nothing in my chrome://plugins page, but the site still seems to be whitelisted in my "click to play" settings. Has anyone found out how to force Chrome to get this plugin?

Braiam
  • 35,380
  • 25
  • 108
  • 167
bak202
  • 895
  • 2
  • 7
  • 8

5 Answers5

70

Chrome and Chromium dropped support for the NPAPI plugins (Netscape Plugin Application Programming Interface) in favor of PPAPI (Pepper Plugin Application Programming Interface) so all plugins that use NPAPI (like GNOME Extension plugin) are just not supported.

The only alternative is using another browser that allows them (like Firefox) or asking the developers to move to PPAPI (unlikely).

NOTE: This is the blog post from the Chromium blog mentioning this, titled: Saying Goodbye to Our Old Friend NPAPI.

slm
  • 363,520
  • 117
  • 767
  • 871
Braiam
  • 35,380
  • 25
  • 108
  • 167
  • 5
    I just stumbled into this today, I'm an avid chrome user, this is total BS. Any info on why the drop? – slm Jun 04 '14 at 22:14
  • 1
    More info on this: http://www.reddit.com/r/gnome/comments/1wvv60/extensions_cannot_be_installed_from/ – slm Jun 04 '14 at 22:26
  • As a work around there's this scripting solutiont to re-enable your extensions after a crash/update: http://askubuntu.com/questions/359958/extensions-are-turned-off-after-reboot – slm Jun 04 '14 at 22:28
  • @slm there has been angry users in all bug trackers, but [this is the main one](https://bugzilla.gnome.org/show_bug.cgi?id=727936) – Braiam Jun 04 '14 at 22:44
  • Unconfirmed (as of now) [bug report for chromium](https://code.google.com/p/chromium/issues/detail?id=382835) – ks1322 Dec 23 '14 at 14:52
11

You want to install the "chrome-gnome-shell" (and probably also the "GNOME Shell Integration" Chrome Extension)

You can find instructions to install chrome-gnome-shell for your distro here on the GNOME wiki.


Essentially, install for your distro:

And then add the Chrome Extension.

Martey
  • 163
  • 4
MattSturgeon
  • 748
  • 6
  • 7
  • This solved it for me. – Enrique Moreno Tent Apr 10 '18 at 09:41
  • Debian testing July 2018 - nope, doesn't work. It doesn't think the chrome-gnome-shell is installed. – RichieHH Jul 09 '18 at 09:13
  • Yes. For Ubuntu 18.04, I had to do both `sudo apt install chrome-gnome-shell` and click on the `Add to Chrome` button in [GNOME Shell integration](https://chrome.google.com/webstore/detail/gnome-shell-integration/gphhapmejobijbbhgpjhcjognlahblep) to fix this issue. – Sun Bear Apr 12 '19 at 06:12
0

I was getting this error because the plugin package was not installed. Installing it with Yum immediately fixed the problem, although you have to use Firefox because Chrome doesn't support the protocol they are using.

sudo yum install gnome-shell-browser-plugin
0

Install chrome-gnome-shell depending on your distro and for the first time execute:

/usr/bin/python3 /usr/bin/chrome-gnome-shell --gapplication-service

After this the addon from chrome will detect the native plugin.

karel
  • 1,961
  • 2
  • 17
  • 26
jics
  • 211
  • 2
  • 7
-3

Try going to chrome://flags/ and enabling Npapi