<?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>Sprayfly &#187; xpdf</title>
	<atom:link href="http://sprayfly.com/tag/xpdf/feed/" rel="self" type="application/rss+xml" />
	<link>http://sprayfly.com</link>
	<description>Languages, Linux, Life</description>
	<lastBuildDate>Sat, 14 Aug 2010 10:45:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>View PDF files inline in Firefox on Ubuntu Karmic 9.10</title>
		<link>http://sprayfly.com/2010/01/15/view-pdf-files-inline-in-firefox-on-ubuntu-karmic-9-10/</link>
		<comments>http://sprayfly.com/2010/01/15/view-pdf-files-inline-in-firefox-on-ubuntu-karmic-9-10/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 20:34:07 +0000</pubDate>
		<dc:creator>Jono</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[evince]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[inline]]></category>
		<category><![CDATA[pdf]]></category>
		<category><![CDATA[xpdf]]></category>

		<guid isPermaLink="false">http://sprayfly.com/?p=436</guid>
		<description><![CDATA[When using Firefox on Ubuntu, PDF files are opened in a separate PDF viewer rather than being displayed within the browser window itself. If you follow this guide, you should be able to get PDF files to open inline, embedded within the Firefox window as in the screenshot below: To allow PDF files to be [...]]]></description>
			<content:encoded><![CDATA[<p> When using Firefox on Ubuntu, PDF files are opened in a separate PDF viewer rather than being displayed within the browser window itself.</p>
<p>If you follow this guide, you should be able to get PDF files to open inline, embedded within the Firefox window as in the screenshot below:</p>
<p><a href="http://www.flickr.com/photos/jonolumb/4277431528/" class="tt-flickr tt-flickr-Medium" title="firefox-inline-pdf.png"><img class="alignnone" src="http://farm5.static.flickr.com/4060/4277431528_383206e21c.jpg" alt="firefox-inline-pdf.png" width="500" height="302" /></a></p>
<p>To allow PDF files to be opened inline within the browser window, you need to do the following:</p>
<p>Install Mozplugger and Evince:</p>
<pre>sudo apt-get install evince mozplugger</pre>
<p>Edit the Mozplugger config file:</p>
<pre>gksudo gedit /etc/mozpluggerrc</pre>
<p>Find the following block of text (or something very similar):</p>
<pre>
application/pdf:pdf:PDF file
application/x-pdf:pdf:PDF file
text/pdf:pdf:PDF file
text/x-pdf:pdf:PDF file
        ACROREAD()
        repeat noisy swallow(kpdf) fill: kpdf "$file"
        repeat noisy swallow(Xpdf) fill: xpdf -g +9000+9000 "$file"
        repeat noisy swallow(okular) fill: okular "$file"
        GV()
        repeat noisy fill exits: evince "$file"
</pre>
<p>If you prefer to use the Evince PDF viewer replace the above code with the following:</p>
<pre>
application/pdf:pdf:PDF file
application/x-pdf:pdf:PDF file
text/pdf:pdf:PDF file
text/x-pdf:pdf:PDF file
	repeat noisy swallow(evince) fill: evince "$file"
	ACROREAD()
	repeat noisy swallow(kpdf) fill: kpdf "$file"
	repeat noisy swallow(Xpdf) fill: xpdf -g +9000+9000 "$file"
	repeat noisy swallow(okular) fill: okular "$file"
	GV()
	repeat noisy fill exits: evince "$file"
</pre>
<p>Or if you prefer to use the xpdf PDF viewer, you can use the following lines (make sure you if not already installed that you install xpdf using the command <em>sudo apt-get install xpdf</em>):</p>
<pre>
application/pdf:pdf:PDF file
application/x-pdf:pdf:PDF file
text/pdf:pdf:PDF file
text/x-pdf:pdf:PDF file
	repeat noisy swallow(Xpdf) fill: xpdf "$file"
	ACROREAD()
	repeat noisy swallow(kpdf) fill: kpdf "$file"
	repeat noisy swallow(okular) fill: okular "$file"
	GV()
	repeat noisy fill exits: xpdf "$file"
</pre>
<p>Save changes, close all instances of Firefox and Evince/Xpdf and then open firefox and try viewing a PDF file. Everything should now function as you want it to.</p>
<div id="mainphotoarea"></div>]]></content:encoded>
			<wfw:commentRss>http://sprayfly.com/2010/01/15/view-pdf-files-inline-in-firefox-on-ubuntu-karmic-9-10/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
