How to add information indicators to a Launcher icon from a script?

Posted by Paddy Landau on Ask Ubuntu See other posts from Ask Ubuntu or by Paddy Landau
Published on 2012-10-07T14:39:00Z Indexed on 2012/10/07 15:49 UTC
Read the original article Hit count: 287

Filed under:
|

Some applications place informational text over their icons in the Launcher.

For example, Thunderbird shows the unread message count, and Update Manager shows the number of updates available and a progress bar. The image shows these two examples:

Launcher icons with information overlay

I have created some Bash scripts that use yad (a Zenity fork), which adds an icon to the Launcher while running.

I would like to know how I can create my own information overlay within my script for those icons.

© Ask Ubuntu or respective owner

Related posts about command-line

Related posts about launcher