Gedit asking for gnome-3-26-1604 which doesn't work

I was just about to open a text file in gedit, but it wouldn’t open. Trying to launch it from a terminal I’m getting this:

$ gedit
You need to connect this snap to the gnome platform snap.

You can do this with those commands:
snap install gnome-3-26-1604
snap connect gedit:gnome-3-26-1604 gnome-3-26-1604:gnome-3-26-1604

(the '3-26-1604' number defines the platform version and might change)
$ snap connect gedit:gnome-3-26-1604 gnome-3-26-1604:gnome-3-26-1604
error: snap "gnome-3-26-1604" has no slot named "gnome-3-26-1604"

System details:

snap version
snap    2.28.1
snapd   2.28.1
series  16
ubuntu  16.04
kernel  4.4.0-87-generic

the connect line should just be:

snap connect gedit:gnome-3-26-1604 gnome-3-26-1604

@kenvandine can we change that ?

Sure, I just pushed a fix for the desktop helpers. Next rebuild will pick that up. However that should have been autoconnected

That doesn’t work for me either:

error: snap "gnome-3-26-1604" has no "content" interface slots

weird, works just fine on both machines i tested on over here …

Do you have gnome-3-26-1604 installed?

1 Like

Apparently not. I guess the error message needs improving, it seemed to imply that it was installed - something that has no "content" interface slots would be installed to my mind.

That said, after installing and connecting it, it works!