How to use the system GTK theme via the gtk-common-themes snap
@daniel wrote: I think, but am ready to hold my hand up to the fact that it’s a guesstimate, that the sound and icon themes will work cross-toolkit but the themes will only work with gtk3 because gtk2...
View ArticleHow to use the system GTK theme via the gtk-common-themes snap
@galgalesh wrote: @jamesh Can you turn your post into a wiki? I’m experimenting with getting GTK2 theming working and I’d like to add it to your post. Also, why do you use $SNAP/share instead of...
View ArticleHow to use the system GTK theme via the gtk-common-themes snap
@galgalesh wrote: I got it working for the Communitheme GTK2 theme. It should work for most other GTK2 themes too. How to use gtk-common-themes with GTK2 app? It’s quite simple if you’re already using...
View ArticleHow to use the system GTK theme via the gtk-common-themes snap
@galgalesh wrote: Note that there is still an issue somewhere. The first time users refresh to a snap using gtk-common-themes, they get the following error message: error: cannot perform the following...
View ArticleHow to use the system GTK theme via the gtk-common-themes snap
@kenvandine wrote: Actually the desktop helpers are looking for them in $SNAP/data-dir This is because the mount fails when the directory already exists. For an example see:...
View ArticleHow to use the system GTK theme via the gtk-common-themes snap
@galgalesh wrote: kenvandine: This is because the mount fails when the directory already exists. For an example see: This doesn’t seem to be the case when I test it. When I use snap run --shell...
View ArticleHow to use the system GTK theme via the gtk-common-themes snap
@jamesh wrote: sil: This looks like cool stuff. A question: you say “this can be achieved by adding the following boilerplate to the plugs: stanza of the project”, but surely this should be in there...
View ArticleHow to use the system GTK theme via the gtk-common-themes snap
@sil wrote: jamesh: That is where we want to get to eventually, but don’t have the infrastructure in place yet. Ah, gotcha; that makes sense, and so this will just work later on. That will be good!...
View ArticleHow to use the system GTK theme via the gtk-common-themes snap
@galgalesh wrote: jamesh: I mentioned the upcoming Snapcraft Templates feature a little further down in that section as a solution, which will allow the required interface definitions to be inserted...
View ArticleHow to use the system GTK theme via the gtk-common-themes snap
@kenvandine wrote: That’s not something we can do directly in the desktop-helpers. Each snap would need to be updated adding the yaml to connect the content interfaces. I’ve updated all the snaps...
View ArticleHow to use the system GTK theme via the gtk-common-themes snap
@jamesh wrote: I think @galgalesh is suggesting that snapcraft-desktop-helpers pull in Communitheme manually so it gets included into the application snap. I’d personally prefer not to do that: the...
View ArticleHow to use the system GTK theme via the gtk-common-themes snap
@galgalesh wrote: I thought it would be possible to add the plugs to the desktop-helpers. Since this isn’t possible, I still think desktop-helpers should pull the theme manually because communitheme...
View ArticleHow to use the system GTK theme via the gtk-common-themes snap
@frederik-f wrote: To add something “noobish” to this conversation full of knowledge: If gtk2 theming turns out to be really, absolutely impossible for snaps, there is one last thing that could be...
View ArticleHow to use the system GTK theme via the gtk-common-themes snap
@jamesh wrote: galgalesh: Since this isn’t possible, I still think desktop-helpers should pull the theme manually because communitheme will be included in Ubuntu 17.10. I’d like to do this as soon as...
View ArticleHow to use the system GTK theme via the gtk-common-themes snap
@Lin-Buo-Ren wrote: jamesh: Allowing GTK to find the theme data This shouldn’t be necessary now as $SNAP/share should be already prepended in XDG_DATA_DIRS since...
View ArticleHow to use the system GTK theme via the gtk-common-themes snap
@jamesh wrote: It looks like there are some problems with picking the correct theme under Wayland. Under Wayland, GTK selects its theme via the GSettings API. While the gsettings interface can give a...
View ArticleHow to use the system GTK theme via the gtk-common-themes snap
@Lin-Buo-Ren wrote: jamesh: Allowing GTK to find the theme data If you don’t mind I would like to drop this section as the environment is already handled by the desktop-launch script as I previously...
View ArticleHow to use the system GTK theme via the gtk-common-themes snap
@Lin-Buo-Ren wrote: I’ve implemented a demonstration snap with some improvements and also uses the desktop-gtk3 remote part: GitHub Lin-Buo-Ren/demo-gtk-common-themes A demonstration application...
View ArticleHow to use the system GTK theme via the gtk-common-themes snap
@Lin-Buo-Ren wrote: @jamesh @degville Would you mind setting this topic as a wiki? Read full topic
View ArticleHow to use the system GTK theme via the gtk-common-themes snap
@degville wrote: Lin-Buo-Ren: @jamesh @degville Would you mind setting this topic as a wiki? This topic is now a wiki. Thanks! Read full topic
View ArticleHow to use the system GTK theme via the gtk-common-themes snap
@keshavnrj wrote: i made a content snap which basically packs qt5 runtime in it (desktop-qt5 dump), i made a consumer app and added slot of gtk-common-themes in it , my app launch just fine but won’t...
View ArticleHow to use the system GTK theme via the gtk-common-themes snap
@jamesh wrote: It’s a bit hard to tell without more details. Can you tell if the app is running with the libqgtk3.so platform theme plugin? Read full topic
View ArticleHow to use the system GTK theme via the gtk-common-themes snap
@keshavnrj wrote: here is link to seperate thread i have created: Theme issue with content snap snap Hi, i made a content snap here with desktop-qt5 run-time dumped in it here And an app to use the...
View ArticleHow to use the system GTK theme via the gtk-common-themes snap
@knocte wrote: hey @jamesh , by any chance you know if it would be a lot of work to make this work for gtk2? Read full topic
View ArticleHow to use the system GTK theme via the gtk-common-themes snap
@galgalesh wrote: This is a tutorial for getting system themes working with GTK+ 2 applications: https://snapcraft.io/docs/gtk2-applications Is this what you are looking for, @knocte? Read full topic
View Article
More Pages to Explore .....