Growl
OK. Growl is a notification protocol that talks to a service on your local machine and makes nice little bubbles pop up when certain events occur.
I basically wanted to be told when someone hilights my nick or PMs me in weechat (there're probably similar scripts for IRSSI, but fuck that heap of shit)
I'm using a nice little program in ubuntu called mumble for my notifications. Get it [here].
Once you've installed and launch it an icon should appear over there beside your clock.
- Right click it and choose preferences. - Enable network notifications - Set a password.
You may need to forward UDP port 9887 to your local machine on your router.
On your local machine you're gonna have to install socat
sudo apt-get install socat
Once that's done you need to start socat locally:
socat TCP-LISTEN:PORT,reuseaddr,fork UDP:127.0.0.1:9887 &
Then log into redbrick with a port redirect going on:
ssh USER@login.redbrick.dcu.ie -R PORT:127.0.0.1:PORT
Once you've logged into redbrick another instance of socat needs to be launched (I'm told committee require permission for network services to be run, but since when has anyone ever given a shit about these things??????????????????/) tsocks is in there thanks to DCU's proxy.
I run this inside a screen instance before launching weechat. If weechat's already running you can just do ctrl+z to suspend it, run the following command and then run 'fg' to bring weechat back from the dead.
tsocks socat UDP-LISTEN:9887,reuseaddr,fork TCP:127.0.0.1:9996 &
Everything's ready to go now, so just launch weechat (my build of dev version 0.2.7 is available at /home/associat/d/dregin/weechat/bin/weechat-curses)
Depending on the version of weechat you're running do either:
For 0.2.7
wget http://www.mysticcoders.com/tools/downloads/growl-net-notify.pl -O ~/.weechat/perl/autoload/growl-net-notify.pl
OR for 0.2.6
wget http://www.mysticcoders.com/tools/downloads/growl-net-notify-0.2.6.pl -O ~/.weechat/perl/autoload/growl-net-notify-0.2.6.pl
load the plugin with
/perl load growl-net-notify.pl
OR
/perl load growl-net-notify-0.2.6.pl
/help growl
/growl setup YOUR_IP YOUR_LOCAL_PASSWORD PORT