Open URLs from Terminal (rxvt)


While using the terminal based IRC client “irssi” I faced the problem that I always had to copy and paste URLs to my webbrowser.

After a little research I found a way to open URLs just by clicking the mouse wheel. It’s quite easy: you need a special terminal: rxvt-unicode (urxvt).

Add the following lines to your ~/.Xdefaults file:

URxvt.perl-ext-common: matcher
URxvt.urlLauncher: firefox

Then apply the new settings with

xrdb .Xdefaults

and enjoy!