www.duckland.org/content/post/2013/11/clickable-urls-links-in-rxvt.md
2019-05-26 18:26:26 -05:00

23 lines
926 B
Markdown

+++
date = "2013-11-03T17:11:00-07:00"
title = "Clickable URL links in rxvt"
slug = "201311clickable-urls-links-in-rxvt"
+++
So, I use [rxvt](http://rxvt.sf.net) as my daily interface to my
computers. I also use [mutt](http://www.mutt.org) for my email reading
pleasure. Sometimes, I get URLs in email and I want to read them in a
browser. If I was using a GUI based mail reader, I would just click the
URL to open it. Well, there is an easy way to set up rxvt to do that!
Using the fine [Arch Linux wiki](http://wiki.archlinux.org) entry for
[rxvt
unicode](https://wiki.archlinux.org/index.php/rxvt-unicode#Clickable_URLs),
the solution is quite easy. In the file **\~/.Xdefaults**, add:
URxvt.perl-ext-common: default,matcher
URxvt.url-launcher: /usr/bin/firefox
URxvt.matcher.button: 1
And either do a **xrdb \--merge \~/.Xdefaults** or log out/log in. And
start a new rxvt, and you are good to go.