When we set up Project Ayatana to improve the usability of the whole desktop, we called it Ayatana because we were focused on the “sphere of consciousness”, one’s awareness of what’s going on outside of the current application. There are two key aspects to the work:

  1. Notifications are “awareness distilled” in the sense that you cannot interact with them at all.  We designed them as ephemeral “click-transparent” messages, implemented in Notify-OSD. Their sole purpose is to notify you of transient events.
  2. Indicator Menus combine persistent awareness of a state with a set of options for modifying that state.

In this blog I’ll outline the arc of our work on indicator menus to date, and the trajectory we expect it to follow. We’re about a year into the effort, all told, and I think it will take another 18 months before we can consider it baked. It should be done by 12.04 LTS. This is an iterative process, and things are in flux right now. I hope, when we are happy that we can commit to ABI stability, that Gnome and KDE will adopt the work too. For the moment, the rapid pace of evolution has meant that we’re depending on fantastic upstreams to keep up with us as things move.

Goals of the Ayatana Indicators

The indicators are designed to create a persistent awareness of state, or an awareness of a persistent state. They complement notifications: they are persistent, when notifications are ephemeral. You might miss a notification, but you should always be able to check your indicators. You can interact with indicators, using their menus, in contrast with the un-clickable notifications.

We value:

  • Support for both GNOME and KDE. Both desktop environments are important in Ubuntu. We encourage the teams to reflect a pure vision of each, but it’s also the case that users will want to run a GNOME application on Kubuntu occasionally, or vice versa. So we have to make sure the work is considered from the perspectives of developers on either side, and we have to provide APIs and libraries that work in both environments.
  • Accessibility. Indicators are critical elements of awareness. Whether you are connected, what the time is, whether you are online, whether your battery will last long enough for you to finish your work, whether you have messages… these are all vital to a complete computing experience. We have to make sure that visual and other disabilities can be addressed.
  • Familiarity and Innovation. As always, these are in tension with one another. Innovation helps us put free software at the front of the curve, but it creates the risk of breaking people’s habits and expectations.
  • Consistency and Usability. We want the end result to be more usable in the whole, and we are willing to lose individual nuggets if that helps make the whole more valuable.
  • Streamlining. There are too many indicators, that aren’t clear enough about their intent. There are also many indicators from different applications which do roughly the same thing, but in slightly different ways. The value of all the indicators is enhanced if there are fewer of them, and they are more obvious to discover and use.

Some firm decisions

Those values lead us to some anchor decisions:

  1. D-Bus for communications. A messaging approach makes it straightforward to adopt consistent patterns across different desktop environments. We will provide wrapper libraries for both Gtk and Qt applications to access the indicator capabilities. A Qt application running on Ubuntu should “feel native” when it’s using indicators correctly. And vice-versa. The messaging approach also lets us handle accessibility in a better way: we don’t have to accommodate every possible disability visually, because we can have agents that interpret the indicator messages and handle it in ways that are appropriate for a particular disability.
  2. Opinionated placement. We will place all indicators at the top right of the screen on GNOME. We’ll place them in a particular order, too, with the “most fundamental” indicator, which controls the overall session, in the top right. The order will not be random, but predictable between sessions and screen sizes. There will be no GUI support for users to reorder the indicators.
  3. Constrained behaviour. All the indicators will take the form of an indicator (icon or text), and a menu. Clicking on an indicator will open its menu. Keyboard navigation will always work, and left and right arrows will translate either into submenu navigation or flipping from indicator to indicator. The whole set of indicators on the panel will be navigable as a single menu, in essence. We won’t support “right click” on indicators differently from “left click”, and there’ll be no ability for arbitrary applications to define arbitrary behaviours to arbitrary events on indicators.
  4. Symbolic visuals. We want to pare back the visual representation of status presented by the icons. We don’t believe that visual accessibility for the disabled need drive the design of the standard icon set, as there will be both alternative icons, renderings, and entirely different options such as speech or custom devices to handle those. Colors on the indicators should have semantic purpose and be used mainly for alerts and awareness, while the shape of the icon should define its purpose.

The first part of our work was pure housekeeping. The panel in Ubuntu is very generic, it lets you put all sorts of different gadgets in all sorts of different places, and those gadgets can behave in all sorts of different ways. The result has been to stimulate innovation, but it has also made the panel very inconsistent and ultimately less useful.

We reviewed the way Ubuntu-specific applications were using the panel, and set out to clean them up. Update-manager lost its persistent notification in favour of the more direct popup window. Others will follow.

