<?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>~larcher &#187; linux</title>
	<atom:link href="http://spoon.cx/~larcher/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://spoon.cx/~larcher</link>
	<description>Larry Archer's irregular weblog</description>
	<lastBuildDate>Wed, 08 Feb 2012 16:03:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Flickr screensaver for Linux</title>
		<link>http://spoon.cx/~larcher/2009/01/06/flickr-screensaver-for-linux/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=flickr-screensaver-for-linux</link>
		<comments>http://spoon.cx/~larcher/2009/01/06/flickr-screensaver-for-linux/#comments</comments>
		<pubDate>Tue, 06 Jan 2009 15:07:40 +0000</pubDate>
		<dc:creator>larcher</dc:creator>
				<category><![CDATA[geek]]></category>
		<category><![CDATA[pictures]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[rss]]></category>
		<category><![CDATA[screensaver]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://spoon.cx/~larcher/?p=551</guid>
		<description><![CDATA[The TV in the kitchen is wired up to the MythTV box (which sits in a closet in another room).  If the TV is left on after a recorded show ends, the MythTV menus are not so pretty to look at.   The standard &#8220;Pictures folder&#8221; screensaver is nice, but I got tired of manually copying [...]]]></description>
			<content:encoded><![CDATA[<p>The TV in the kitchen is wired up to the MythTV box (which sits in a closet in another room).   If the TV is left on after a recorded show ends, the MythTV menus are not so pretty to look at.   The standard &#8220;Pictures folder&#8221; screensaver is nice, but I got tired of manually copying and managing pictures on the Myth box.  Why not use Flickr as the automated source of the pictures?</p>
<p>I poked around for &#8220;flickr screensaver linux&#8221; on Google and was a bit disappointed.  Most of the results a) discuss Mac- or Windows-only solutions, b) link to programs that no longer exist, or c) are more complicated than what I need.</p>
<p>Well, it <em>is</em> Linux &#8230; time to roll my own.  Maybe this solution is so obvious that no one bothered to document it, but this is what I came up with.   Maybe it will save time for someone else.  Besides, I need a new post to break in the new theme on this blog. <img src='http://spoon.cx/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>The basic formula: RSS feed from Flickr + podcast downloader + cron +  &#8220;Pictures folder&#8221; screensaver.<br />
Read on for the details &#8230;</p>
<p><span id="more-551"></span></p>
<p>Actually, any RSS feed with images as <code>enclosure</code>s will work, since that&#8217;s what the podcatching software looks for.  However, podget does not handle Atom feeds with enclosures, so make sure you reach for the RSS.  The tricky part of this setup was finding a feed for the <a href="http://www.flickr.com/explore/interesting/">Interesting pics on Flickr</a>.   Flickr does not supply an official feed, but someone has <a href="http://seanreiser.com/flickrInterestingnessFeed">already solved this problem</a>.  (His <a href="http://antwrp.gsfc.nasa.gov">APOD</a> feed is nice as well.)</p>
<p>You want step-by-step?  It&#8217;s actually pretty Easy In Linux (not to be confused with regular<em> </em>easy):</p>
<ul>
<li>Install the podcatcher:<br />
<code>sudo apt-get install podget</code></li>
<li>Tell <code>podget</code> to download to the ~/Pictures directory.  Here&#8217;s the relevant line from my <code>~/.podget/podgetrc</code>:<br />
<code>dir_library=/home/mythtv/Pictures</code><br />
( <strong>alternate:</strong> tell the Pictures screensaver to grab images from the podcast directory )</li>
<li>Add feeds to podget.   Here&#8217;s my <code>~/.podget/serverlist</code>:<br />
<code># FORMAT:    &lt;url&gt; &lt;category&gt; &lt;name&gt;<br />
#<br />
# my photostream<br />
<a href="http://api.flickr.com/services/feeds/photos_public.gne?id=31073629@N00&amp;lang=en-us&amp;format=rss2">http://api.flickr.com/services/feeds/photos_public.gne?id=31073629@N00&amp;lang=en-us&amp;format=rss2</a> screensaver Flickr mine<br />
#<br />
# my favorites<br />
<a href="http://api.flickr.com/services/feeds/photos_faves.gne?id=31073629@N00&amp;lang=en-us&amp;format=rss_200">http://api.flickr.com/services/feeds/photos_faves.gne?id=31073629@N00&amp;lang=en-us&amp;format=rss_200</a> screensaver Flickr faves<br />
#<br />
# Flickr pictures with "interestingness"<br />
<a title="Flickr interestingness feed" href="http://feeds.feedburner.com/seanreiser/flickrinterestingness">http://feeds.feedburner.com/seanreiser/flickrinterestingness</a> screensaver flickr interesting<br />
#<br />
# Astronomy Picture of the Day<br />
<a href="http://feeds.feedburner.com/seanreiser/apod">http://feeds.feedburner.com/seanreiser/apod</a> screensaver APOD</code></li>
<li>Tell cron to grab new pictures once a day:<br />
Run <code>crontab -e</code> and add this line:<br />
<code>0 5 * * * podget  # run podget at 5am every day</code><br />
(You may need to give a full path for <code>podget</code>)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://spoon.cx/~larcher/2009/01/06/flickr-screensaver-for-linux/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

