<?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>eBlog &#187; tips</title>
	<atom:link href="http://emresaglam.com/blog/tag/tips/feed" rel="self" type="application/rss+xml" />
	<link>http://emresaglam.com/blog</link>
	<description>My Blog about my life and my thoughts...</description>
	<lastBuildDate>Fri, 03 Feb 2012 07:08:53 +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>Mac OS X pkg files</title>
		<link>http://emresaglam.com/blog/1035</link>
		<comments>http://emresaglam.com/blog/1035#comments</comments>
		<pubDate>Thu, 08 Sep 2011 19:25:54 +0000</pubDate>
		<dc:creator>Emre</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://emresaglam.com/blog/?p=1035</guid>
		<description><![CDATA[Sometimes you need to see what&#8217;s inside of that pkg file. But you also don&#8217;t want to install it. You just want to take a look at the files in it before installing it. Well, here is how to do it: PKG files usually come in a DMG image. First mount that file by double [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://emresaglam.com/blog/wp-content/uploads/2011/09/pkg-235.png"><img class="alignleft size-full wp-image-1037" title="PKG Files" src="http://emresaglam.com/blog/wp-content/uploads/2011/09/pkg-235.png" alt="PKG Files" width="128" height="128" /></a>Sometimes you need to see what&#8217;s inside of that pkg file. But you also don&#8217;t want to install it. You just want to take a look at the files in it before installing it. Well, here is how to do it:</p>
<p>PKG files usually come in a DMG image. First mount that file by double clicking on it. Then open a Terminal window and go to the folder where it&#8217;s mounted. (Look under /Volumes)</p>
<p>Once you are in that folder you will see a file with a .pkg extension. Let&#8217;s say it is called Foo.pkg. Copy that file in a folder, I&#8217;ll copy it to /tmp.<br />
<code>cp Foo.pkg /tmp<br />
cd /tmp</code></p>
<p>Mac OS X has a utility called pkgutil. You can do a ton of stuff with it, so check the manual page. (man pkgutil) But for our exercise we will just use it to expand the pkg file.<br />
<code>pkgutil --expand Foo.pkg /tmp/foo_package<br />
cd /tmp/foo_package</code></p>
<p>This will open the pkg file to a flat structure. You will see some files and folders like Distribution, Resources, Foo.pkg. Go ahead and cd in the directory Foo.pkg:<br />
<code>cd Foo.pkg</code></p>
<p>In there you will several files. The important ones are <em>Bom</em>, <em>Payload</em> and <em>PackageInfo</em>:</p>
<h2>Bom:</h2>
<p>This file is called Bill of Materials. It describes what is in this pkg file and where they will be written to. If you will not do file/binary analysis of the contents of the pkg file and you want only to see which files will be written where, this is your file. You can also use this file&#8217;s contents to remove the package completely. (I leave this exercise up to you)</p>
<p>Bom is a binary file and there is a tool to list its contents: <em>lsbom</em>. (man lsbom for usage) Basic usage would be:<br />
<code>lsbom Bom</code></p>
<p>This will print file/directory structure of the contents on the screen.</p>
<h2>Payload:</h2>
<p>This is the file that contains all the files and directories in this pkg file. It&#8217;s a gzipped archive file.<br />
<code>$ file Payload<br />
Payload: gzip compressed data, from Unix<br />
$ mv Payload foo.gz<br />
$ gunzip foo.gz<br />
$ ls<br />
foo<br />
</code></p>
<p>This will give you a file called foo. Now you need to use cpio to extract that archive.<br />
<code>$ cpio -iv &lt; foo<br />
.<br />
./System<br />
./System/Library<br />
./usr<br />
./System/Library/LaunchAgents<br />
./usr/bin<br />
......files files files.......<br />
50002 blocks<br />
$ ls<br />
System	foo	usr<br />
</code><br />
In my case it unarchived two folders called System and usr.</p>
<p>No you can go and browse these directory to find files you are looking for. Have fun <img src='http://emresaglam.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://emresaglam.com/blog/1035/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Some basic statistics on leaked Sony usernames and passwords data.</title>
		<link>http://emresaglam.com/blog/1011</link>
		<comments>http://emresaglam.com/blog/1011#comments</comments>
		<pubDate>Thu, 09 Jun 2011 04:26:26 +0000</pubDate>
		<dc:creator>Emre</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[hacked]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://emresaglam.com/blog/?p=1011</guid>
		<description><![CDATA[I spent some time on analyzing password usage using the data that leaked from couple of Sony hacks few days ago. The results are pretty scary. The data size: 38698 users on 2 sites. Top ten most used passwords are: seinfeld password winner 123456 purple sweeps contest princess maggie peanut So if you have a [...]]]></description>
			<content:encoded><![CDATA[<p>I spent some time on analyzing password usage using the data that leaked from couple of Sony hacks few days ago. The results are pretty scary.</p>
<p>The data size: 38698 users on 2 sites.</p>
<p>Top ten most used passwords are:</p>
<ol>
<li>seinfeld</li>
<li>password</li>
<li>winner</li>
<li>123456</li>
<li>purple</li>
<li>sweeps</li>
<li>contest</li>
<li>princess</li>
<li>maggie</li>
<li>peanut</li>
</ol>
<p>So if you have a password that is listed above, you better change it pretty soon.</p>
<p>I also compared how many people were using the same password on two different hacked Sony sites. There were 2421 users who used the same email to register and out of those only 168 users were using different passwords (about 6.5%).</p>
<p><img src="https://spreadsheets.google.com/spreadsheet/oimg?key=0And9-E460tgZdFp2Z1Flc3F6V0QySWZYdkg1eGxXUWc&amp;oid=2&amp;zx=jjsc9jxpiyqu" alt="" /></p>
<p>And who wins the email war? Based on the same data, most of the users were using emails from the following providers:</p>
<table>
<tbody></tbody>
<thead>
<tr>
<th># of users</th>
<th>Provider</th>
</tr>
</thead>
<tbody>
<tr>
<td>11281</td>
<td>yahoo.com</td>
</tr>
<tr>
<td>7250</td>
<td>other email providers</td>
</tr>
<tr>
<td>5077</td>
<td>hotmail.com</td>
</tr>
<tr>
<td>4876</td>
<td>aol.com</td>
</tr>
<tr>
<td>4837</td>
<td>gmail.com</td>
</tr>
<tr>
<td>1600</td>
<td>comcast.net</td>
</tr>
<tr>
<td>1263</td>
<td>msn.com</td>
</tr>
<tr>
<td>920</td>
<td>sbcglobal.net</td>
</tr>
<tr>
<td>676</td>
<td>verizon.net</td>
</tr>
<tr>
<td>478</td>
<td>bellsouth.net</td>
</tr>
<tr>
<td>440</td>
<td>cox.net</td>
</tr>
</tbody>
</table>
<p><img src="https://spreadsheets.google.com/spreadsheet/oimg?key=0And9-E460tgZdFp2Z1Flc3F6V0QySWZYdkg1eGxXUWc&amp;oid=3&amp;zx=8kvnid3omtf7" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://emresaglam.com/blog/1011/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nice way of using n900 as a UPnP server</title>
		<link>http://emresaglam.com/blog/991</link>
		<comments>http://emresaglam.com/blog/991#comments</comments>
		<pubDate>Tue, 12 Apr 2011 23:07:55 +0000</pubDate>
		<dc:creator>Emre</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[n900]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://emresaglam.com/blog/?p=991</guid>
		<description><![CDATA[Know Nokia has a great article on compiling Fuppes for n900 and using it as a UPnP server in your LAN. In general I recommend reading all articles on Know Nokia Quality info on n900 wizardry.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.knownokia.ca">Know Nokia</a> has a great <a href="http://www.knownokia.ca/2011/03/upnpdlna-n900-server.html">article</a> on compiling <a href="http://fuppes.ulrich-voelkel.de/">Fuppes</a> for n900 and using it as a UPnP server in your LAN.</p>
<p>In general I recommend reading all articles on Know Nokia <img src='http://emresaglam.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  Quality info on n900 wizardry.</p>
]]></content:encoded>
			<wfw:commentRss>http://emresaglam.com/blog/991/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Airlink Ultra Mini USB Adapter with Linux</title>
		<link>http://emresaglam.com/blog/988</link>
		<comments>http://emresaglam.com/blog/988#comments</comments>
		<pubDate>Wed, 16 Mar 2011 16:36:38 +0000</pubDate>
		<dc:creator>Emre</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://emresaglam.com/blog/?p=988</guid>
		<description><![CDATA[We recently bought this Ultra mini usb wifi adapter for our laptop that had it&#8217;s internal wifi card fried. Since this laptop was acting really bad with Windows XP, we installed Ubuntu on it. At first Ubuntu couldn&#8217;t recognize the adapter. Then I wanted to try ndiswrapper. All I had to do was to install [...]]]></description>
			<content:encoded><![CDATA[<p>We recently bought this Ultra mini usb wifi adapter for our laptop that had it&#8217;s internal wifi card fried. Since this laptop was acting really bad with Windows XP, we installed Ubuntu on it.</p>
<p>At first Ubuntu couldn&#8217;t recognize the adapter. Then I wanted to try ndiswrapper. All I had to do was to install ndisgtk (sudo apt-get install ndisgtk). It installs ndiswrapper-utils package as a dependency. Then point the ndisgtk to the .inf file of the driver.  (net8192cu.inf)</p>
<p>Here is a more detailed write-up for <a href="https://help.ubuntu.com/community/WifiDocs/Driver/Ndiswrapper">generic ndiswrapper configuration</a> from ubuntu.</p>
<p>The ID for this adapter is: 0bda:8176<br />
When you run <em>lsusb</em> it shows as: Bus 001 Device 002: ID 0bda:8176 Realtek Semiconductor Corp.<br />
The manufacturer id is: AWLL5088</p>
<p><img class="aligncenter" title="AWLL5088" src="http://i.imgur.com/hjqQ5l.jpg" alt="" width="480" height="640" /></p>
]]></content:encoded>
			<wfw:commentRss>http://emresaglam.com/blog/988/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Repeat the last macro in vim</title>
		<link>http://emresaglam.com/blog/966</link>
		<comments>http://emresaglam.com/blog/966#comments</comments>
		<pubDate>Tue, 09 Nov 2010 18:26:36 +0000</pubDate>
		<dc:creator>Emre</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://emresaglam.com/blog/?p=966</guid>
		<description><![CDATA[So you wrote a macro in vim and you want to repeat the last macro multiple times and you don&#8217;t know how. You type @@ Now you know how.]]></description>
			<content:encoded><![CDATA[<p>So you wrote a macro in vim and you want to repeat the last macro multiple times and you don&#8217;t know how. </p>
<p>You type @@</p>
<p>Now you know how. <img src='http://emresaglam.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://emresaglam.com/blog/966/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating random files.</title>
		<link>http://emresaglam.com/blog/951</link>
		<comments>http://emresaglam.com/blog/951#comments</comments>
		<pubDate>Tue, 07 Sep 2010 21:28:59 +0000</pubDate>
		<dc:creator>Emre</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://emresaglam.com/blog/?p=951</guid>
		<description><![CDATA[Here is a bash script to create 100 random files with random sizes smaller than 400KB. I needed this to quickly generate 100 files to use it on a stress test. for ((i=1;i&#60;101;i++)); do size=`expr $RANDOM % 400` dd if=/dev/urandom of=/tmp/testfile.$i bs=1024 count=$size done Explanation: The for loop is pretty straightforward, it counts from 1 [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a bash script to create 100 random files with random sizes smaller than 400KB. I needed this to quickly generate 100 files to use it on a stress test.</p>
<p><code>for ((i=1;i&lt;101;i++)); do<br />
size=`expr $RANDOM % 400`<br />
dd if=/dev/urandom of=/tmp/testfile.$i bs=1024 count=$size<br />
done</code></p>
<p>Explanation:</p>
<p>The for loop is pretty straightforward, it counts from 1 to 100.</p>
<p><code>size=`expr $RANDOM % 400`</code></p>
<p>This line generates a random number between 0 &#8211; 399</p>
<p><code>dd if=/dev/urandom of=/tmp/testfile.$i bs=1024 count=$size</code></p>
<p>This line generates a file with blocksize (bs / not bullsh!t) 1024 times the random number that we generated. The input for that file is the special urandom device in linux. (It&#8217;s the random number generator for the linux kernel)<br />
The name of the file is also straightforward.</p>
]]></content:encoded>
			<wfw:commentRss>http://emresaglam.com/blog/951/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lotus Notes 8.5 on Ubuntu 10.04</title>
		<link>http://emresaglam.com/blog/933</link>
		<comments>http://emresaglam.com/blog/933#comments</comments>
		<pubDate>Wed, 30 Jun 2010 15:22:16 +0000</pubDate>
		<dc:creator>Emre</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://emresaglam.com/blog/?p=933</guid>
		<description><![CDATA[If you need to run native Linux client for Lotus Notes 8.5 on Ubuntu 10.04: 1) After installing your ibm_lotus_notes*.deb files, drop the following files under /opt/ibm/lotus/notes libgdk-x11-2.0.so.0 libgtk-x11-2.0.so.0 libgdk_pixbuf_xlib-2.0.so.0 libgdk_pixbuf-2.0.so.0 You can get the files here. 2) Install msttcorefonts package: sudo apt-get install msttcorefonts 3) Go to File -&#62; Preferences and choose Windows and [...]]]></description>
			<content:encoded><![CDATA[<p>If you need to run native Linux client for Lotus Notes 8.5 on Ubuntu 10.04:</p>
<p>1) After installing your ibm_lotus_notes*.deb files, drop the following files under /opt/ibm/lotus/notes</p>
<p>libgdk-x11-2.0.so.0<br />
libgtk-x11-2.0.so.0<br />
libgdk_pixbuf_xlib-2.0.so.0<br />
libgdk_pixbuf-2.0.so.0</p>
<p>You can get the files <a href="http://www.freetechie.com/upload/lotus_notes/">here</a>.</p>
<p>2) Install msttcorefonts package: sudo apt-get install msttcorefonts</p>
<p>3) Go to File -&gt; Preferences and choose Windows and Themes on the left pane. For Theme, choose Operating System Theme. This way most of the fonts in the UI look much better.</p>
]]></content:encoded>
			<wfw:commentRss>http://emresaglam.com/blog/933/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gnome and the glslideshow screensaver setup.</title>
		<link>http://emresaglam.com/blog/924</link>
		<comments>http://emresaglam.com/blog/924#comments</comments>
		<pubDate>Tue, 25 May 2010 20:23:00 +0000</pubDate>
		<dc:creator>Emre</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[bitching]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://emresaglam.com/blog/?p=924</guid>
		<description><![CDATA[First of all, setting up screensaver configurations in gnome is a total mess. I don&#8217;t know why they decided to release and use gnome-screensaver instead of using xscreensaver. And I don&#8217;t want to know either. My ubuntu setup is an archaic one. It&#8217;s an upgrade over an upgrade over an upgrade. I probably upgraded 4 [...]]]></description>
			<content:encoded><![CDATA[<p>First of all, setting up screensaver configurations in gnome is a total mess. I don&#8217;t know why they decided to release and use gnome-screensaver instead of using xscreensaver. And I don&#8217;t want to know either.</p>
<p>My ubuntu setup is an archaic one. It&#8217;s an upgrade over an upgrade over an upgrade. I probably upgraded 4 or 5 times. So my config files might be overwritten, wrongly upgraded, etc&#8230; But I was having this horrible issue of not being able to setup my glslideshow settings.</p>
<p>You can search this online. Mainly people are complaining about how to setup the directory from where glslideshow reads the images, also how to set it up so that it doesn&#8217;t idiotically show the same images 5 times over and over again. Well I&#8217;ll repeat these in this blog post and some more which are not covered.</p>
<h2><strong>Initial Setup:</strong></h2>
<p>First of all to setup the directory to read the images go to your home directory and create/edit file <em>.xscreensaver</em> like the one below:</p>
<blockquote><p>imageDirectory: /home/username/Pictures/Slideshow/or/wherever</p></blockquote>
<p>This sets up your screensavers that are using images, to use this directory instead of  <em>/usr/share/backgrounds </em>(the default directory). Some people on the internet tells you to symlink it to your directory, but I think this is a far better way of doing it.</p>
<p>If you read the glslideshow manual (RTFM), it tells you that by default glslideshow pans an image for 6 seconds (Ken Burns/Pan Scale effect) and displays it for 30 seconds. This means that the glslideshow will idiotically display the same image 5 times. (30/6=5)</p>
<p>In order to fix this issue, you will need to tell it to pan it <em>n</em> seconds and display it also <em>n</em> seconds. So the command should be:</p>
<blockquote><p>/usr/lib/xscreensaver/glslideshow -root -pan 6 -duration 6</p></blockquote>
<p>(-root means display on the root window which is the way screensavers work)</p>
<p>The configuration for this resides at: <em>/usr/share/applications/screensavers/glslideshow.desktop</em></p>
<p>Go ahead and edit that file as root and change the line that reads:</p>
<blockquote><p>Exec=/usr/lib/xscreensaver/glslideshow -root</p></blockquote>
<p>to</p>
<blockquote><p>Exec=/usr/lib/xscreensaver/glslideshow -root -pan 6 -duration 6</p></blockquote>
<p>Now you are ready to have a slideshow that displays with pan/scale each image for 6 seconds.</p>
<h2><strong>And it all doesn&#8217;t work&#8230;</strong></h2>
<p>This is where the shit hit the fan for me. No matter what I did, my glslideshow was still running as <em>/usr/lib/xscreensaver/glslideshow -root</em> (ps aux | grep glslideshow)</p>
<p>After a stubborn and painful few hours I discovered that these settings were being cached in a file called: <em>/usr/share/applications/desktop.en_US.utf8.cache</em> (This is WTF number one)</p>
<p>If you look at this file, it&#8217;s a 56 KB cache file of all the settings gnome is reading for all of it&#8217;s applications!! I guess it should have been setup to delete it on restart but for some reason it never got deleted&#8230;</p>
<p>After renaming this file (never delete them, always rename them <img src='http://emresaglam.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ) the slideshow started to run as I wanted it to be.</p>
<p>WTF number two was that when I tried to add new images to my slideshow directory, glslideshow never picked them up. At the end of another painful search I found that the list of images are actually cached in a file called <em>.xscreensaver-getimage.cache</em> under <em>/home/username/tmp/</em> (username is your username). I got rid of that file&#8230;</p>
<p>So now, it looks like I have a slideshow screensaver which kind of works. And hopefully you too&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://emresaglam.com/blog/924/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Printing envelope on a Canon MP620</title>
		<link>http://emresaglam.com/blog/915</link>
		<comments>http://emresaglam.com/blog/915#comments</comments>
		<pubDate>Tue, 09 Mar 2010 14:53:38 +0000</pubDate>
		<dc:creator>Emre</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://emresaglam.com/blog/?p=915</guid>
		<description><![CDATA[I successfully printed my first envelope on my Canon MP620. I used Open Office and this wiki article from openoffice.org. Al I needed to do extra is to choose the orientation icon like this. The rest was just to feed the envelope from the manual feeder Easy and recommended!]]></description>
			<content:encoded><![CDATA[<p>I successfully printed my first envelope on my Canon MP620. I used Open Office and <a href="http://wiki.services.openoffice.org/wiki/Documentation/FAQ/Writer/Printing/How_to_print_an_envelope_with_OpenOffice.org">this wiki article from openoffice.org</a>. Al I needed to do extra is to choose the orientation icon like <a href="http://emresaglam.com/blog/wp-content/uploads/2010/03/Screen-shot-2010-03-09-at-9.50.15-AM.png">this</a>.</p>
<p>The rest was just to feed the envelope from the manual feeder <img src='http://emresaglam.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Easy and recommended!</p>
]]></content:encoded>
			<wfw:commentRss>http://emresaglam.com/blog/915/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Digital Frame or bust&#8230;</title>
		<link>http://emresaglam.com/blog/843</link>
		<comments>http://emresaglam.com/blog/843#comments</comments>
		<pubDate>Fri, 13 Nov 2009 17:46:46 +0000</pubDate>
		<dc:creator>Emre</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://emresaglam.com/blog/?p=843</guid>
		<description><![CDATA[I&#8217;m writing this entry to push me to finish my neverending story about the digital frame project I started. I&#8217;m hoping that the entry will give me some sort of ignition after more than a year. I had an old Dell Latitude c600 sitting at home and collecting dust. Like many other old hardware I [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m writing this entry to push me to finish my neverending story about the digital frame project I started. I&#8217;m hoping that the entry will give me some sort of ignition after more than a year.</p>
<p>I had an old Dell Latitude c600 sitting at home and collecting dust. Like many other old hardware I have at home&#8230; So I decided to convert it to a digital frame that I can hang it somewhere.</p>
<p>Here are my goals:</p>
<ol>
<li>Have a low power, low cost digital frame.</li>
<li>Ability to manage it wirelessly.</li>
<li>Make it easy to use</li>
<li>Have fun.</li>
<li>Make an old hardware happy.</li>
</ol>
<p>The very first step was to dissect the laptop and remove the guts. It turned out to be somewhat challenging, but with the right tools and time, things moved pretty good. I&#8217;m not going to go into details on how to dissect a c600, but here is a picture in the late stages of the dissection.</p>
<p><a href="http://emresaglam.com/blog/wp-content/uploads/2009/11/IMG_9183.jpg"><img class="size-medium wp-image-844 alignnone" title="Guts and glory" src="http://emresaglam.com/blog/wp-content/uploads/2009/11/IMG_9183-300x225.jpg" alt="Guts and glory" width="300" height="225" /></a></p>
<p>Next step was to remove all the unnecessary parts like battery, CD-ROM, and some mini pci cards like ethernet/modem combo. I kept the pcmcia slot for the wireless card, and while there, added some leftover RAM to it. After neatly placing them all together, here is how it looks with BIOS setup on. The image is tilted to get rid of the flash glare.</p>
<p><a href="http://emresaglam.com/blog/wp-content/uploads/2009/11/IMG_9185.jpg"><img class="size-medium wp-image-850 alignnone" title="bios view" src="http://emresaglam.com/blog/wp-content/uploads/2009/11/IMG_9185-225x300.jpg" alt="bios view" width="225" height="300" /></a></p>
<p>Now the software step. Of course my OS of choice is Debian/Linux. I installed bare minimum <a href="http://debian.org">Debian </a>with <a href="http://www.fluxbox.org/">fluxbox</a> as desktop manager. Al I needed to do was to find a low cpu/memory usage image viewer. At first I thought about not having a Graphic User interface, and use <a href="http://www.svgalib.org/rus/zgv/">zgv</a> from the console, but then I gave up since it was too much trouble. (Still I think it would be cool to have a console only picture frame, maybe on the next version)</p>
<p>Instead, I decided to use <a href="http://linuxbrit.co.uk/software/feh/">feh</a>. I must say i&#8217;m extremely satisfied with feh and recommend to everybody <img src='http://emresaglam.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  The only issue I had was that the mouse pointer was showing in the middle of the frame which was not a good sight. I used <a href="http://www.ibiblio.org/pub/X11/contrib/utilities/unclutter-8.README">unclutter </a>to get rid of that. (I had to hack the program a bit to my taste)</p>
<p>I wrote some scripts and changed some config files for all this to start automatically. I will share the scripts later when the whole project is completed.</p>
<p>Now that the computer part is done, I need to take the measurements and head home depot or similar place to create some base for the frame and also buy a nice looking frame to place everything inside. So I guess there will be a second part of the blog entry.</p>
<p>Here is how it looks like as of now:</p>
<p><img class="alignleft size-medium wp-image-856" title="Haris and me" src="http://emresaglam.com/blog/wp-content/uploads/2009/11/IMG_9190-225x300.jpg" alt="Haris and me" width="225" height="300" /></p>
]]></content:encoded>
			<wfw:commentRss>http://emresaglam.com/blog/843/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