We decided to introduce a new gadget on the panel which would be a container for all the indicators which follow our new Ubuntu Ayatana pattern. And we started work on a set of indicators that would fit inside that container. Thus far, we’ve done the session, “me”, and sound indicators.

We also created a framework for applications which want to display their own indicator. That’s the AppIndicators work, which has been fantastically lead in 10.04 LTS by Jorge Castro, coordinating with many upstreams to ensure that their applications feel tightly integrated into the panel.

The icon visual design turned into a conversation about “-symbolic” icons at UDS in Dallas, and is now being realised in the ubuntu-mono icon theme in 10.04 LTS. There is work under way to make symbolic icons a more formal and rigorous construct that can be themed, and we’ll participate in that effort or offer an alternative implementation.

9 parts perspiration, 1 part innovation

The detailed design of a large set of systemic indicators, together with the work to make them all look, feel and behave in a consistent fashion, has been substantial effort involving MPT, Ted Gould, Cody Russell and many others. There’s still a lot of work to do. Conor Curran and Kalle Valo joined the team in this latest cycle. There is a great deal that remains to be done.

We also aspire to introduce some new and innovative concepts.

Category Indicators

In order to reduce the number of indicators and improve the persistence and usefulness of the indicators that remain, we’ve introduced the idea of “category indicators”. These are indicators into which multiple, similar applications can embed themselves. Instead of having a different indicator each application, we have one indicator for the whole category.

The messaging indicator, which aggregates awareness about many different types of messages from real people, is an example. Instead of having three different icons for email, IM and Identi.ca or Twitter, Ubuntu has just one messaging indicator, which can make you aware of important messages in any of those applications.

The three default applications for those lines of communication all share the same indicator. They are part of the same category. There are custom API’s for messaging applications which let them:

  1. Insert entries in the messaging menu which are displayed even when the application is not running. Useful for helping people go straight to the activity. Instead of having to check if the email client is running, then switching to it or launching it, then going to the message composition window, I should *always* be able to compose a new message with just two clicks, regardless of whether or not the mail client is running initially.
  2. Add custom menu entries to the messaging menu that are relevant to them. Each applications gets a “section” in the category indicator menu, and they can add custom menu entries to their section.
  3. Register themselves as applications that should be shown in the messaging menu, or remove themselves from that menu. The default applications will show up there unless they are uninstalled or expressly configured not to use the messaging menu. Other applications will put themselves there by default when they are run by that user, who can also configure them not to display there.
  4. Show whether they are running, a state which is indicated with a small “play” style triangle next to the application icon in the menu.

There are also some behaviours which are collective across all the applications in the category. For example, any of the applications can set the messaging indicator to an alert state, signalling that it’s worth clicking on.

Each category indicator supports a unique API that’s relevant for that category. There are some common features, for example the ability of applications to register and de-register for the indicators and the ability to add menu entries, but the details might vary substantially from one category to another.

The underlying goal is to make it clearer to users “what all of those icons are about”. There are fewer of them, and the ones that are there are more persistent – they are always there, and they always do the same sort of thing. “You’ve got a message” is useful no matter which channel the message came through. The net result is that the whole set of indicators feels tighter and better defined.

The session indicator, which displays the shutdown / restart menu, has a similar capability that replaced the “restart required” panel icon in 10.04 LTS. Since the session menu already contains the “restart” menu option, the session menu will now be set into an alert state when you need to restart. The “Restart…” menu option is changed to “Restart Required…” (though I would now prefer something like “Restart, completing updates…”).

The battery indicator shows the status of all of your batteries, from laptop to UPS to mouse and wireless keyboard. Other applications and devices which have battery information should be able to insert themselves there appropriately.

Similarly, all the calendar and alarm applications might fit into the Clock Indicator. And perhaps all the applications which have downloads might use a single category for that – there’s some discussion along those lines on the Ayatana list at the moment.

Timelines and iterations

The basic “add an indicator with a menu” capability is there now, and was used for Application Indicators in 10.04 LTS.

What complicates the picture from a delivery perspective is our evolving understanding of how best to organise the category indicators. For example, at the moment we are aggregating received messages in the messaging indicator, but the send or broadcast elements of those same communications channels are accessed through the Me menu, where we track presence. That has been controversial – sensible folks think we should perhaps restructure that to bring the elements together.

Each arrangement of category indicators involves shaping the API’s in new ways, because the categories are fundamentally different from one another, and we want to design custom indicators for each category. Not only are the individual category indicator designs changing, but the arrangement of categories themselves is subject to active debate and experimentation, which is important to getting a crisp final result.

