Xfce

Subdomains
 

Featurette: xfce4-notifyd 0.3.2 released

  • September 9, 2016
  • Simon Steinbeiß

This release came a bit sooner than expected, but it’s primary goal is to fix a showstopper regression which slipped into 0.3.1 and practically rendered xfce4-notifyd useless on systems with Gtk+3 <=3.18 (i.e. not showing any notifications). Thanks to Olivier for noticing immediately and posting a patch!

notifyd_retro_and_bright
the “Retro” and “Bright” themes

But while this had to be a fast release I still managed to put in some feature-goodness. For instance I came through on my promise to add more default themes and in this release I added “Retro” and “Bright“.

notifyd_symbolic_zomgponies
(symbolic) audio volume icon recolored ZOMG-PONIES! style

The biggest feature in this release however is the support for symbolic icons. For those of you who haven’t heard of the feature before: it’s basically Gtk+ coloring your icon with the color of the font of that particular context, so the icon will color-wise match the font. This is especially useful for monochrome icons and (usually) prevents white-on-white scenarios. It also gives users and theme-makers more freedom (instead of having a “dark panel” or a separate “dark notifications” variant of an icon-theme). Note that your notification-sending application also has to request a symbolic icon, xfce4-notifyd is not enforcing symbolic icons.

Another notable fix (that I forgot to mention in the release notes) is the fix of styles of the progressbars in notifications. Those were not styled according to the notifyd-theme selected but always used the style of the base (as in: screen-wide) Gtk+ theme.

Finally, a minor improvement is that all themes are now sorted alphabetically in the Settings Dialog.

With this bugfix release out of the way it won’t be long until I merge my feature branch and get more testing for the “Do not disturb” mode.

Enjoy!

Bugfixes incoming: xfce4-notifyd 0.3.1 released!

  • September 6, 2016
  • Simon Steinbeiß

notifyd

More good news in notification-land: I just released a new version of xfce4-notifyd – aka 0.3.1 – which fixes some nasty issues, amongst others

  • memory leaks (thanks Tony!)
  • an issue which caused build problems on Gtk<=3.18 systems (thanks Michał!)

I also added a Help button which links to the docs I wrote for notifyd a while ago: http://docs.xfce.org/apps/notifyd/start

I hope this will make 0.3 smoother in everyone’s daily usage and the Gtk+3 port more regression-free.

Read more here: https://mail.xfce.org/pipermail/xfce-announce/2016-September/000457.html

Upcoming changes

On the plate for the next release are more default themes (hint: “Retro” has already been pushed to git master) and potentially the per-application settings and “Do not disturb” mode which I previously teased. The latter might also warrant a major version number bump so we’ll see whether it’ll really end up in 0.3.2.

Stay tuned!

Preview: Per application settings and Do-not-disturb mode in xfce4-notifyd

  • September 5, 2016
  • Simon Steinbeiß

Per application settingsAs previously announced I’ve been working on per-application settings and a “Do not disturb” mode for xfce4-notifyd, which is Xfce’s notification daemon.

Finally I’ve come to a point where I’m ok with pointing to the code and encouraging people to try it and spot potential issues with it. As both of these features have been long-time requested I hope it’ll Do not disturb modemake quite a few people happy. I know I’ve been quite happy myself since I can use it 🙂

The way that the “known applications” are handled by xfce4-notifyd is that they are remembered once they have sent a notification. This means that you can only mute applications which have – at some point since you’ve been running the code from the branch – actually sent notifications. I’ve been previously thinking about trying to collect all potential candidates somehow but this turned out too pesky and personally I think most users will want to mute those applications that send notifications often and those will quickly appear in that (alphabetically sorted) list.

Caveats: Some of this isn’t final – I might still be updating the wording on some of the labels or even some of the functionality might be amended a little, but generally I’m quite pleased with how things are working. Furthermore there may be memory leaks, I just haven’t had the time to really get to that (bugreports and patches are warmly welcomed ;)).

If you have feedback or suggestions please feel free to add some comments to this post or contact me on other communication channels.

So here’s the code: https://git.xfce.org/users/ochosi/xfce4-notifyd/log/?h=private/per_app_settings

Related bugreports:

Greybird 3.20.0 (to be clear: with support for Gtk+3.20) released

  • August 16, 2016
  • Simon Steinbeiß

Finally – 5 months after the release of Gtk+3.20 – I’m happy to announce the release of the first version of Greybird supporting it.

Why has it taken so long? – you

The Widget Factory - 3.20
The Widget Factory – 3.20

may ask yourselves – and one reason was certainly me being totally busy with other things, but another one was that Ubuntu didn’t ship it in its 16.04 LTS release (which was a totally sane decision, by the way). Because of the latter it took some time before the issue of having a theme that supports Gtk+3.20 became pressing enough for me to take action.

Anyway, now it is done. (At least mostly.)

While porting the theme (in this case really: porting, not just: adding support for) I also decided to rebase it on Adwaita. Over the last releases so much stuff had piled up, so many quick fixes or patching up visual nuisances to support “the next Gtk+ release” that the theme had become an unmaintainable jungle – I frankly couldn’t have told you which line mattered anymore. While rebasing, I also went from CSS to SASS, which was the only right decision, as I’m sure now after having gone through with it. It made the code so much more maintainable and readable (kind of reminding me of the first Gtk+3 releases, when themes were still a lot leaner in terms of LOC).

So yeah, I’m pretty happy with where this has been going. There are still some rough edges (e.g. progressbars are probably not 100% greybirdy) and things I haven’t added support back for (e.g. elementary’s Granite widgets), but I think what is there now warrants an initial release as things still look consistent between Gtk+2 and Gtk+3 applications.

One final note: Greybird has recently switched to a new versioning scheme, which basically mirrors the Gtk+3 release numbers the theme works best with.

Download

https://github.com/shimmerproject/Greybird/releases/tag/v3.20.0