This wiki will shut down!

Please note that this wiki will be made read-only and eventually be taken offline.

A replacement is being discussed at We'd be happy to have more input for that discussion and volunteers who help us migrate the content of this wiki to its replacement.

Irssi tips

From awesome
Jump to: navigation, search

Using IRSSI with Awesome

Urgent Signals[edit]

You can have the awesome window manager identify if somebody sent you a message on IRC using the urgency settings, by doing the following:

In irssi:

/set bell_beeps ON

Permanent irssi configuration:

# settings
#   fe-common/core
bell_beeps = "yes";

In .Xdefaults for terminal emulators:

! rxvt-unicode
URxvt.urgentOnBell:  true

! xterm
XTerm*bellIsUrgent:  true

In GNU screen: Make sure audible bell is enabled (C-a C-g to check). Permanent setting for .screenrc:

vbell off  # no visual bell


The following irssi script uses libnotify (via the `notify-send` command) to alert user of highlighted messages. On Debian, and Ubuntu you need to install the `libnotify-bin` package.

Libnotify Script for Irssi.

Genjix's scripts[edit]

Here's my setup for anyone interested.

Channel List:

$ cd ~/.irssi/scripts/autorun
$ wget*/Code/Irssi/

Hide statusbar:

$ /statusbar window disable
$ /save

Install irssi-scripts, and do:

$ cd .irssi/scripts/autorun/
# colourised nicknames
$ ln -s /usr/share/irssi/scripts/ .
# mouse scrollwheel support
$ ln -s /usr/share/irssi/scripts/ .

Add this to .irssi config to ignore nickserv window:

autosendcmd = "/msg nickserv identify blaablaa; /window goto nickserv; /wc";

To run irssi, I do:

$ screen -mdS i irssi

Then whenever I wish to check irc, I can run screen -r and type C-a d to detach from the session. Closing the terminal without exiting is fine. screen is a handy utility where you can make seperate sessions to log into, each with their own windows. So here we make 1 session called irssi, with 1 window that has irssi loaded.

Show running sessions with screen -ls