We can’t be certain that the current configuration is the best one, and want the flexibility to continue to evolve and reshape the APIs accordingly. We expect it will take at least three iterations of Ubuntu to be certain, and that we can commit to ABI stability for 12.04 LTS onwards.

61 Responses to “Ubuntu’s Indicator Menus – Ayatana bearing fruit”

  1. Raji Says:

    Good to see someone finally managing the Linux desktop. I’m a computer science student and have been using Linux for 10+ years. The worst desktop issues I’ve seen are Gnome reversing OK and CANCEL buttons back and forth, with confusing dialog boxes. These user interface design issues are basic stuff the Gnome people don’t understand. Of course, the release of KDE 4.0.0 goes down in history as a major “no testing done” error. But with Ubuntu solving these problems, I won’t be buying another Microsoft product ever again.

  2. neilpassage Says:

    I’ve been using 10.04 for a few days now and just love the ‘buttons’ on the left.’

    It makes so much sense.

    I’m usually on the left side of the screen anyway.

    Fantastic job, please keep it up.

  3. brian Says:

    At first I hated the indicator applet, and had disabled it in 9.10. In 10.04 I have turned it back on, and now have come to the following realization:

    The indicator applet is fine, the messaging indicator is awful.

    The way that indicators work is, in general, pretty good. It does solve some (small) problems that existed with panel applets: consistent clicking, computed placement, etc. But the messaging indicator? I don’t use a thick mail client anymore; when I did use Evolution, I found the messaging indicator a major step back from the old notification icon, which put an envelope in my notification area when I had mail. Now, there’s an icon there all of the time, notification or not, and it has a very subtle change of color when there’s mail.

    Like others have said, I don’t like having my IM and email notifications conflated, and again that indicator was far less useful than the real notification icon I’m still using. Maybe it works well for gwibber notifications, but it’s hard to tell because gwibber is constantly crashing.

    So, I’m left with a mail icon on my panel that I don’t use. It does, quite literally, nothing. I take that back; it prevents me from using a real mail notifier, because the messaging indicator is there making it far too confusing to tell at a glance if I have new mail or not. The messaging indicator can’t be removed without losing all of the other indicators. But there it is, taking up screen real estate and being ever-so slightly worse than useless.

  4. Stopped Clock Blog Says:

    […] area where these may prove extremely useful in accessibility. All of this can be done at runtime, no need to deal with two or more icon […]

  5. Windicators: el panel de sistema, en cada ventana | MuyLinux Says:

    […] habló hace tiempo del llamado Proyecto Ayatana, que estaba orientado a mejorar la usabilidad global del escritorio, y […]

  6. Ubuntu 10.10 podría incluir una nueva funcionalidad: Window Indicators Says:

    […] para Ubuntu 10.10. Se trata de Window Indicators, un concepto del que el Sr. Shuttleworth habló hace tiempo dentro del marco del Proyecto Ayatana, y que está orientado a mejorar la usabilidad del […]

  7. Indicator Applets « Amy’s Ramblings Says:

    […] Mark Shuttleworth addressed the new indicator applets back in April.  I find his insights great.  I was intrigued by his thought process, and I’m looking forward to what comes out of it.  Ayatana seems to be a very promising idea and its implementation has been pretty awesome so far.  See also the wiki article for the messaging menu for more information. […]

  8. Projekt Unity: bardzo lekkie Ubuntu | WebInfo Says:

    […] o idei “indykatorów okienka”, rozwijanej w ramach projektu o dobitnej nazwie Ayatana (“sfera […]

  9. @vicox's blog » About Todo Lists and Indicators Says:

    […] Indicators were introduced in Ubuntu with version 9.10 and will sooner or later replace the notification area. Some programs like Rhythmbox, Gwibber and Evolution are already using indicators instead of notification icons (at least in Ubuntu). […]

  10. Idee da liberare « femtoBlog Says:

    […] occorre dire a che pro è nato tutto ciò: In primis dalla nuova idea partorita da Mark Shuttleworth, di notifiche più utili e user friendly; In secundis ho bisogno d’esercizio nello scrivere […]

  11. LS Says:

    There are occasional problems with indicators not loading properly or doubling themselves.
    For instance if i eliminate the login screen (auto-login) then the network indicator will sometimes show up with only half of the icon. These inconsistencies reflect poorly on Ubuntu I believe. Hope they get solved ASAP.