10 lines
No EOL
931 B
HTML
10 lines
No EOL
931 B
HTML
<html><body><p>So, I use <a href="http://rxvt.sf.net">rxvt</a> as my daily interface to my computers. I also use <a href="http://www.mutt.org">mutt</a> 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!</p>
|
|
|
|
<p>Using the fine <a href="http://wiki.archlinux.org">Arch Linux wiki</a> entry for <a href="https://wiki.archlinux.org/index.php/rxvt-unicode#Clickable_URLs">rxvt unicode</a>, the solution is quite easy. In the file <strong>~/.Xdefaults</strong>, add:</p>
|
|
|
|
<pre><code>URxvt.perl-ext-common: default,matcher
|
|
URxvt.url-launcher: /usr/bin/firefox
|
|
URxvt.matcher.button: 1
|
|
</code></pre>
|
|
|
|
<p>And either do a <strong>xrdb --merge ~/.Xdefaults</strong> or log out/log in. And start a new rxvt, and you are good to go.</p></body></html> |