Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am looking for a simple utility that lets me display ephemeral balloons (like the kind that are built into Thunderbird, or certain GNOME system notifications in Ubuntu, say) in a corner of my screen for a few seconds. Ideally, they'd also have a fade-out effect.

I am running Debian and FVWM2 as a window manager, so I'm not looking for something generic, rather than an element of GNOME or KDE.

The purpose is that I have key bindings bound to XMMS2 that control MP3 playback, including keys for advancing forward or backward in the playlist. It'd be nice to be able to see a little box for a few seconds somewhere on my screen that tells me what song I just switched to. I'd like to wire up my shortcut to a script that does that and invokes 'xmms2 next' or 'xmms2 prev'.

Your help is appreciated in advance!

share|improve this question

2 Answers 2

up vote 2 down vote accepted

You could use libnotify. It's in the libnotify1 package on Debian and Ubuntu. It even has a command line interface (contained in the package libnotify-bin). It's the standard way Ubuntu displays notifications as of Ubuntu 9.04 (at least).

Sample:

notify-send 'Hello World!'

Options:

$ /usr/bin/notify-send --help
Usage:
  /usr/bin/notify-send [OPTION...] <SUMMARY> [BODY] - create a notification

Help Options:
  -?, --help                        Show help options

Application Options:
  -u, --urgency=LEVEL               Specifies the urgency level (low, normal, critical).
  -t, --expire-time=TIME            Specifies the timeout in milliseconds at which to expire the notification.
  -i, --icon=ICON[,ICON...]         Specifies an icon filename or stock icon to display.
  -c, --category=TYPE[,TYPE...]     Specifies the notification category.
  -h, --hint=TYPE:NAME:VALUE        Specifies basic extra data to pass. Valid types are int, double, string and byte.
  -v, --version                     Version of the package.
share|improve this answer
    
That did it. Thanks!! –  Alex Balashov Sep 18 '09 at 19:01

Maybe osd_cat of XOSD?

share|improve this answer

Your Answer

 
discard

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.