Making a notification bubble pop up.

Todd Slater dontodd at gmail.com
Sun Apr 9 14:26:52 UTC 2006


On 4/9/06, Neil Woolford <neil at neilwoolford.co.uk> wrote:
> Daniel Carrera <daniel.carrera <at> zmsl.com> writes:
>
>
> > How about:
> >
> > zenity --info --text="I'm doing a system update."
> >
> >
>
> Thanks for that!  Looks good, but how do I get it to work on
> other users' screens?

Note that zenity also has the capability of adding an icon to the
notification area/system tray.

zenity --notification --text="I'm doing updates, don't freak out"
--window-icon="/path/to/your/warnint/icon.png"

When the user hovers over the icon the text will be displayed;
clicking the icon kills it. Of course you need to be using a desktop
that supports the system tray.

Todd




More information about the ubuntu-users mailing list