Snapping communitheme

:clap: this :clap: is :clap: so :clap: cool! :clap:

So how come the session only shows up when the snap is installed?

2 Likes

Again, sorry for the slow reply! I would say only the Interface font (that’s the only one I change anyway).

1 Like

Magic ! (well, actually TryExec in the session file pointing to the helper in the snap! ;)). More on that in a blog post I plan to write early next week.

4 Likes

Awesome, desktop files are a lot more powerful than I imagined. :slight_smile:

Let me know if I can help with the blog post in any way :slight_smile:

3 Likes

Hey @didrocks, a quick snap based question: Seems the theme is able to work out of a snap soon, but what about the theming support for example LibreOffice Snap?

I read that the team is working on it (https://trello.com/c/2qvAB1yd/37-theme-support-for-snaps) and I just wonder, when this will be working - any ideas?

Thanks!

1 Like

Not really (this is currently done by the snap team itself) and I don’t have an idea of their priorities/timelines. But once implemented, I’ll make sure the communitheme snap works with it :slight_smile:

2 Likes

And here we go! The snap is now available for ubuntu 18.04 LTS users :slight_smile:
https://didrocks.fr/2018/04/10/welcome-to-the-ubuntu-bionic-age-new-wip-ubuntu-theme-as-a-snap/

(Known issue: you should note that GTK2 applications aren’t themed properly, we’ll work on this)

11 Likes

Seems the snap is working nicely - thanks a lot @didrocks and of course thanks to the whole team!

6 Likes

As mentioned on the blog post, there are autogenerated snap support for PR.
This enable users to try a branch work in progress before getting it merged to master.

I got a question today from @frederik-f why this wasn’t working for him on https://github.com/ubuntu/gnome-shell-communitheme/pull/104.
Just to be clear: for security reasons, the hidden token (snap store to push the snap and Github to comment on the PR) aren’t accessible for branches not being in the same repository than the destination target. This is a Travis CI feature.

What it means is that if you want to have automated generated snap before they hit master as part of the PR (as in https://github.com/ubuntu/communitheme-snap-helpers/pull/6), you need to have your source branch under the ubuntu repo instead of your own fork.
I’ve fixed the build script so that people using branches on their own fork don’t have CI failing. Their branches are still building a snap to ensure it works, but not uploaded to the store and thus, no comment appearing:

Here is an example:

Here are the set of branches that would need to be rebased on latest git master and moved under the ubuntu repo:

Note that if you intend to get it merged them soon without having snap previews from your branch, don’t bother :slight_smile: Just ensure that future branches follow this!

I just installed the snap theme on a fresh daily image, and default interface font is still 11 :open_mouth:

You didn’t answer to my question (I asked you twice in this topic) which is a prerequisite to the changes:

[quote=“didrocks, post:6, topic:4890”]
All fonts? (there are 4 fonts that people can generally change in Tweaks), or only Title fonts or anything else?[/quote]

@madsrh: I would need an answer quickly on this to make the upload in ubuntu now that beta freeze is lifted. :slight_smile:

Now that we are close to the release, if no answer by tomorrow, I won’t be able to push the change, I’m afraid :/. The best would be for you to open a launchpad bug describing the changes, that it won’t impact the default session, and what keys are changed.
Thanks!

1 Like

Sorry @didrocks, yes my reply was a little too late :tired_face:

It’s a little embarrassing, but I’m not sure if this is correct at all! Bug #1764974 “Change default interface font size in Community th...” : Bugs : ubuntu-settings package : Ubuntu

@madsrh: Sounds correct! (well, not the correct package, but I’ll retarget). Thanks!

Just to confirm: basically, you only want the interface font to be at 10, as I see it (second options in tweaks)? So, window titles, fixed font and documents stays at their previous defaults.

1 Like

@didrocks correct! and thanks :blush:

1 Like

And done! https://launchpad.net/ubuntu/+source/ubuntu-settings/18.04.5

1 Like

@c-lobrano & @merlijn-sebrechts: Ok, I have promoted current edge version (fixing gtk2 and electron apps) in the stable channel.

I’ll let you handle further regular promotion from edge to stable from now on :slight_smile:

Some quick instructions how to do it:

First time:

  • install snapcraft
  • ensure you are logged in via snapcraft login

Then, everytime you want to promote the currently tested snap

  • snap info communitheme to check which snap revision you are running on :slight_smile:
  • publish that revision to stable channel (and candidate/beta if anyone is using it) via: snapcraft release <your-tested-revision> stable,candidate,edge
  • you can rerun snap info to ensure everything went alright :slight_smile:

I think targetting at having one release a week (and maybe even communicating it on a dedicated thread) would be awesome! Most of people are relying on the stable channel from the first stats, so it’s quite important (and it seems this communitheme snap is getting popular, which is awesome even before 18.04 is released!) I’ll let you organize around this!

As usual, do not hesitate to ask if there is any issue :wink:

2 Likes

Thanks for the tutorial, I was actually thinking how and when to do that.
Once a week looks a good pace :slight_smile:

1 Like

Hi all, I am planning to promote today’s edge version in stable channel later today. :tada:

Current revision is 122, but it does not have a completion of gnome-shell transparency refinements on gtk side which I really want to land.

I’ve seen that there are some PR in gnome-shell, but I am not sure any of that is stable enough, is that right?

Communitheme edge promoted to stable :sunny:

I am about to announce it on “Call for participation” thread first, any other threads you suggest to (maybe even a new one)?

@didrocks just a question, what about the “beta” channel

You can use it as you see :wink: edge/stable is the simpliest model, but you can decide to do edge/beta (twice a week)/stable (once a week). Just adapt the snapcraft release command to your needs!