<?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>The Bruised Edge &#187; Linux</title>
	<atom:link href="http://weblog.kevinclarke.info/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://weblog.kevinclarke.info</link>
	<description>Digital Libraries, Repositories, Programming, Technology, Librarianship, etc.</description>
	<lastBuildDate>Wed, 28 Jul 2010 03:19:41 +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>Howto: Saving an XCF with Layers to a PDF with Pages</title>
		<link>http://weblog.kevinclarke.info/2009/07/01/howto-xcf-with-layers-to-pdf-with-pages/</link>
		<comments>http://weblog.kevinclarke.info/2009/07/01/howto-xcf-with-layers-to-pdf-with-pages/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 21:00:37 +0000</pubDate>
		<dc:creator>ksclarke</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[gimp]]></category>
		<category><![CDATA[pdf]]></category>
		<category><![CDATA[xcf]]></category>

		<guid isPermaLink="false">http://weblog.kevinclarke.info/?p=222</guid>
		<description><![CDATA[I&#8217;m surprised that there isn&#8217;t an easier way to go from a Gimp file (.xcf) to a PDF.  Sure, you can always &#8220;print to pdf&#8221; if you are working with a single layer image, but what if you have a multi-layer image that you want to turn into a PDF with multiple pages (each page [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m surprised that there isn&#8217;t an easier way to go from a Gimp file (.xcf) to a PDF.  Sure, you can always &#8220;print to pdf&#8221; if you are working with a single layer image, but what if you have a multi-layer image that you want to turn into a PDF with multiple pages (each page being a layer from the image)?</p>
<p>Here is one way that I&#8217;ve found to accomplish this.  I&#8217;m using Ubuntu so any install stuff will be specific to that distribution, but the software I&#8217;m using should work on any Linux distro.</p>
<p>First, you&#8217;ll need Gimp.  I&#8217;m assuming that&#8217;s already installed.</p>
<p>Gimp won&#8217;t save a multi-layer image to a .ps, .tif, or .pdf by itself, though, so you need to install a script called &#8220;Save Layers as Individual Files&#8221; (this script can be <a title="Zip file for Gimp script" href="http://wiki.panotools.org/wiki/images/8/86/Save-layers-tiff-24.zip">downloaded for Gimp 2.4 or newer</a> from <a href="http://wiki.panotools.org/">Panotools</a>) .</p>
<p>Once you download this script it needs to be put in your Gimp scripts directory.</p>
<p><code>unzip -d ~/.gimp-2.6/scripts Save-layers-tiff-24.zip</code></p>
<p>Your scripts directory may be named something else if you are using another version of Gimp (other than 2.6).  Once the script is in that directory, it will appear in the <em>Script-Fu &gt; Utils</em> menu within Gimp (and can be applied to any open image).</p>
<p>Next, you need to install imagemagick.  If you don&#8217;t already have it installed, it&#8217;s as easy (on Ubuntu) as:</p>
<p><code>sudo aptitude install imagemagick</code></p>
<p>Once that is installed, you&#8217;ll be able to use the mogrify program which comes with ImageMagick.  From within the directory that contains all your TIF files, type:</p>
<p><code>mogrify -format pdf *.tif</code></p>
<p>This will generate PDFs for each of your TIF files.  You can then merge all the PDFs files into one using a program called PDFTK.  To install that, just type:</p>
<p><code>sudo aptitude install pdftk</code></p>
<p>Running that program is as easy as typing:</p>
<p><code>pdftk filename*.pdf cat output singlename.pdf</code></p>
<p>The filename*.pdf argument will catch all the individually named files created by the mogrify program (filename1.pdf, filename2.pdf, filename3.pdf, filename4.pdf, etc.)</p>
<p>And, that&#8217;s it!  You can open your new singlename.pdf file and have all those XCF layers now represented by individual pages within the PDF.  This is the easiest way that I&#8217;ve found to accomplish this task, but if you know of a better/easier way I&#8217;d love to hear it!</p>
]]></content:encoded>
			<wfw:commentRss>http://weblog.kevinclarke.info/2009/07/01/howto-xcf-with-layers-to-pdf-with-pages/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Note to Future Self</title>
		<link>http://weblog.kevinclarke.info/2008/09/28/note-to-future-self/</link>
		<comments>http://weblog.kevinclarke.info/2008/09/28/note-to-future-self/#comments</comments>
		<pubDate>Sun, 28 Sep 2008 04:46:05 +0000</pubDate>
		<dc:creator>ksclarke</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://weblog.kevinclarke.info/?p=135</guid>
		<description><![CDATA[When Eclipse on your 64-bit Ubuntu/Dell laptop starts crashing on start, change the settings so that it doesn&#8217;t try to auto-compile the workspace. You&#8217;ll have to be fast and change the setting after it has started but before it gets to the &#8220;build all projects&#8221; stage. Don&#8217;t ask me how it got set to auto-build [...]]]></description>
			<content:encoded><![CDATA[<p>When Eclipse on your 64-bit Ubuntu/Dell laptop starts crashing on start, change the settings so that it doesn&#8217;t try to auto-compile the workspace.  You&#8217;ll have to be fast and change the setting after it has started but before it gets to the &#8220;build all projects&#8221; stage.  Don&#8217;t ask me how it got set to auto-build again.  You probably did it in a moment of forgetfulness.  Also, don&#8217;t try to figure out why Eclipse doesn&#8217;t start with the auto-build feature activated.  You&#8217;ve tried this many times before.  Save your time and just follow the steps above.</p>
]]></content:encoded>
			<wfw:commentRss>http://weblog.kevinclarke.info/2008/09/28/note-to-future-self/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Boston&#8217;s &#8220;Free Your iPod&#8221; Party (Today)</title>
		<link>http://weblog.kevinclarke.info/2006/10/06/bostons-free-your-ipod-party-today/</link>
		<comments>http://weblog.kevinclarke.info/2006/10/06/bostons-free-your-ipod-party-today/#comments</comments>
		<pubDate>Fri, 06 Oct 2006 14:36:15 +0000</pubDate>
		<dc:creator>ksclarke</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://kevinclarke.info/weblog/?p=251</guid>
		<description><![CDATA[Free Culture Boston and the Computing Culture group at the MIT Media Lab are hosting an iPod liberation party. They will be helping people install RockBox or iPodLinux on their iPods &#8212; freeing them from Apple&#8217;s file type, and DRM, limitations. I don&#8217;t own an iPod (I bought an iRiver instead precisely because of the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.hcs.harvard.edu/freeculture/blog/" title="Free Culture Boston">Free Culture Boston</a> and the <a href="http://weblogs.media.mit.edu/compcult/" title="Computing Culture group at MIT">Computing Culture group</a> at the MIT Media Lab are hosting an <a href="http://www.hcs.harvard.edu/~freeculture/blog/?p=55" title="iPod Liberation Party">iPod liberation party</a>.  They will be helping people install <a href="http://www.rockbox.org/" title="RockBox">RockBox</a> or <a href="http://www.ipodlinux.org/" title="iPodLinux">iPodLinux</a> on their iPods &#8212; freeing them from Apple&#8217;s file type, and DRM, limitations.</p>
<p>I don&#8217;t own an iPod (I bought an iRiver instead precisely because of the ogg support).  Seeing this post though makes me want to go out and buy a stylish iPod just to put RockBox on it.</p>
<p>Thanks to the <a href="http://www.losslessaudioblog.com/" title="Lossless Audio Blog">Lossless Audio Blog</a> for bringing this event to my attention (even though I don&#8217;t live in the Boston area). I&#8217;m very curious about these alternatives to the standard Apple software and would love to hear from people who are using RockBox or iPodLinux.</p>
<p>And the, now, obligatory haiku:</p>
<p>Can you hear the sound &#8211;<br />
The thrash of a song bird&#8217;s wings<br />
in a small white cage</p>
]]></content:encoded>
			<wfw:commentRss>http://weblog.kevinclarke.info/2006/10/06/bostons-free-your-ipod-party-today/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gentoo Stable</title>
		<link>http://weblog.kevinclarke.info/2006/01/09/gentoo-stable/</link>
		<comments>http://weblog.kevinclarke.info/2006/01/09/gentoo-stable/#comments</comments>
		<pubDate>Tue, 10 Jan 2006 02:34:23 +0000</pubDate>
		<dc:creator>ksclarke</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://kevinclarke.info/weblog/?p=209</guid>
		<description><![CDATA[I&#8217;ve finally downgraded my whole machine to Gentoo Stable. Up til now, I&#8217;ve been running the unstable version on my laptop. I&#8217;m getting too old/busy for all the frequent upgrades though. There are some apps I want to have unstable versions for, but I&#8217;ve learned how to manage those more efficiently through the /etc/portage/package.keywords file. [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve finally downgraded my whole machine to Gentoo Stable. Up til now, I&#8217;ve been running the unstable version on my laptop. I&#8217;m getting too old/busy for all the frequent upgrades though.</p>
<p>There are some apps I want to have unstable versions for, but I&#8217;ve learned how to manage those more efficiently through the /etc/portage/package.keywords file. Of course, in the whole process of downgrading I&#8217;ve lost access to my IPW2200 wireless card again (this seems to always happen with any big change). I need to figure out which version is the version of the drivers I need to be using. I seem to remember that the latest ones don&#8217;t work right.</p>
]]></content:encoded>
			<wfw:commentRss>http://weblog.kevinclarke.info/2006/01/09/gentoo-stable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wireless Woes</title>
		<link>http://weblog.kevinclarke.info/2005/04/02/wireless-woes/</link>
		<comments>http://weblog.kevinclarke.info/2005/04/02/wireless-woes/#comments</comments>
		<pubDate>Sat, 02 Apr 2005 21:00:15 +0000</pubDate>
		<dc:creator>ksclarke</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://kevinclarke.info/weblog/?p=232</guid>
		<description><![CDATA[I&#8217;m recovering from another Gentoo upgrade that has knocked out my wireless (among a few other things&#8230; I&#8217;m not complaining though; this is my own fault because I run the ~arch (rather than stable) version of Gentoo). After trying many things to get it working (I was almost ready to go back to ndiswrapper), I [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m recovering from another Gentoo upgrade that has knocked out my wireless (among a few other things&#8230; I&#8217;m not complaining though; this is my own fault because I run the ~arch (rather than stable) version of Gentoo). After trying many things to get it working (I was almost ready to go back to ndiswrapper), I backed back down to ipw2200-1.0.1 and discovered that it still works fine.</p>
<p>In the process of trying a bunch of other things (not all related to the wireless problem), I&#8217;ve moved up to kernel 2.6.11-gentoo-r4 and switched to udev (so those are two good results (brought to you by The-Cup-IS-Half-Full department)). Anyway, it is good to be online again (well, you know, at home too&#8230; I&#8217;m always connected through the wire at work). Now to do a little work&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://weblog.kevinclarke.info/2005/04/02/wireless-woes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Goodbye Wireless, Hello Wireless</title>
		<link>http://weblog.kevinclarke.info/2005/02/06/goodbye-wireless-hello-wireless/</link>
		<comments>http://weblog.kevinclarke.info/2005/02/06/goodbye-wireless-hello-wireless/#comments</comments>
		<pubDate>Sun, 06 Feb 2005 09:35:48 +0000</pubDate>
		<dc:creator>ksclarke</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://kevinclarke.info/weblog/?p=236</guid>
		<description><![CDATA[There is a Taoist story of an old farmer who had worked his crops for many years. One day his horse ran away. Upon hearing the news, his neighbors came to visit. &#8220;Such bad luck,&#8221; they said sympathetically. &#8220;Maybe,&#8221; the farmer replied. The next morning the horse returned, bringing with it three other wild horses. [...]]]></description>
			<content:encoded><![CDATA[<p>There is a Taoist story of an old farmer who had worked his crops for many years. One day his horse ran away. Upon hearing the news, his neighbors came to visit. &#8220;Such bad luck,&#8221; they said sympathetically. &#8220;Maybe,&#8221; the farmer replied. The next morning the horse returned, bringing with it three other wild horses. &#8220;How wonderful,&#8221; the neighbors exclaimed. &#8220;Maybe,&#8221; replied the old man.</p>
<p>The following day, his son tried to ride one of the untamed horses, was thrown, and broke his leg. The neighbors again came to offer their sympathy on his misfortune. &#8220;Maybe,&#8221; answered the farmer. The day after, military officials came to the village to draft young men into the army. Seeing that the son&#8217;s leg was broken, they passed him by. The neighbors congratulated the farmer on how well things had turned out. &#8220;Maybe,&#8221; said the farmer.</p>
<p>&#8230; This is one of my favorite Taoist stories. Though, there are so many great Taoist stories, it is hard to pick favorites. The connection to my life today is that I am now using my wireless connection again.</p>
<p>I&#8217;m not using ndiswrapper anymore though. I was disappointed when I overwrote my custom ndiswrapper config in the process of updating my system a couple days ago. A couple of days ago, I would have told you this was very bad news (in fact, I think I did).</p>
<p>I took the opportunity, though, to look at using ipw2200 (native Linux drivers for my Dell 600&#8242;s Intel/Pro wireless card). Well, they work great&#8230; and, better yet, I&#8217;m getting much better reception and speed than I did with ndiswrapper&#8217;s emulation. Before, with ndiswrapper, I never got better than a 60% signal strength; now, I&#8217;m getting 99-100% reception. What a difference!</p>
<p>So, great news?  Maybe&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://weblog.kevinclarke.info/2005/02/06/goodbye-wireless-hello-wireless/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>If It Ain&#8217;t Broke</title>
		<link>http://weblog.kevinclarke.info/2005/02/04/if-it-aint-broke/</link>
		<comments>http://weblog.kevinclarke.info/2005/02/04/if-it-aint-broke/#comments</comments>
		<pubDate>Fri, 04 Feb 2005 07:35:57 +0000</pubDate>
		<dc:creator>ksclarke</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://kevinclarke.info/weblog/?p=237</guid>
		<description><![CDATA[I must remember never to update ndiswrapper again. I need it to use my wireless connection from home because my wireless card doesn&#8217;t have a non-Windows driver. Everytime I upgrade it, though, something gets messed up. It takes such a long time to get it working again. In case you are wondering, right now I&#8217;m [...]]]></description>
			<content:encoded><![CDATA[<p>I must remember never to update ndiswrapper again. I need it to use my wireless connection from home because my wireless card doesn&#8217;t have a non-Windows driver. Everytime I upgrade it, though, something gets messed up. It takes such a long time to get it working again. In case you are wondering, right now I&#8217;m connected through the wire. Note to self: go and remove ndiswrapper from my portage world file this instant.</p>
]]></content:encoded>
			<wfw:commentRss>http://weblog.kevinclarke.info/2005/02/04/if-it-aint-broke/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
