Notify Works in Kubuntu

22 03 2007

notify

In response to Aaron’s blog posts (Part 1, Part 2) about IRSSI and libnotify to send you a notification upon highlight, well it works great in Kubuntu as well.

As you will notice, I use a different icon, a customized Konversation icon, and I have also changed the color of the popup by setting the urgency as well. The following is the shell script I am using, which is pretty much the same as Aaron’s just modified to suit my taste.

#!/bin/sh

ssh user@server “: > .irssi/fnotify ; tail -f .irssi/fnotify ” |
sed -u ’s/[<@&]//g’ | while read heading message;
do /usr/bin/notify-send -u critical -i <location to icon>
-t 300000 — “${heading}” “${message}”;
done

Replace user@server with your username and server IP address. Also replace <location to icon> to the correct icon location that you want to use. An example would be /usr/share/icons/crystalsvg/48×48/apps/whatever.png.


Actions

Informations

3 responses to “Notify Works in Kubuntu”

29 04 2007
/dev/brain » Blog Archive » Fancy desktop notification for irssi! (15:03:50) :
   (Using WordPress WordPress 2.1.2)

[...] couple of weeks ago, nixternal blogged about notify-send and irssi. In response to his entry, I read up on the Desktop Notifications Specification and learned that [...]

29 04 2007
/dev/brain » Blog Archive » Fancy desktop notification for irssi! (15:08:19) :
   (Using WordPress WordPress 2.1.2)

[...] couple of weeks ago, nixternal blogged about notify-send and irssi on kubuntu. In response to his entry, I read up on the Desktop Notifications Specification and learned that [...]

10 05 2007
Pedro Algarvio, aka, s0undt3ch (16:38:08) :
   (Using Mozilla Firefox Mozilla Firefox 2.0.0.3 on Ubuntu Linux Ubuntu Linux)

You might also be interested on Irssi Notification, a cleaner approach for the same end result which uses irssi’s proxy’s.

Leave a comment

You can use these tags : <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>