Nall is a small GTK tool that discretely fits into your freedesktop system tray (such as trayer). Its purpose is to spawn periodically every kind of script and display a one-line output in the tooltip window. The main usage of nall is monitoring or just notifying of almost everything (it just depends upon your imagination and ability to script).
Why nall ? because i wanted to notify myself in a simple way some networked drives, plus check my emails and know the title of the music i was listening to on my last.fm radio. The genericity of nall allow you to use also Nagios Plugins to monitor various resources. Nall runs on any POSIX operating system, having a freedesktop aware trayer.
How to install/use it
First, install a C compiler (e.g: gcc), plus the make utility and the development files of libgtk+2.0 and libglib-2.0 provided by your distro (this will also provide the pkg-config files). Untar the archive and go to the nall-2008..../ directory. Run make. then ./nall&. For Debian based distros, this resumes to:
sudo apt-get install build-essential libgtk2.0-dev libglib2.0-dev
tar -xf nall-20081015.tar
make && ./nall&
Note: nall won't run alone: you must provide it some scripts in the ~/.nall directory. A nall script must have the following naming scheme: Ntitle where N is the desired scheduling frequency in seconds (e.g: 3) and title is the title displayed on the left-side of the tooltip window (e.g: email). The response of the script may not contain any carriage return. Nall doesn't care about the script return value, only the output is scanned. Here is an example:
10ping email@example.com 5shell-fm
echo X login brouits XXpassXX
echo X select inbox
echo X logout
} | telnet imap.free.fr 143 2>/dev/null | grep RECENT | tail -1
What's New in This Release: [ read full changelog ]
· This version fixes a bug that caused a segfault on "rescan".
· Other improvements include the display of a warning message dialog when no probe script is present.