<?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>Lepolt.com &#187; software</title>
	<atom:link href="http://www.lepolt.com/blog/category/software/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lepolt.com/blog</link>
	<description>Random stuff from my head to your computer</description>
	<lastBuildDate>Sat, 27 Mar 2010 03:13:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>A Transformation: Old Laptop &#8211;&gt; New Digital Picture Frame</title>
		<link>http://www.lepolt.com/blog/2008/03/06/a-transformation-old-laptop-new-digital-picture-frame/</link>
		<comments>http://www.lepolt.com/blog/2008/03/06/a-transformation-old-laptop-new-digital-picture-frame/#comments</comments>
		<pubDate>Fri, 07 Mar 2008 03:49:15 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[do it yourself]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://www.lepolt.com/blog/2008/03/06/a-transformation-old-laptop-new-digital-picture-frame/</guid>
		<description><![CDATA[In this post I will attempt to explain [in all the gory details] the steps I used to turn my old laptop into a do it yourself LCD digital picture frame.  This is a continuation on the last two posts, so I apologize if my loyal readers (all six 6,000 of them) are getting [...]]]></description>
			<content:encoded><![CDATA[<p>In this post I will attempt to explain [in all the gory details] the steps I used to turn my old laptop into a do it yourself LCD digital picture frame.  This is a continuation on the last two posts, so I apologize if my loyal readers (all <del>six</del> 6,000 of them) are getting tired of me beating this subject into the ground.  Don&#8217;t worry, I&#8217;m almost done.  The next post should have pictures.</p>
<p>From this point forward I will explain the howto software aspect of my new digital picture frame.</p>
<h1>Requirements:</h1>
<p><strong>1) Unused laptop capable of booting off USB, with Internet access</strong><br />
I used a Pentium III, 850MHz, with 256MB of RAM. This is probably complete overkill, but it&#8217;s what I had laying under the bed collecting dust.  Internet access [for my particular case] is only required to download software.  The ethernet jack on my computer was broken, so I actually set up almost everything on another PC, then transfered the flash drive to my laptop for the final product.  I have read other posts in which people used wireless internet to update the photos, and/or SSH into the machine to make modifications&#8230;but I will not touch on that here.</p>
<p><strong>2) USB drive</strong><br />
64MB is needed for the OS, and you can add as much onto that as you so desire for photo storage.  Keep in mind that most [older] laptop screens are probably only 1024 pixels wide, so the photos don&#8217;t need to be ultra high quality (ie, there is no need for 10 megapixel pics).  I used a 4GB flash drive, because that&#8217;s what I had laying around.  I think I have about 2GB of free space leftover after installing the OS and shrinking the photos.</p>
<p><strong>3) Damn Small Linux</strong> (<a href="http://damnsmalllinux.org/">link</a>)<br />
This was the best Linux distribution that I was able to find to install on a flash drive.  Damn Small Linux (DSL) provides a very small installation, and offers an option to install directly to a thumb drive without any hacking around.  I also tested out <a href="http://www.ubuntu.com/">Ubuntu</a> and <a href="http://www.debian.org/">Debian</a>, but wasn&#8217;t ever able to get them to boot off of the flash drive.  Those two distributions also required ~1GB of space so my install would have been extremely bloated, and the extra software would have been pointless for a picture frame.  I did get <a href="http://www.slax.org/">Slax</a> to install and boot up with no problems, but I was not able to find a good image viewer to use for a slideshow.  I found that a lot of these &#8220;pen drive Linux&#8221; versions don&#8217;t come with a whole slew of applications&#8230;and they shouldn&#8217;t.</p>
<p><strong>4) feh (.dsl package can be found <a href="http://www.frontiernet.net/~pictureframe/mydsl/feh.dsl">here</a>)</strong><br />
This is a very lightweight image viewer that I used to implement the photo slideshow.  There are probably other software options available, but I found a pre-built package for my situation.  It has a few nice scripting features that I was able to take advantage of.</p>
<p><strong>5) Unclutter (.dsl package can be found <a href="http://www.frontiernet.net/~pictureframe/mydsl/unclutter.dsl">here</a>)</strong><br />
This program is used for hiding the mouse cursor after a certain period of inactivity.  By default in DSL and with the feh slideshow, the mouse cursor never goes away.  In order to avoid an annoying arrow in the middle of the screen during a slideshow, I used Unclutter to take care of this.</p>
<h1>Setup Steps:</h1>
<p><strong>1) Install DSL on the flash drive.</strong>  Additional details, if you need them, can be found <a href="http://www.damnsmalllinux.org/wiki/index.php/Installing_to_a_USB_Flash_Drive#From_within_DSL">here</a>.  Boot off the Live CD, then &#8220;simply open the Main menu, go to Apps then Tools and select either a USBZIP or USBHDD and follow the prompts.&#8221;</p>
<p><strong>2) Upgrade to GNU Tools:</strong> (<a href="http://damnsmalllinux.org/wiki/index.php/Local_Startup_Documentation#GNU.2FLinux_.26_Debian_Compatibility">link</a>).  &#8220;from the system menu select Apps->Tools->Upgrade to GNU Utils.&#8221;  This will allow feh and Unclutter to work.</p>
<p><strong>3) Download feh and Unclutter .dsl files,</strong> and place them in your mydsl folder so they are loaded on boot.  gnu-utils.dsl should already be in that directory.  For me this was in /mnt/sda1/mydsl.<br />
feh (<a href="http://www.frontiernet.net/~pictureframe/mydsl/feh.dsl">http://www.frontiernet.net/~pictureframe/mydsl/feh.dsl</a>)<br />
Unclutter (<a href="http://www.frontiernet.net/~pictureframe/mydsl/unclutter.dsl">http://www.frontiernet.net/~pictureframe/mydsl/unclutter.dsl</a>)</p>
<p><strong>4) Create script to run the slideshow.</strong>  I used bash for this because the script is extremely basic and simple to implement.  I also decided to store my script file in the $HOME directory&#8230;for no real reason.  You could move this around if you wanted to.<br />
&nbsp;&nbsp;&nbsp;file:$HOME/start_slideshow.sh<br />
&nbsp;&nbsp;&nbsp;1> #!/bin/bash<br />
&nbsp;&nbsp;&nbsp;2> feh -rzF -D 60 /location/to/your/photos/<br />
&nbsp;&nbsp;&nbsp;3> sudo shutdown -h +1<br />
Line 2 will start feh searching the directory recursively, displaying images at random, full screen, and at 60 second intervals.  The script will not continue past line 2 since I didn&#8217;t use the &#8216;&#038;&#8217; at the end of the command to run the process in the background.  This is good, however, because then we can gracefully shutdown the system with the second line by exiting feh.  I exit feh by pressing &#8216;Q&#8217; on the keyboard&#8230;not the most beautiful solution, but it works.  Line 3 will halt the machine in 1 minute, giving you time to kill the shutdown sequence (sudo shutdown -c) if you would like to gain access to the desktop again.<br />
<a href='http://www.lepolt.com/blog/wp-content/uploads/2008/03/start_slideshow.sh' title='start_slideshow.sh'>Download my example</a></p>
<p><strong>5) Comment out the line in .jwmrc that opens the root menu.</strong>  I did this so that my full screen slideshow was really full screen.<br />
&nbsp;&nbsp;&nbsp;file:$HOME/.jwmrc<br />
&nbsp;&nbsp;&nbsp;comment out: RootMenu height=&#8221;20&#8243; onroot=&#8221;123&#8243;<br />
<a href='http://www.lepolt.com/blog/wp-content/uploads/2008/03/jwmrc' title='jwmrc'>Download my example</a></p>
<p><strong>6) Edit .xinitrc</strong> to automatically start Unclutter and the slideshow when the X Desktop starts<br />
&nbsp;&nbsp;&nbsp;file:$HOME/.xinitrc<br />
&nbsp;&nbsp;&nbsp;x1> /usr/X11R6/bin/unclutter &#038;<br />
&nbsp;&nbsp;&nbsp;x2> $HOME/start_slideshow.sh &#038;<br />
&nbsp;&nbsp;&nbsp;x3> xset s off<br />
Line 1 starts Unclutter, line 2 starts the slideshow, and line 3 turns the screensaver off so the slideshow will not be interrupted.<br />
<a href='http://www.lepolt.com/blog/wp-content/uploads/2008/03/xinitrc' title='xinitrc'>Download my example</a></p>
<p><strong>7) Prepare photos.</strong>  In my case, the flash drive partition that didn&#8217;t hold the OS was located at /mnt/sda1.  This was the perfect place to store my photos, especially since this partition could be accessed by my Mac.  I created a subdirectory called &#8216;photos&#8217; and copied 4000 files in there.</p>
<p>So there you have it, the gory details on how I set up the software for my digital picture frame.  I&#8217;ll discuss the hardware aspect at a later date.</p>
</p>
<p>Here are a few additional links that I used for reference:<br />
<a href="http://www.thewares.net/item/33">http://www.thewares.net/item/33</a><br />
<a href="http://www.frontiernet.net/~pictureframe/">http://www.frontiernet.net/~pictureframe/</a><br />
<a href="http://linuxbrit.co.uk/feh/wiki/FehHelp">http://linuxbrit.co.uk/feh/wiki/FehHelp</a></p>
<p>Edit (July 31, 2008): Apparently the links for the .dsl packages of feh and unclutter don&#8217;t work anymore, so I&#8217;ll post them here:</br></p>
<ul>
<li><a href="http://www.lepolt.com/blog/wp-content/uploads/2008/07/feh.dsl">feh</a></li>
<li><a href='http://www.lepolt.com/blog/wp-content/uploads/2008/07/unclutter.dsl'>Unclutter</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.lepolt.com/blog/2008/03/06/a-transformation-old-laptop-new-digital-picture-frame/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>iWeb Review: The Great, the Good, the Bad, and the Ugly</title>
		<link>http://www.lepolt.com/blog/2008/02/07/iweb-review-the-great-the-good-the-bad-and-the-ugly/</link>
		<comments>http://www.lepolt.com/blog/2008/02/07/iweb-review-the-great-the-good-the-bad-and-the-ugly/#comments</comments>
		<pubDate>Fri, 08 Feb 2008 00:59:11 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://www.lepolt.com/blog/2008/02/07/iweb-review-the-great-the-good-the-bad-and-the-ugly/</guid>
		<description><![CDATA[First of all, I apologize to all the non-Mac users that happen to fall upon this blog post, chances are you&#8217;re not going to care about this one much.&#160; I&#8217;d like to take a few minutes to review the latest version of Apple&#8217;s website design tool, iWeb &#8217;08.
iWeb comes standard with the most recent versions [...]]]></description>
			<content:encoded><![CDATA[<p>First of all, I apologize to all the non-Mac users that happen to fall upon this blog post, chances are you&rsquo;re not going to care about this one much.&nbsp; I&rsquo;d like to take a few minutes to review the latest version of Apple&rsquo;s website design tool, iWeb &rsquo;08.</p>
<p>iWeb comes standard with the most recent versions of iLife.&nbsp; From Apple&rsquo;s webpage: &ldquo;iWeb makes it easy to create a website that&rsquo;s stunningly beautiful &mdash; and totally you. Start with an Apple-designed theme, then customize it with your own text, photos, movies, and podcasts until it&rsquo;s exactly what you want. And switch themes with a click anytime.&rdquo;&nbsp; These things are all true, although I found myself trying to make my sites more complex than iWeb had in mind.&nbsp; More on that later.</p>
<p>iWeb was designed with the idea that its users would integrate with their .Mac account.&nbsp; .Mac is simply Apple&rsquo;s web hosting service that costs more than pretty much anyone else, and gives you less storage space and bandwidth.&nbsp; .Mac does give you some new email addresses and the ability to sync/backup documents from your computer, but all things considered I would never purchase an account with them.</p>
<p>This already begins to affect the iWeb functionality, as you must have a .Mac account to use certain features such as blog comments, interactive picture slideshows, and only publishing changes from pages that have changed.&nbsp; Confused?&nbsp; Yeah, I don&rsquo;t think it makes much sense either.&nbsp; </p>
<p>Since I have a programming background, I decided that I could create a blog from a third party blogging site, update my blog template to match my iWeb template, and seamlessly integrate them together so that no one would be able to tell a difference.&nbsp; Well, that didn&rsquo;t work because the iWeb templates use a bunch of JavaScript, CSS, images, and some other stuff that made it more difficult than it was worth to try to mimic.&nbsp; So, screw that idea.&nbsp; After that failed I busted out my trusty Internet friend, Google, to see if other people had tried the same thing I did.&nbsp; Turns out they did, and I came upon an application called iComment (<a href="http://web.mac.com/cbrantly/iWeb/Software/iComment.html">link</a>).</p>
<p>iComment utilizes a free third party commenting system called HaloScan (<a href="http://www.haloscan.com/">link</a>) that users can integrate into pretty much whatever site they want.&nbsp; I downloaded the demo of iComment to try it out and see if I liked it.&nbsp; After running iComment a few times, I figured out that it was simply parsing my HTML pages and replacing/inserting text that HaloScan requires to display comments on a page.&nbsp; Again, since I have a programming background I figured I could do that myself.&nbsp; Turns out, this actually worked.&nbsp; One excellent new feature of iWeb is called Web Widgets.&nbsp; These things let you insert code directly into your HTML page, which was exactly what I need with HaloScan.&nbsp; Sweet, right?&nbsp; </p>
<p>I thought I was done.&nbsp; </p>
<p>When I was testing my new comment functionality, I was using a web browser with an ad blocking add-in installed&hellip;this therefore meant that the ads HaloScan was inserting near my blog comments were not visible to me.&nbsp; It wasn&rsquo;t until my friend mentioned something to me that I noticed.&nbsp; Since I didn&rsquo;t set this page up to make money and look like crap, I kicked HaloScan off and decided to drop iWeb altogether.&nbsp; I&rsquo;ve since switched to WordPress as my blogging tool, and simple CSS for the layout.</p>
<p>Now don&rsquo;t get me wrong here, iWeb certainly is nice.&nbsp; It is by far the easiest web design tool that I have ever used.&nbsp; It integrates very well with iPhoto so if you want a photo in a certain place you can simply drag and drop it on the page wherever you want.&nbsp; It doesn&rsquo;t get a whole lot simpler than that.&nbsp; iWeb also comes with about 25 unique template styles, each with eight page styles so you can create a new page based on what it will be used for.&nbsp; Example: blog, pictures, etc.&nbsp; iWeb is also much, much nicer when it is used with .Mac, so all of the iWeb functionality can be used.&nbsp; </p>
<p>For experienced web programmers, iWeb is definitely not the way to go.&nbsp; There is no obvious way to make changes to the CSS, there is no easy way to edit the HTML code, and the functionality is greatly reduced when not used with .Mac.</p>
<p>In conclusion:<br />
   <strong>The Great</strong><br />
   Ease of use, ability to make great looking websites without knowing a thing about the web.</p>
<p><strong>The Good</strong><br />
Integration with iPhoto, WYSIWYG editor very intuitive to use.</p>
<p><strong>The Bad</strong><br />
Adding HTML code through Web Widgets is awkward, publishing a site to a folder updates every single file on the site so it is difficult to upload only required files.</p>
<p><strong>The Ugly</strong><br />
iWeb without .Mac integration is just a fancy version of Print Shop for the web.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lepolt.com/blog/2008/02/07/iweb-review-the-great-the-good-the-bad-and-the-ugly/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>
