By default, irssi looks to the computer speaker to produce sound. By default, pcspkr is not loaded in many linux distros --including, Ubuntu 13.10.
Initial Solution:
cd $HOME/.irssi/scripts # make a scripts directory if one does not already exist
wget http://scripts.irssi.org/scripts/beep_beep.pl
cp $HOME/Music/custom_beep_example.wav . # wget or cp a custom notification sound
mkdir $HOME/.irssi/scripts/autorun
cd $HOME/.irssi/scripts/autorun
ln -s ../beep_beep.pl #create symbolic link for auto-run
After running through these commands, launch up irssi in your terminal and run the following commands:
/set bell_beeps
/set beep_msg_level MSGS DCC DCCMSGS HILIGHT NOTICES
/set beep_cmd aplay -q ~/.irssi/scripts/custom_beep_example.wav
/save
That's it! You should be ready to rock-in-roll!
Options:
You can append your beep_message_level with ALL for all Levels:
/set beep_msg_level MSGS DCC DCCMSGS HILIGHT NOTICES ALL
Another option is to change the beep_flood in the perl script to 300000 (5 minutes). If you get a message on IRC within the flood time, it will not beep, otherwise, it will.
Credits go to andrew.46 and suicidefunky from ubuntu forums for finding the initial and optional solution.
bell_beepswas removed entirely because it is considered useless (it allows people in the channel to make your terminal beep by sending ^G in chat, which is rarely what you want). – Kevin Mar 26 '18 at 17:27