15 lines
900 B
Markdown
15 lines
900 B
Markdown
+++
|
|
date = "2013-11-03T17:11:00-07:00"
|
|
title = "Clickable URL links in rxvt"
|
|
slug = "clickable-urls-links-in-rxvt"
|
|
+++
|
|
|
|
So, I use rxvt as my daily interface to my computers. I also use [mutt](https://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](https://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.
|