<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.2.2" -->
<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/"
	>

<channel>
	<title>Madabar.techblog</title>
	<link>http://madabar.com/techblog</link>
	<description>If it ain't broke you're not trying hard enough</description>
	<pubDate>Thu, 27 Nov 2008 10:58:03 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.2</generator>
	<language>en</language>
			<item>
		<title>LightScribe - meh</title>
		<link>http://madabar.com/techblog/2008/11/27/lightscribe-meh/</link>
		<comments>http://madabar.com/techblog/2008/11/27/lightscribe-meh/#comments</comments>
		<pubDate>Thu, 27 Nov 2008 10:58:03 +0000</pubDate>
		<dc:creator>twegener</dc:creator>
		
		<category><![CDATA[linux]]></category>

		<category><![CDATA[fedora]]></category>

		<guid isPermaLink="false">http://madabar.com/techblog/2008/11/27/lightscribe-meh/</guid>
		<description><![CDATA[One of tonight&#8217;s tasks was to burn a freshly downloaded Fedora 10 DVD ISO image. My dad gave me some blank LightScribe DVDs a while back, so I thought I&#8217;d give them a try, not having done so before. 
After a quick look around it appears the only LightScribe labelling software available for Linux is [...]]]></description>
			<content:encoded><![CDATA[<p>One of tonight&#8217;s tasks was to burn a freshly downloaded Fedora 10 DVD ISO image. My dad gave me some blank LightScribe DVDs a while back, so I thought I&#8217;d give them a try, not having done so before. </p>
<p>After a quick look around it appears the only <a href="http://fedorasolved.org/multimedia-solutions/lightscribe-for-linux">LightScribe labelling software available for Linux</a> is proprietary. <a href="http://www.lacie.com/">LaCie</a> provide the software in RPM packages which is nice if you are a Fedora user like me. (Apparently they have tested it with the other major distros, which is nice to see.) It installed fine under Fedora 10 beta, which was a nice surprise given that it was apparently written for Fedora 5. It didn&#8217;t install a menu entry, but firing up the &#8220;LaCie Lightscribe Labeller&#8221;, &#8216;4L-gui&#8217;, provided a reasonably nice experience. </p>
<p>I grabbed some <a href="http://fedoraproject.org/wiki/Artwork/MediaArt/F10">DVD media artwork from the Fedora art team</a>. There were two labels in each image file, so I had to pick one and chop it in half with the GIMP. I then cropped it to remove the alignment patterns, and then did an autocrop to crop to the edge of the DVD label. Then it was a simple matter of importing it in the 4L-gui and selecting &#8216;fit image height to disc&#8217;. </p>
<p>Writing the disc label took a bewilderingly long 15 minutes. I suppose it is effectively doing the same thing as burning a CD, but it&#8217;s a big wait for little reward. The inscribed label is a hazy monochrome image that is below the surface of the disc. </p>
<p>In future I think I&#8217;ll just use a pen. Nevertheless, it&#8217;s interesting to the see the improvement in the quality of Linux software provided by a hardware vendor. It would be even better if they would free the code. This would enable distros to incorporate the software into the main repos, making the experience a bit more streamlined and integrated.</p>
]]></content:encoded>
			<wfw:commentRss>http://madabar.com/techblog/2008/11/27/lightscribe-meh/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Sorting package version strings</title>
		<link>http://madabar.com/techblog/2008/03/06/sorting-package-version-strings/</link>
		<comments>http://madabar.com/techblog/2008/03/06/sorting-package-version-strings/#comments</comments>
		<pubDate>Thu, 06 Mar 2008 12:34:34 +0000</pubDate>
		<dc:creator>twegener</dc:creator>
		
		<category><![CDATA[fedora]]></category>

		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://madabar.com/techblog/2008/03/06/sorting-package-version-strings/</guid>
		<description><![CDATA[Interesting less trivial than expected problem (solved): sorting package version numbers:
import re
import rpm

def get_package_version(name):
    """Return version string of installed package."""

    # note: ts can take an argument that is the root of the installation
    #       typically with a var/lib/rpm directory [...]]]></description>
			<content:encoded><![CDATA[<p>Interesting less trivial than expected problem (solved): sorting package version numbers:</p>
<blockquote><pre>import re
import rpm

def get_package_version(name):
    """Return version string of installed package."""

    # note: ts can take an argument that is the root of the installation
    #       typically with a var/lib/rpm directory underneath it.
    transaction_set = rpm.ts()

    versions = [header['provideversion'][0]
                for header in transaction_set.dbMatch('name', name)]
    versions.sort(cmp_versions)
    return versions

def version2sortable(version):

    parts = re.split(r'(d+)', version)
    fields = []
    for part in parts:
        try:
            part = int(part)
        except ValueError:
            pass
        fields.append(part)
    return tuple(fields)

def cmp_versions(a, b):

    return cmp(version2sortable(a), version2sortable(b))

if __name__ == '__main__':
    print get_package_version('kernel')
</pre>
</blockquote>
<p>Output:<br />
<code><br />
['2.6.23.8-63.fc8', '2.6.23.9-85.fc8', '2.6.23.14-107.fc8', '2.6.23.14-115.fc8', '2.6.23.15-137.fc8']<br />
</code></p>
<p>Note: Wordpress is screwing up the markup on the code blocks above. If you have any tips on how to fix this please drop me a line.<br />
<strong>Update:</strong> Using pre/blockquote hack for now and will try out a code highlighter plug-in when I get the chance. Thanks Tim and Lindsay! <img src='http://madabar.com/techblog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://madabar.com/techblog/2008/03/06/sorting-package-version-strings/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Exaile volume problem in OS2008 fixed</title>
		<link>http://madabar.com/techblog/2008/02/09/exaile-volume-problem-in-os2008-fixed/</link>
		<comments>http://madabar.com/techblog/2008/02/09/exaile-volume-problem-in-os2008-fixed/#comments</comments>
		<pubDate>Sat, 09 Feb 2008 14:04:50 +0000</pubDate>
		<dc:creator>twegener</dc:creator>
		
		<category><![CDATA[exaile]]></category>

		<category><![CDATA[N800]]></category>

		<category><![CDATA[maemo]]></category>

		<guid isPermaLink="false">http://madabar.com/techblog/2008/02/09/exaile-volume-problem-in-os2008-fixed/</guid>
		<description><![CDATA[I finally got around to looking at the problem tonight. The fix was very simple. My apologies for not addressing this sooner!
Get the updated .deb. 
The problem was due to the volume range on the original Exaile going from 0-1. For some reason on maemo (OS2008) the volume range is 0-10. According to the gstreamer [...]]]></description>
			<content:encoded><![CDATA[<p>I finally got around to looking at the problem tonight. The fix was very simple. My apologies for not addressing this sooner!</p>
<p>Get the <a href="http://www.madabar.com/exailemaemo/exaile_0.2.11-1.maemo4_armel.deb">updated .deb</a>. </p>
<p>The problem was due to the volume range on the original Exaile going from 0-1. For some reason on maemo (OS2008) the volume range is 0-10. According to the <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-plugins/html/gst-plugins-base-plugins-volume.html">gstreamer volume control docs</a> the range should be 0-10, so I&#8217;m not sure why the original Exaile works properly on my desktop machine. </p>
<p>Anyway, I mainly use <a href="http://maemo.org/downloads/product/OS2008/kagu/">Kagu</a> and <a href="http://people.igalia.com/berto/">Vagalume</a> for music on my N800 these days. As a result I haven&#8217;t done anything on maemo Exaile for ages. I hope to one of these days, though.</p>
]]></content:encoded>
			<wfw:commentRss>http://madabar.com/techblog/2008/02/09/exaile-volume-problem-in-os2008-fixed/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Nokia vs Ogg</title>
		<link>http://madabar.com/techblog/2007/12/11/nokia-vs-ogg/</link>
		<comments>http://madabar.com/techblog/2007/12/11/nokia-vs-ogg/#comments</comments>
		<pubDate>Tue, 11 Dec 2007 13:56:26 +0000</pubDate>
		<dc:creator>twegener</dc:creator>
		
		<category><![CDATA[maemo]]></category>

		<category><![CDATA[Freedom]]></category>

		<guid isPermaLink="false">http://madabar.com/techblog/2007/12/11/nokia-vs-ogg/</guid>
		<description><![CDATA[It&#8217;s lovely to see Nokia embracing &#8220;Web 2.0&#8243;&#8230;

BoingBoing
Slashdot
Re dd it
di gg
ars technica
Bl og s

You can participate too, with a related issue. Help convince Nokia to provide out-of-the-box support for Ogg Vorbis:

Vote for bug 176
PledgeBank (* I haven&#8217;t pledged - sticking with my N800)
The organization responsible for the Ogg formats have provided a template for writing [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s lovely to see Nokia embracing &#8220;Web 2.0&#8243;&#8230;</p>
<ul>
<li><a href="http://www.boingboing.net/2007/12/09/nokia-to-w3c-ogg-is.html">BoingBoing</a></li>
<li><a href="http://yro.slashdot.org/article.pl?sid=07/12/09/2045200">Slashdot</a></li>
<li><a href="http://programming.reddit.com/info/62orz/comments/">Re</a> <a href="http://programming.reddit.com/info/62oek/comments/">dd</a> <a href="http://programming.reddit.com/info/62mey/comments/">it</a></li>
<li><a href="http://digg.com/linux_unix/Nokia_to_W3C_Ogg_Is_Proprietary_DRM_Good">di</a> <a href="http://digg.com/software/Nokia_wants_W3C_to_remove_Ogg_from_upcoming_HTML5_standard">gg</a></li>
<li><a href="http://arstechnica.com/news.ars/post/20071210-nokia-wants-w3c-to-remove-out-ogg-from-upcoming-html5-standard.html">ars technica</a></li>
<li><a href="http://blogs.gnome.org/uraeus/2007/12/10/nokia-on-ogg/">Bl</a> <a href="http://hircus.wordpress.com/2007/10/17/why-you-should-conditionally-promise-to-buy-the-upcoming-nokia-n810-tablet/">og</a> <a href="http://rudd-o.com/archives/2007/12/11/removal-of-ogg-vorbis-and-theora-from-html5-an-outrageous-disaster/">s</a></li>
</ul>
<p>You can participate too, with a related issue. Help convince Nokia to provide out-of-the-box support for <a href="http://en.wikipedia.org/wiki/Ogg">Ogg</a> <a href="http://en.wikipedia.org/wiki/Vorbis">Vorbis</a>:</p>
<ul>
<li>Vote for <a href="https://bugs.maemo.org/show_bug.cgi?id=176">bug 176</a></li>
<li><a href="http://www.pledgebank.com/nokia-ogg">PledgeBank</a> (* I haven&#8217;t pledged - sticking with my N800)</li>
<li>The organization responsible for the Ogg formats have provided a template for writing a <a href="http://wiki.xiph.org/index.php/Letter_to_Nokia">letter to Nokia</a></li>
</ul>
<p>According to Nokia&#8217;s Ari Jaaksi, some time ago, &#8220;<a href="http://www.linuxjournal.com/article/8351">There&#8217;s nothing technical that prevents it. However, the 770 is a consumer device. The challenge is that there is not much [Ogg Vorbis and Ogg Theora] content right now.</a>&#8220;.<br />
I hope <a href="http://en.wikipedia.org/wiki/Wikipedia:Media">Wikipedia</a> qualifies as &#8220;content&#8221;, not to mention personal music collections.</p>
<p>Meanwhile, the intrepid <a href="http://tuomas.kulve.fi/blog/">Tuomas Kulve</a> has released <a href="http://tuomas.kulve.fi/blog/2007/12/09/ogg-support-04-media-player/">a new version of ogg-support for maemo</a> that enables the built-in media player to play Ogg Vorbis files. He notes, &#8220;It’s untrivial to get everything working properly as the FileManager, the Metalayer Crawler, and the Media Player are all close source applications and their behaviour is not really documented anywhere.&#8221; Hopefully this situation will change. </p>
<p>See also:</p>
<ul>
<li><a href="http://www.internettablettalk.com/forums/showthread.php?s=c2eabf80a66fa015fd90e87a36752ed0&#038;t=12934">Nokia and Ogg: ambivalence or actively hostile?</a> on <a href="http://www.internettablettalk.com/">Internet Tablet Talk</a>.</li>
<li><a href="http://lists.w3.org/Archives/Public/public-html/2007Dec/0001.html">An email from Nokia</a> to the <a href="http://www.w3.org/">W3C</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://madabar.com/techblog/2007/12/11/nokia-vs-ogg/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Updating the N800 to OS2008</title>
		<link>http://madabar.com/techblog/2007/12/08/updating-the-n800-to-os2008/</link>
		<comments>http://madabar.com/techblog/2007/12/08/updating-the-n800-to-os2008/#comments</comments>
		<pubDate>Sat, 08 Dec 2007 14:05:55 +0000</pubDate>
		<dc:creator>twegener</dc:creator>
		
		<category><![CDATA[N800]]></category>

		<category><![CDATA[maemo]]></category>

		<guid isPermaLink="false">http://madabar.com/techblog/2007/12/08/updating-the-n800-to-os2008/</guid>
		<description><![CDATA[Here are my notes from updating to OS2008 for getting root access via ssh and taking an early snapshot of the image filesystem with rsync:

Download the OS2008 firmware image.
Follow the instructions for flashing with new firmware image
Go to Settings->Application Manager and go to Tools->Application Catalog and enable the Maemo Extras repo
Click &#8216;Browse installable applications&#8217; and [...]]]></description>
			<content:encoded><![CDATA[<p>Here are my notes from updating to OS2008 for getting root access via ssh and taking an early snapshot of the image filesystem with rsync:</p>
<ol>
<li>Download the <a href="http://tablets-dev.nokia.com/nokia_N800.php">OS2008 firmware image</a>.</li>
<li>Follow the <a href="http://maemo.org/community/wiki/howto_flashlatestnokiaimagewithlinux/">instructions</a> for flashing with new firmware image</li>
<li>Go to Settings->Application Manager and go to Tools->Application Catalog and enable the Maemo Extras repo</li>
<li>Click &#8216;Browse installable applications&#8217; and inst the OpenSSH package</li>
<li>Repeat the flasher steps but replace the flash command line with <code>flasher/flasher-3.0 --enable-rd-mode</code> to enable <a href="http://maemo.org/community/wiki/rdmode/">R&#038;D mode</a></li>
<li>Go to Utilities->X terminal and do <code>sshroot@localhost</code></li>
<li>Change the default password: <code>passwd</code></li>
<li>Repeat the flasher steps but replace the flash command line with <code>flasher/flasher-3.0 --disable-rd-mode</code> to put the tablet back into production mode</li>
<li>Install rsync from the .deb package</li>
<li>Take a snapshot of the root file system by using rsync to copy from the device to another machine: <code>rsync -avzx root@<ipaddressoftablet>:/ snapshot_dir</code></li>
<li>Follow the <a href="http://maemo.org/community/wiki/ApplicationManagerRedPillMode">instructions for entering Red Pill Mode</a></li>
<li>Install apps such as less, screen, wget</li>
<li>Return to Blue Pill Mode</li>
</ol>
<p>The tips needed to get ssh root access working again mainly came from <a href="http://www.internettablettalk.com/forums/showthread.php?t=11693">here</a>.</p>
<p>Most of my previously installed packages in OS2007 are already available for OS2008. The main ones that I am still missing are gtick (metronome) and a UPnP client. IIRC, I grabbed everything form <a href="http://downloads.maemo.org/OS2008">the official maemo downloads page</a> and this list of <a href="http://www.internettablettalk.com/wiki/index.php?title=Working_2008_OS_Software">Working 2008 OS Software</a>. </p>
<p>Impressions: </p>
<ul>
<li>This update increases the maximum CPU clock speed from 330MHz to 400MHz. The graphical interface feels snappier. </li>
<li>The browser is now the mozilla-based microb browser which seems to use more memory and slightly slower than the previous Opera browser. However, it&#8217;s free software and supports newer web standards, so I&#8217;m happy with the change. </li>
<li>The graphical interface is nicer. The designers appear to have responded to user feedback well in this area.</li>
<li>There are more codecs , but still no Ogg Vorbis support, which is very disappointing. The third-party package works fine with third-party media players, but doesn&#8217;t work with the default media player. </li>
<li>Media streaming on the <a href="http://abc.net.au">ABC</a> now works. Among other things, this means I can listen to the local radio station from anywhere, and not have to suffer crappy AM quality. Annoyingly, when playing Internet radio from the widget it keeps a message box open (&#8221;buffering&#8221;) for as long as I have it playing.</li>
<li>I haven&#8217;t done any careful measurements of the battery life, but it seems to be about the same. This is a bonus given the increase in CPU speed. </li>
<li>Newer kernel (2.6.21), Gtk (2.10) and DBUS (1.0) and gstreamer now supports the generic playbin,</li>
<li>The built-in media player has been substantially improved, but without Vorbis support it&#8217;s of limited use to me. I prefer to use Kagu or Exaile. </li>
<li>Why is there still no support for recording videos in the camera app?</li>
<li>The problem where, if Bluetooth is disabled from the system tray, the Bluetooth icon disappears, so must be re-enabled from Control Panel, still persists. Annoying.</li>
<li>Text prediction and automatic capitalization are off by default. </li>
<li>The on-screen keyboard seems to be a bit over-sensitive and often registers a key twice when it was only tapped once.</li>
</ul>
<p>With this update, it feels like the Internet tablet OS platform is maturing nicely.</p>
]]></content:encoded>
			<wfw:commentRss>http://madabar.com/techblog/2007/12/08/updating-the-n800-to-os2008/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Exaile for maemo 4.0 (OS2008)</title>
		<link>http://madabar.com/techblog/2007/12/05/exaile-for-maemo-40-os2008/</link>
		<comments>http://madabar.com/techblog/2007/12/05/exaile-for-maemo-40-os2008/#comments</comments>
		<pubDate>Wed, 05 Dec 2007 13:08:09 +0000</pubDate>
		<dc:creator>twegener</dc:creator>
		
		<category><![CDATA[exaile]]></category>

		<category><![CDATA[N800]]></category>

		<category><![CDATA[maemo]]></category>

		<guid isPermaLink="false">http://madabar.com/techblog/2007/12/05/exaile-for-maemo-40-os2008/</guid>
		<description><![CDATA[I&#8217;ve made a new release of Exaile for maemo 4.0 (i.e. OS2008, chinook). This drops a bunch of backward compatibility patches needed for OS2007, and takes advantage of some gtk 2.10 features. Also, there was a bug in the gtk shipped with OS2007 that prevented activating items in the sidebar. This has gone away, so [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve made a <a href="http://www.madabar.com/exailemaemo/exaile_0.2.11-1.maemo4_armel.deb">new release of Exaile for maemo 4.0</a> (i.e. OS2008, chinook). This drops a bunch of backward compatibility patches needed for OS2007, and takes advantage of some gtk 2.10 features. Also, there was a bug in the gtk shipped with OS2007 that prevented activating items in the sidebar. This has gone away, so now there are more playlist actions available.</p>
<p><img src="http://madabar.com/exailemaemo/exaile_maemo4_20071205.png" alt="Exaile on N800 (OS2008) screenshot" /></p>
<p>Note that the previous release won&#8217;t work on OS2008 because the id3lib gstreamer element is called id3demux in OS2008. </p>
<p>If you are in need of a player that handles Ogg Vorbis, m4a and mp3 (among others) on OS2008 and has decent playlist management features and you are willing to put up with a slightly slow and fat app then <a href="http://madabar.com/exailemaemo/">Exaile for maemo</a> may be for you. <img src='http://madabar.com/techblog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://madabar.com/techblog/2007/12/05/exaile-for-maemo-40-os2008/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Exaile 0.2.11 for maemo</title>
		<link>http://madabar.com/techblog/2007/12/03/exaile-0211-for-maemo/</link>
		<comments>http://madabar.com/techblog/2007/12/03/exaile-0211-for-maemo/#comments</comments>
		<pubDate>Mon, 03 Dec 2007 12:39:02 +0000</pubDate>
		<dc:creator>twegener</dc:creator>
		
		<category><![CDATA[exaile]]></category>

		<category><![CDATA[N800]]></category>

		<category><![CDATA[maemo]]></category>

		<guid isPermaLink="false">http://madabar.com/techblog/2007/12/03/exaile-0211-for-maemo/</guid>
		<description><![CDATA[I&#8217;ve updated the maemo port of Exaile to version 0.2.11. There are not many visible changes, apart from alphabetic separators in the collection list. I now include the bytecode-compiled pyc files, so startup time should be reduced slightly. It still takes a bit long to start up though. I&#8217;ve been using this for about a [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve updated the <a href="http://madabar.com/exailemaemo/">maemo port of Exaile</a> to version <a href="http://www.madabar.com/exailemaemo/exaile_0.2.11-1_armel.deb">0.2.11</a>. There are not many visible changes, apart from alphabetic separators in the collection list. I now include the bytecode-compiled pyc files, so startup time should be reduced slightly. It still takes a bit long to start up though. I&#8217;ve been using this for about a month now and it seems to be stable enough.</p>
<p>This will probably be the last release for OS2007. I&#8217;ll make a release for OS2008 once I have that installed and working on my N800.</p>
]]></content:encoded>
			<wfw:commentRss>http://madabar.com/techblog/2007/12/03/exaile-0211-for-maemo/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Updating to Fedora 8</title>
		<link>http://madabar.com/techblog/2007/11/30/updating-to-fedora-8/</link>
		<comments>http://madabar.com/techblog/2007/11/30/updating-to-fedora-8/#comments</comments>
		<pubDate>Fri, 30 Nov 2007 12:57:56 +0000</pubDate>
		<dc:creator>twegener</dc:creator>
		
		<category><![CDATA[fedora]]></category>

		<guid isPermaLink="false">http://madabar.com/techblog/2007/11/30/updating-to-fedora-8/</guid>
		<description><![CDATA[A few weekends ago I updated my system from Fedora 6 to Fedora 8. I did a fresh install, as opposed to doing an upgrade. Here are a few of the problems I encountered, along with solutions:
Wireless networking wasn&#8217;t working
Fedora 8 detected my Atheros-based wifi card, since it now includes the new freedomware ath5k driver. [...]]]></description>
			<content:encoded><![CDATA[<p>A few weekends ago I updated my system from Fedora 6 to Fedora 8. I did a fresh install, as opposed to doing an upgrade. Here are a few of the problems I encountered, along with solutions:</p>
<h3>Wireless networking wasn&#8217;t working</h3>
<p>Fedora 8 detected my Atheros-based wifi card, since it now includes the new freedomware ath5k driver. However I couldn&#8217;t get it to associate with my access point. The workaround was to install the proprietary madwifi package from livna: On a machine with Internet access, go to livna.org and download madwifi and the kmod-madwifi package corresponding to the installed kernel (do uname -r to find out). Then do:<br />
<code>su -<br />
rpm -ihv madwiki kmod-wifi<br />
modprobe -r ath5k<br />
modprobe ath_pci<br />
</code><br />
Go to Administration->Services and start/turn on NetworkManager and NetworkManagerDispatcher services. The NetworkManager applet should appear in the system tray. Click on this to configure a wireless connection. </p>
<h3>1280&#215;1024 resolution was not available</h3>
<p>This resolution was working on my Fedora 6 setup, with an nVidia gforce2 MX 440 and Viewsonic E771 monitor.<br />
To fix, add the following line to /etc/X11/xorg.conf in the &#8220;Display&#8221;/&#8221;Screen&#8221; section:<br />
<code>               Modes    "1280x1024" "1280x1024" "1280x960" "1280x960" "1280x800" "1280x800" "1152x864" "1152x864" "1152x768" "1152x768" "1024x768" "1024x768" "800x600" "800x600" "640x480" "640x480"</code></p>
<h3>Setting up the livna repository</h3>
<p>The livna.org repository is a separate repo containing packages that aren&#8217;t included in the main Fedora repo for various legal, technical and ethical reasons. I need it for the madwifi driver and the gspca webcam driver among other things. Set it up like so:<br />
<code>su -<br />
rpm -ihv http://rpm.livna.org/livna-release-8.rpm<br />
</code></p>
<h3>Installing the webcam driver</h3>
<p>The driver for my Logitech Quickcam IM webcam is freedomware, however apparently it does yucky things like JPEG decoding inside the kernel, so is not included in the mainline kernel. It can be installed from livna like so:<br />
<code>su -<br />
yum install gspca<br />
modprobe gspca</code><br />
Alternatively, you can install it from the GUI by going to System->Add/Remove Software and searching for gspca.<br />
You can test that the webcam is working by running Ekiga (strangely filed under Internet->IP Telephony blah blah) and setting up video.</p>
<h3>Using a home directory on a separate partition</h3>
<p>I have my home directory stored on a separate &#8216;data&#8217; partition. I was not able to log in when I configured my account to use this as my home directory. To fix this, I had to change the SELinux context on the root directory of the file-system on the data partition like so:<br />
<code>chcon system_u:object_r:home_root_t:s0 /data</code></p>
<h3>Fixing broken icons in Evolution</h3>
<p>It appears that the necessary dependency isn&#8217;t installed by default for a KDE install. Fix the icons like so:<br />
<code>su -c 'yum install nodoka-theme-gnome'</code></p>
<h3>Installing Adobe Flash Player</h3>
<p>To install the proprietary Adobe Flash player do:<br />
<code>su -<br />
rpm -ihv http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm<br />
yum install flash-plugin<br />
</code></p>
<p>Note that a freedomware flash player, gnash, is in the works, but it only supports a subset of Flash v7 functionality.</p>
<h3>Other issues</h3>
<p>I&#8217;ve had problems with sound not being available upon booting from time to time. This seems to be due to the coexistence of the webcam&#8217;s internal microphone sound device, and my main soundcard sound device. I also get &#8216;artsd&#8217; crash messages upon logging into KDE from time to time. </p>
<p>I hope to cover my impressions of the various Fedora 8 components in subquent posts, but we&#8217;ll see how we go. </p>
]]></content:encoded>
			<wfw:commentRss>http://madabar.com/techblog/2007/11/30/updating-to-fedora-8/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to create a .deb package for maemo without Scratchbox</title>
		<link>http://madabar.com/techblog/2007/08/12/how-to-create-a-deb-package-for-maemo-without-scratchbox/</link>
		<comments>http://madabar.com/techblog/2007/08/12/how-to-create-a-deb-package-for-maemo-without-scratchbox/#comments</comments>
		<pubDate>Sun, 12 Aug 2007 05:10:27 +0000</pubDate>
		<dc:creator>twegener</dc:creator>
		
		<category><![CDATA[N800]]></category>

		<category><![CDATA[maemo]]></category>

		<guid isPermaLink="false">http://madabar.com/techblog/2007/08/12/how-to-create-a-deb-package-for-maemo-without-scratchbox/</guid>
		<description><![CDATA[The officially recommended way to create .deb packages for the maemo platform is to use dpkg-buildpackage within Scratchbox. For me, Scratchbox is a pain to install for two main reasons. First, there is no RPM package of the scratchbox environment, so apparently I need to run some scripts as root, let my system get a [...]]]></description>
			<content:encoded><![CDATA[<p>The officially recommended way to create .deb packages for the maemo platform is to use dpkg-buildpackage within Scratchbox. For me, Scratchbox is a pain to install for two main reasons. First, there is no RPM package of the scratchbox environment, so apparently I need to run some scripts as root, let my system get a little messier, which I am not willing to do. Second, the docs advise to turn off SELinux in order to get the Scratchbox environment to work, which again I am not keen to do. </p>
<p>If you are using Debian or Ubuntu, there is probably a cleaner approach, but I am currently using Fedora, so I just rolled my own method using the command line. Copy the following files to your project directory:</p>
<ul>
<li><a href="http://madabar.com/deb_hand/deb_hand.mak">deb_hand.mak</a></li>
<li><a href="http://madabar.com/deb_hand/deb_hand_example.mak">deb_hand_example.mak</a></li>
</ul>
<p>Then rename deb_hand_example.mak to Makefile, and adjust the variables in this file to match your project.</p>
<p>Setup the required files (referenced in these makefiles) for packaging. There some pointers on this in the <a href="http://maemo.org/development/documentation/how-tos/3-x/python_maemo_3.x_howto.html">Python Maemo howto</a> in the packaging section. </p>
<p>Note the <code>${PACKAGE_DIR}/data: ${SOURCE_DIR}</code> target in the makefile. This must be modified to layout all files as you wish them to be installed on the target system. The example makefile rule should be a reasonable guide. </p>
<p>Then once you are ready, do &#8216;make PACKAGE_DIR=<release_dir> deb&#8217; and if all goes well a shiny new deb package should be sitting in release_dir. If not, fix your settings in the Makefile, run &#8216;make clobber&#8217; and then try again. </p>
]]></content:encoded>
			<wfw:commentRss>http://madabar.com/techblog/2007/08/12/how-to-create-a-deb-package-for-maemo-without-scratchbox/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Exaile N800 port webpage</title>
		<link>http://madabar.com/techblog/2007/08/01/exaile-n800-port-webpage/</link>
		<comments>http://madabar.com/techblog/2007/08/01/exaile-n800-port-webpage/#comments</comments>
		<pubDate>Wed, 01 Aug 2007 12:32:37 +0000</pubDate>
		<dc:creator>twegener</dc:creator>
		
		<category><![CDATA[exaile]]></category>

		<category><![CDATA[N800]]></category>

		<category><![CDATA[maemo]]></category>

		<guid isPermaLink="false">http://madabar.com/techblog/2007/08/01/exaile-n800-port-webpage/</guid>
		<description><![CDATA[I&#8217;ve whipped up a webpage for the Exaile N800 port. This has the latest packages, screenshots, todo list, etc. 
I&#8217;ve also made a new release with the following changes:

Basic Hildon-ization: window, menus, full-screen support, file dialogs
Icon now appears in taskbar
Fixed default OSD background colour
Made track info in title bar briefer

Double-clicking the playlist items in the [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve whipped up a webpage for the <a href="http://madabar.com/exailemaemo/">Exaile N800 port</a>. This has the latest packages, screenshots, todo list, etc. </p>
<p>I&#8217;ve also made a <a href="http://www.madabar.com/exailemaemo/exaile_0.2.10-2_armel.deb">new release</a> with the following changes:</p>
<ul>
<li>Basic Hildon-ization: window, menus, full-screen support, file dialogs</li>
<li>Icon now appears in taskbar</li>
<li>Fixed default OSD background colour</li>
<li>Made track info in title bar briefer</li>
</ul>
<p>Double-clicking the playlist items in the sidebar doesn&#8217;t work. This is due to <a href="https://bugs.maemo.org/show_bug.cgi?id=1531">this bug</a> in maemo gtk. Vote for it if you want this fixed.</p>
<p>There is plenty still to be done. I don&#8217;t have stacks of time to work on it at the moment. Send me some encouragement and I may work a bit faster. <img src='http://madabar.com/techblog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://madabar.com/techblog/2007/08/01/exaile-n800-port-webpage/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
