<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>No Znx! &#187; irssi</title>
	<atom:link href="http://znx.no/tag/irssi/feed/" rel="self" type="application/rss+xml" />
	<link>http://znx.no</link>
	<description>the pigeons!!!!</description>
	<lastBuildDate>Fri, 21 May 2010 16:05:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Click URLs In URxvt</title>
		<link>http://znx.no/2008/10/click-urls-in-urxvt/</link>
		<comments>http://znx.no/2008/10/click-urls-in-urxvt/#comments</comments>
		<pubDate>Wed, 15 Oct 2008 19:23:16 +0000</pubDate>
		<dc:creator>znx</dc:creator>
				<category><![CDATA[IRC]]></category>
		<category><![CDATA[config]]></category>
		<category><![CDATA[irssi]]></category>
		<category><![CDATA[rxvt]]></category>

		<guid isPermaLink="false">http://znx.no/?p=42</guid>
		<description><![CDATA[Most terminals these days have the ability to click on a URL and then it opens in your browser. Needless to say some terminals aren&#8217;t as simple to setup as others. I commonly use URxvt and initially didn&#8217;t think that it was possible to do. However URxvt has a rather nice Perl plug-in which expands [...]]]></description>
			<content:encoded><![CDATA[<p>Most terminals these days have the ability to click on a URL and then it opens in your browser. Needless to say some terminals aren&#8217;t as simple to setup as others. I commonly use URxvt and initially didn&#8217;t think that it was possible to do. However URxvt has a rather nice Perl plug-in which expands its range of abilities. So to setup, edit or create <em>~/.Xdefaults</em> and add these lines to it:</p>
<pre>urxvt*urlLauncher:  firefox
urxvt*matcher.button:  1
urxvt*perl-ext-common:  default,matcher,searchable-scrollback
urxvt.matcher.pattern.1:  \\bwww\\.[\\w-]\\.[\\w./?&amp;@#-]*[\\w/-]</pre>
<p>Now you need to make this work:</p>
<pre># xrdb -merge ~/.Xdefaults</pre>
<p>You may need to add this command to <em>~/.xinitrc</em> or whatever startup script that your desktop uses. Most systems should automatically load it when your X starts.</p>
<p>Whilst I chose to use <strong>firefox</strong> as the browser you can set it to any other browser, indeed if you are using Gnome a trick to use the default browser is:</p>
<pre>urxvt*urlLauncher:  gnome-open</pre>
<p>This is actually rather handy because you can click on a variety of links not just web ones and it will open the correct tool for those links. Thanks to <a href="http://nion.modprobe.de/blog/archives/653-URL-highlighting-in-rxvt-unicode.html">Nion&#8217;s</a> blog I found out that you can colour the URLs too! Finally to those that wish to be mouseless, how about <a href="http://www.jukie.net/~bart/blog/20070503013555">Bart&#8217;s</a> blog for an awesome example of the abilities of URxvt!</p>
]]></content:encoded>
			<wfw:commentRss>http://znx.no/2008/10/click-urls-in-urxvt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
