Chrome Gnome Shell does not work with Chromium snap


#1

I installed the chromium snap and it works beautifully. The only issue I’m facing is that chrome gnome shell, which is required to install Gnome Shell extensions from extensions.gnome.org does not appear to work with the snap. Is there a way to work around this?


Firefox snap is unable to access chrome gnome shell connector
#2

chromium looks for the messaging extension (used to communicate with gnome-shell) in /etc/chromium/native-messaging-hosts/, which appears to be allowed by the apparmor profile:

$ grep -n “/etc/chromium” /var/lib/snapd/apparmor/profiles/snap.chromium.chromium
1250:/etc/chromium/{,**} r,

stracing the snap reveals that /usr/bin/chrome-gnome-shell cannot be found in the context of the snap:

15760 access("/usr/bin/chrome-gnome-shell", F_OK) = -1 ENOENT (No such file or directory)

This is not an apparmor denial. Inside the snap’s execution environment, /usr/bin is in fact /snap/core/current/usr/bin.


#3

I filed bug #1741074 to track the issue.