Specifications for this cycle :

Notify-osd in Karmic

Proposal to change the default notification server to notify-osd in Karmic and adapt a few applications

Summary

The purpose is to replace notification-daemon by notify-osd as a notification server for Karmic, and to ensure the Xubuntu applications are compliant with notify-osd.

Release Note

Now using notify-osd for notifications. Improved compatibility of the Xubuntu applications with notify-osd, and improved volume / battery state notifications.

Rationale

Use cases

The specification

Design

notify-osd-audio-example.png

notify-osd-powerinfo-example.png

Notes on the implementation

Inclusion of notify-osd

Status : done, bug fixes needed Notify-Osd is now used by default, but there are some issues to be fixed, see below.

Audio notifications

Status : done The daemon is coded and available at https://launchpad.net/xfce4-volumed It is maintained by SiDi.

Xfce4-Volumed does two things :

It also uses new xfconf keys that can be used by the mixer and panel plugin for choosing which track's volume should be controlled. The necessary changes to the mixer still have to be done, though (probably by Jannis).

The daemon weights 2.8MB on a 64bit swapless install, mostly Gstreamer. It is apparently free of memory leaks.

Battery state notifications

Status : done The original idea is to use the different icons as a way to indicate the current remaining power percentage, and put minimalistic text info in the bubble to avoid the current mess (as below).

notify-osd-power-current.png

The changes to do have been documented in Ayatana and a draft is available here : http://www.youtube.com/watch?v=fkdaiXXcv8w

The first step, getting icons included in NotifyOsd, is done. Gnome Power Manager upstream implemented my draft, and it should land in Ubuntu + GNOME. Since we switched to Xfce4 Power Manager, I had to make sure it uses notify-osd and our notification icons correctly, which is now the case. Xfce4 Power Manager doesn't implement the Battery Status keyboard shortcut yet, this is something we need to do for Karmic +1.

Extra maintenance work after the spec

Audio notifications

It may be merged in the mixer for XFCE 4.8, so probably nothing to do.

Battery state notifications

A little patch to maintain.

Issues that need solving

Upstream (notify-osd: Canonical)

By the Xubuntu team

By the developer implementing the spec

Comments

Xubuntu/Roadmap/Specifications/Karmic/NotifyOsd (last edited 2012-03-25 16:47:00 by nblzone-227-162)