Clone this wiki locally
./configure; make; make install
Compiling syslog-notify requires a working C compiler and development libraries for libnotify. On a Debian or Ubuntu system, installing the
gcc packages should be sufficient (e.g.
sudo aptitude install libnotify-dev gcc.)
Unpack the tarball (
tar -jxvf syslog-notify-0.1.tar.bz2),
cd into the created directory, and
./configure. This will check for the necessary libraries.
configure takes the usual options for a GNU autotools configure script; see the file
INSTALL in the source for details. If
configure complains, please ask the mailing list for help.
make will compile the program.
make install will copy the binary
/usr/local/bin/. (You will likely have to be root, so use
sudo make install). You can also run the binary where it was built, or copy it elsewhere manually.
syslog-notify needs a FIFO to receive the messages from syslog; create it with
sudo mkfifo /var/spool/syslog-notify. Make it world-readable and writeable with
sudo chmod ugo+rw /var/spool/syslog-notify
syslog-notify at a prompt will start the program. It will exit when the X session ends.
To run on startup, in GNOME use System, Preferences, Startup Applications. Click “Add”. Put syslog-notify in the name, syslog-notify in command, and click “Add.”