Atsutane's blog

Another blog...

Irssi, Screen and Urxvt - the Urgency Hint

A lot of i3 users miss a workspace notification when they are being highlighted in an IRC channel, in order to prevent people from getting tired of explaining this short setup over and over again I wrote this article in my old blog. As it’s still visited a lot it obviously survives the server move and enters also this blog.

For screen you only have to disable the vbell in the screenrc:

~/.screenrc
1
vbell off

UPDATE 20131027: nille made me aware of the fact, that it’s possible to change the vbell state in a screen session using the C-a C-g key combo.

When you use urxvt as a terminal the urgentOnBell option has to be activated in the Xdefaults file. In case you use an other terminal take a look at the respective documentation.

~/.Xdefaults
1
URxvt*urgentOnBell: true

For irssi there are two ways to handle this. If you have a running instance you can set this by using these commands:

irssi commands
1
2
3
4
5
/set bell_beeps on
/set beep_when_away on
/set beep_when_window_active on
/set beep_msg_level HILIGHT INVITES MSGS NOTICES CTCPS DCC DCCMSGS
/save

Or alternatively by editing the configuration:

~/.irssi/config
1
2
3
4
5
6
7
8
9
settings = {
#...
  "fe-common/core" = {
    bell_beeps = "yes";
    beep_when_away = "yes";
    beep_when_window_active = "yes";
    beep_msg_level = "HILIGHT INVITES MSGS NOTICES CTCPS DCC DCCMSGS"
  }
}