views:

199

answers:

1

What would be the most simple way of adding and changing an icon in the Ubuntu (Gnome) Panel? I'm looking for something as simple as shell scripting, but I'm not restricted to that. Will write a program for it if that's a better or simpler approach.

The idea is to create a script/program to monitor some condition (e.g. availability of a mount point, availability of internet connection), and change the state of the icon to reflect the current status.

+2  A: 

One easy way is to make it in Python. See this blog post for example.

dottedmag
Very nice, thanks!
Ilari Kajaste