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 have a python script of network bandwidth indicator that I have downloaded from here :

I would like to make the indicator use a fixed font so that the indicator's width in Unity's top panel won't change.

How can I use a fixed-width font in there ?

share|improve this question

You'll probably want to set the label-guide property to the maximum width.

According to the docs:

An optional string to provide guidance to the panel on how big the #AppIndicator:label string could get. If this is set correctly then the panel should never 'jiggle' as the string adjusts through out the range of options. For instance, if you were providing a percentage like "54% thrust" in #AppIndicator:label you'd want to set this string to "100% thrust" to ensure space when Scotty can get you enough power.

share|improve this answer
I am trying to do: = "999.99 MiB/s↓ 999.99 MiB/s↑"; self.ind.set_property('label-guide', but this does not work. – Patryk Jan 22 '13 at 18:37
@Patryk: you're right. I just did some testing, and it doesn't work for me either. That means the docs are wrong or a bug in the appindicator. Either way, a bugreport should be in place. – Timo Jan 23 '13 at 12:13
Yes, you're right. How can I report the bug since I have tried to find bug report functionality here but there is nothing there. – Patryk Jan 23 '13 at 12:21
You should report it to libappindicator, not gtop. – Timo Jan 23 '13 at 13:11

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.