Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've created a simple indicator in python using the appindicator module. However, it always shows up to the left of the existing indicators. Is there some way to control what position the indicators appears in?

For example, it currently displays like so...

my indicator, volume indicator, messaging indicator

but I want...

volume indicator, messaging indicator, my indicator

share|improve this question
up vote 4 down vote accepted

It's the indicator applet's default to group application and system indicators separately, and place application indicators to the left of system indicators, so you'd probably need a modified host applet to do that.

See the specification for further information, and you can also ask for help in #ayatana on Freenode.

share|improve this answer

The previous answer is correct in saying that the layout is like this:

  [appmenu]        [app indicators] [system indicators]

Which means you can not have the layout you mention in the question. But, you CAN move an Application Indicator within the space allocated for the application indicators. You do that by calling app_indicator_set_ordering_index() to a custom value. The value is normally generated by the application name and category, but if you want to be next to another indicator you can grab it's value and add (or subtract) one so that you are close.

share|improve this answer
Can you a explain what i am supposed to run to move an indicator? e.g, to move the message menu indicator – Chriskin Apr 30 '11 at 18:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.