Yaru: None of the default provided snaps in 18.04 work properly with the snap community theme

Created on 22 Apr 2018  Â·  25Comments  Â·  Source: ubuntu/yaru

All will show this & open transparent
Gtk-WARNING **: Theme parsing error: gtk.css:1:0: Failed to import: Error opening file /snap/communitheme/current/share/themes/Communitheme/gtk-3.0/gtk.css: Permission denied
shm_open() failed: Permission denied

snap

Most helpful comment

Unfortunately, there's nothing I can do, we are waiting for the request to be approved. https://forum.snapcraft.io/t/auto-connection-of-gtk3-themes-icon-themes-and-sound-themes-interfaces/5118/10

Once that's done, it'll start auto-connecting

All 25 comments

We really need you here @didrocks

I think I explained that many times over the hub and in the other bug report about.
From https://github.com/ubuntu/gtk-communitheme/issues/325:

Posted a patch + discussion for snaps on https://forum.snapcraft.io/t/snap-using-themes-in-other-snaps/4946
The snap part will come once the new snaps using GNOME 3.28 for 18.04 using my gtk-common-theme snap is release.

So, basically, you need snap (see the forum topic) to use some special plugs to connect to gtk-common-theme snap. The team handling the snaps on 18.04 is aware.

Seems I can't assign to @kenvandine, but he's the man! :)

We also need to request auto-connect for those slots.

Any ETA? I realize this maybe difficult, but given that communitheme is getting traction and it is easily installable through Gnome-Software, users are going to end with unusable apps without really understanding why. Also, as a side note, flatpak already supports communitheme, before ubuntu's own snap.

We appreciate that you share our enthusiasm and trust me we love this theme, too. Yet there is not much won by trying to increase the pressure on @kenvandine - just wait a little bit longer - that's why this theme is not officially announced yet.

Sorry, it wasn't my intention to pressure anyone. I admit I was hoping this to be ready in time for 18.04, but I fully realize that software development can be much more difficult that it seems from the forums (and I would help if I could, but I don't think I have the know-how). I am just curious about the progress and current status.

Unfortunately, there's nothing I can do, we are waiting for the request to be approved. https://forum.snapcraft.io/t/auto-connection-of-gtk3-themes-icon-themes-and-sound-themes-interfaces/5118/10

Once that's done, it'll start auto-connecting

Hi @kenvandine I've seen you guys merging the auto-connection and have been cheering silently (or actually quiet loudly xD) - how and when will this change hit the currently installed gnome snaps in ubuntu 18.04:
frederik@xps:~$ sudo snap refresh gnome-
gnome-3-26-1604 gnome-characters
gnome-calculator gnome-system-monitor
?

These are all being updated today

screenshot from 2018-06-12 19-43-23

Yay! Thank you very much @kenvandine ! This issue is fixed now <3 /cheers /applaus

@didrocks one more technical question: The gtk-common-themes snap is needed for this fix, is it possible to install it alongside the communitheme snap?

gtk-common-themes should be installed by default now. Each snap that
specifies it as the default-provider will trigger snapd to install it.

On Tue, Jun 12, 2018 at 1:52 PM, Feichtmeier notifications@github.com
wrote:

@didrocks https://github.com/didrocks one more technical question: The
gtk-common-themes snap is needed for this fix, is it possible to install it
alongside the communitheme snap?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ubuntu/gtk-communitheme/issues/354#issuecomment-396677670,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADWBZqQhuMx791pc5Cxsrv5zNfgmz2Bks5t7__jgaJpZM4Te_ay
.

--
Ubuntu - "I am what I am because of who we all are"

Seems to be working here. Thanks!!
If I understand correctly, every app should be upgraded with the plugs, no? I am thinking in third-party apps like inkscape, keepassXC and libreoffice (see #350 )

I will test this on my wife's pc which has communitheme installed but I didn't touch gtk-common-themes yet. At least not manually so if I understand this correctly the installion should pull gtk-common-themes now automatically when it refreshs all the gnome snaps on the background?

Yes, it will pull it down automatically

On Wed, Jun 13, 2018 at 3:17 AM, Feichtmeier notifications@github.com
wrote:

I will test this on my wife's pc which has communitheme installed but I
didn't touch gtk-common-themes yet. At least not manually so if I
understand this correctly the installion should pull gtk-common-themes now
automatically when it refreshs all the gnome snaps on the background?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ubuntu/gtk-communitheme/issues/354#issuecomment-396838767,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADWBY0T9cI8H-5z9YF500eKbtZ5N-meks5t8Lx5gaJpZM4Te_ay
.

--
Ubuntu - "I am what I am because of who we all are"

Mhh, it doesn't seem to install it on my PC:

â–¶ sudo snap list                 
Name                  Version                 Rev   Tracking  Developer      Notes
android-studio        3.1.2.0                 47    stable    snapcrafters   classic
communitheme          0.1                     409   stable    didrocks       -
core                  16-2.32.8               4650  stable    canonical      core
docker                17.06.2-ce              179   stable    docker-inc     -
gimp                  2.10.0                  40    stable    snapcrafters   -
gnome-3-26-1604       3.26.0                  64    stable/…  canonical      -
gnome-calculator      3.28.1                  178   stable/…  canonical      -
gnome-characters      3.28.2                  101   stable/…  canonical      -
gnome-logs            3.28.2                  37    stable/…  canonical      -
gnome-system-monitor  3.26.0                  45    stable/…  canonical      -
libreoffice           6.0.4.2                 65    stable    canonical      -
nextcloud-client      2.3.3+gitab40efe        10    stable    nextcloud      -
skype                 8.22.0.2                33    stable    skype          classic
slack                 3.2.1                   7     stable    slack          classic
spotify               1.0.80.474.gef6b503e-7  16    stable    spotify        -
vlc                   3.0.3-1-3-gf09fd0d      365   stable    videolan       -
vscode                1.23.1-1525968403       37    stable    flexiondotorg  classic

I have done a refresh, everything is new :thinking:

@kenvandine I'm not sure autoconnect happens on a refresh? A topic for the snapcraft forum perhaps? :)

Just installed all the latest updates with sudo snap refresh but the issue with the hidden windows still seems to be there for me :( Is it already in the stable channel?

I had to install gtk-common-themes too on our machines here. It was not pulled automatically @kenvandine
Could you double check this? =)

Yeah, manually installing gtk-common-themes fixes it for me as well! So no it wasn't installed automatically with the update.

@didrocks

I was able to get the theme working with gtk2 snaps. Is this something we want to bake into snapcraft-desktop-helpers? I agree with sil's comment that all this magic should work by default for desktop applications.

The only issue now is that the cursors are still using the old Communitheme cursors, not the fancy Suru ones because gtk-common-themes hasn't been rebuild since the change. I asked if we can trigger a rebuild ourselves here: https://forum.snapcraft.io/t/snap-application-and-snap-themes/4946/12

(the discussion started on the forum, let's continue it there with James and Ken)

I guess this one can be closed now that gtk-common-themes and autoconnection works as expected :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

8none1 picture 8none1  Â·  3Comments

mivoligo picture mivoligo  Â·  3Comments

Feichtmeier picture Feichtmeier  Â·  3Comments

Feichtmeier picture Feichtmeier  Â·  3Comments

Feichtmeier picture Feichtmeier  Â·  3Comments