<?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>bits4life &#187; linux</title>
	<atom:link href="http://blog.export.be/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.export.be</link>
	<description>Bits and bytes for your daily life.</description>
	<lastBuildDate>Thu, 12 Nov 2009 10:55:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Fixing Eclipse for Ubuntu Karmic Koala 9.10</title>
		<link>http://blog.export.be/2009/10/fixing-eclipse-for-ubuntu-karmic-koala-9-10/</link>
		<comments>http://blog.export.be/2009/10/fixing-eclipse-for-ubuntu-karmic-koala-9-10/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 15:44:15 +0000</pubDate>
		<dc:creator>koma</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[gtk]]></category>
		<category><![CDATA[karmic]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.export.be/?p=328</guid>
		<description><![CDATA[Today I upgraded my Ubuntu installation to the newly released Karmic Kaola. Except for a couple of glitches during the upgrade process (maybe later more about this), I was able to login to my updated system about an hour later. I opened up Eclipse (running 3.5 &#8211; Galileo) to continue my Java development tasks. But [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-236" title="Eclipse Galileo" src="http://blog.export.be/wp-content/uploads/2009/04/eclipse48.png" alt="eclipse48" width="48" height="48" />Today I upgraded my Ubuntu installation to the newly released Karmic Kaola. Except for a couple of glitches during the upgrade process (maybe later more about this), I was able to login to my updated system about an hour later. I opened up Eclipse (running 3.5 &#8211; Galileo) to continue my Java development tasks. But very soon I noticed the upgrade introduced <strong>severe issues</strong> with my favorite IDE, most notably, the buttons on most <strong>dialog boxes</strong> could not be pushed anymore. Here&#8217;s how I managed to fix it &#8230;.<span id="more-328"></span></p>
<p>The new Ubuntu release 9.10 brings version 2.18 of GTK+ to the desktop. GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete set of widgets, the GTK+ is suitable for projects ranging from small one-off tools to complete application suites.  In version 2.18, <a href="http://library.gnome.org/devel/gtk/2.18/gtk-migrating-ClientSideWindows.html" target="_blank">client side windows</a> are introduced which brings <strong>nicer redrawing and resizing</strong>, as demonstrated in the video :</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="432" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=5126552&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="400" height="432" src="http://vimeo.com/moogaloop.swf?clip_id=5126552&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Some applications &#8211; <strong>Eclipse</strong>, but also <strong>Acroread</strong> &#8211; assume that they can just operate on the X windows     corresponding to their GDK windows without ever telling GDK, which causes some widgets to exhibit weird behaviour. <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=287307" target="_blank">Bug 287307</a> was filed with the Eclipse foundation and this is<strong> fixed for the upcoming 3.6 release</strong>.</p>
<p>Fortunately, the GTK+ people provide a switch to turn off the client side windows. So to work around the bug with Eclipse pre-3.6, just make sure you set <strong>environment variable GDK_NATIVE_WINDOWS=1</strong><tt></tt></p>
<blockquote><p>#!/bin/sh<br />
export GDK_NATIVE_WINDOWS=1<br />
/home/koen/eclipse-galileo/eclipse</p></blockquote>
<p>Start coding <img src='http://blog.export.be/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.export.be/2009/10/fixing-eclipse-for-ubuntu-karmic-koala-9-10/feed/</wfw:commentRss>
		<slash:comments>47</slash:comments>
		</item>
		<item>
		<title>Permalink rewrite fix for Wordpress</title>
		<link>http://blog.export.be/2009/07/permalink-rewrite-fix-for-wordpress/</link>
		<comments>http://blog.export.be/2009/07/permalink-rewrite-fix-for-wordpress/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 12:33:47 +0000</pubDate>
		<dc:creator>koma</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blog.export.be/?p=289</guid>
		<description><![CDATA[This site is powered by Wordpress running on Ubuntu. Some of you might have noticed we recently changed the permalink structure. Permalinks are the permanent links to the posts or categories in a blog site. Permalink can be used to link to your article or category by other blogs or sites, or to send a [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-medium wp-image-288" title="wordpress_icon_big" src="http://blog.export.be/wp-content/uploads/2009/07/wordpress_icon_big-300x267.png" alt="wordpress_icon_big" width="88" height="78" />This site is powered by Wordpress running on Ubuntu. Some of you might have noticed we recently changed the permalink structure. Permalinks are the permanent links to the posts or categories in a blog site. Permalink can be used to link to your article or category by other blogs or sites, or to send a link to your story in an e-mail message.</p>
<p>The permalinks now all have the structure /%year%/%monthnum%/%postname%/ where the previous the structure was /%post_id%. Permalink rewrites are based on the Apache Rewrite engine and there are a few caveats when changing the permalink structure. Here&#8217;s a checklist to get you going&#8230;</p>
<p><span id="more-289"></span>First of all, you must make sure that the mod_rewrite module is loaded in your apache instance.</p>
<blockquote><p>root@export:/var/www/blog# apache2ctl -t -D DUMP_MODULES</p></blockquote>
<p>and check for</p>
<blockquote><p>rewrite_module (shared)</p></blockquote>
<p>If not, checkout the <a title="Apache Rewrite Module" href="http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html" target="_blank">apache document on rewrite engine</a> to enable this module in your apache instance.</p>
<p>Finally, make sure your virtual host configuration has :</p>
<blockquote><p>RewriteEngine On</p></blockquote>
<p>When changing the permalink structure in your Wordpress backend, it will generate a .htaccess file. This is what it looks like for our permalink structure :</p>
<blockquote><p># BEGIN WordPress<br />
&lt;IfModule mod_rewrite.c&gt;<br />
RewriteEngine On<br />
RewriteBase /<br />
RewriteCond %{REQUEST_FILENAME} !-f<br />
RewriteCond %{REQUEST_FILENAME} !-d<br />
RewriteRule . /index.php [L]<br />
&lt;/IfModule&gt;</p>
<p># END WordPress</p></blockquote>
<p>Normally, this is supposed to be the end of the story but when you receive a 404 surfing to your newly generated links, then verify the following two settings in your virtual host configuration :</p>
<ul>
<li> The <a title="http://httpd.apache.org/docs/1.3/mod/core.html#options" href="http://httpd.apache.org/docs/1.3/mod/core.html#options">FollowSymLinks option</a> enabled</li>
<li> <a title="http://httpd.apache.org/docs/1.3/mod/core.html#allowoverride" href="http://httpd.apache.org/docs/1.3/mod/core.html#allowoverride"><tt>FileInfo</tt> directives</a> allowed (e.g. <code>AllowOverride FileInfo</code> or <code>AllowOverride All</code>)</li>
</ul>
<p>Good luck!</p>
<p>PS: If you don&#8217;t want to loose your pagerank for the posts that have incoming links using the old permalink structure, go checkout  &#8220;<a title="Permalink Migration" href="http://www.deanlee.cn/wordpress/permalinks-migration-plugin/" target="_blank">Dean&#8217;s Permalinks Migration 1.0</a>&#8220;. This will redirect the old permalinks to your new structure, and keep Google happy <img src='http://blog.export.be/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  It is available from the plugins menu in the Wordpress backend.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.export.be/2009/07/permalink-rewrite-fix-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Chromium browser on Linux : Flash now working</title>
		<link>http://blog.export.be/2009/07/chromium-browser-on-linux-flash-now-working/</link>
		<comments>http://blog.export.be/2009/07/chromium-browser-on-linux-flash-now-working/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 17:43:10 +0000</pubDate>
		<dc:creator>koma</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.export.be/?p=273</guid>
		<description><![CDATA[UPDATE : for builds after 3.0.194.0, the directive  &#8221;&#8211;enable-plugins&#8221; is no longer activated by default, so you need to pass this option to enjoy flash.
UPDATE : Bad news : the latest updates (3.0.195.0~svn20090714r20617-0ubuntu1~ucd2~jaunty) break flash again
Good news for chromium-browser users on Linux.
As of today you can get Flash to work. Make sure you have the latest version [...]]]></description>
			<content:encoded><![CDATA[<p><strong><img class="alignleft size-full wp-image-274" title="Chromium browser" src="http://blog.export.be/wp-content/uploads/2009/07/images.jpeg" alt="Chromium browser" width="79" height="79" />UPDATE :</strong> for builds after 3.0.194.0, the directive  &#8221;&#8211;enable-plugins&#8221; is no longer activated by default, so you need to pass this option to enjoy flash.</p>
<p><strong><span style="text-decoration: line-through;">UPDATE : </span></strong><span style="text-decoration: line-through;">Bad news : the latest updates (3.0.195.0~svn20090714r20617-0ubuntu1~ucd2~jaunty) break flash again</span></p>
<p>Good news for chromium-browser users on Linux.</p>
<p>As of today you can get Flash to work. Make sure you have the latest version installed, pay special attention to the date and build (20090710r20374).</p>
<p>koen@d820:/usr/lib/chromium-browser/plugins$ apt-cache policy chromium-browser<br />
chromium-browser:<br />
Installed: 3.0.194.0~svn20090710r20374-0ubuntu1~ucd1~jaunty<br />
Candidate: 3.0.194.0~svn20090710r20374-0ubuntu1~ucd1~jaunty<br />
Version table:<br />
*** 3.0.194.0~svn20090710r20374-0ubuntu1~ucd1~jaunty 0<br />
500 http://ppa.launchpad.net jaunty/main Packages<br />
100 /var/lib/dpkg/status</p>
<p><span id="more-273"></span>Now, make a symbolic link to the flash library in your chromium plugins directory.</p>
<p>koen@d820:/usr/lib/chromium-browser/plugins$ sudo ln -s /usr/lib/adobe-flashplugin/libflashplayer.so</p>
<p>That&#8217;s it. Go give it a try at YouTube.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.export.be/2009/07/chromium-browser-on-linux-flash-now-working/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing your webcam in Ubuntu Jaunty</title>
		<link>http://blog.export.be/2009/07/fixing-your-webcam-in-ubuntu-jaunty/</link>
		<comments>http://blog.export.be/2009/07/fixing-your-webcam-in-ubuntu-jaunty/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 19:36:35 +0000</pubDate>
		<dc:creator>koma</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[skype]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.export.be/?p=263</guid>
		<description><![CDATA[After more than two years running Feisty on my Dell Latitude D820, I finally decided it was time to upgrade my Ubuntu distribution to the latest release tagged Jaunty. I started to lack a couple of essentials like Firefox 3, Flash Player 10 and I wanted to get my hands on the Google Chrome browser [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-medium wp-image-271 alignleft" title="ubuntu-jaunty-jackalope" src="http://blog.export.be/wp-content/uploads/2009/07/ubuntu-jaunty-jackalope-300x294.jpg" alt="ubuntu-jaunty-jackalope" width="100" height="100" />After more than two years running Feisty on my Dell Latitude D820, I finally decided it was time to upgrade my Ubuntu distribution to the latest release tagged Jaunty. I started to lack a couple of essentials like Firefox 3, Flash Player 10 and I wanted to get my hands on the Google Chrome browser too. Installation was super smooth and within 20 minutes I could login to my new system.</p>
<p>Now, the webcam issue : I have a QuickCam Messenger webcam, which is recognized correctly by Ubuntu, but it does not work with Skype or JMF (Java Media Framework) applications.<span id="more-263"></span></p>
<p>Here&#8217;s my dmesg output :</p>
<p>[30850.333403] gspca: probing 046d:08da<br />
[30851.979243] zc3xx: probe 2wr ov vga 0&#215;0000<br />
[30852.023239] zc3xx: probe sensor -&gt; 11<br />
[30852.023244] zc3xx: Find Sensor HV7131R(c)<br />
[30852.030593] gspca: probe ok<br />
[30852.030667] gspca: probing 046d:08da<br />
[30977.315326] zc3xx: probe 2wr ov vga 0&#215;0000</p>
<p>koen@d820:/home/koen$ lsusb</p>
<p>Bus 005 Device 003: ID 046d:08da Logitech, Inc. QuickCam Messanger</p>
<p>I never had webcam issues with the previous Ubuntu releases.</p>
<p>Jaunty is using V4L2 and although drivers that are in the mainline kernel are often v4l2, many applications will only work with v4l1. Even v4l2 apps often don&#8217;t work with v4l2 webcams as the webcams often have camspecific (compressed) pixelformats and most applications don&#8217;t support all these.<br />
Skype for one does not work. JMF applications either. The image from the camera is green and black garbage/noise.</p>
<p>The solution is to preload the backward compatibility library for v4l to get it to work.</p>
<p>koen@d820:/home/koen$ LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype &amp;</p>
<p>If you want to setup system-wide and at startup, then create a file  /etc/ld.so.preload and put the path to this library in. Or use ld.so.preload-manager from the Ubuntu repositories to do this for you.</p>
<p>koen@d820:/home/koen$ sudo ld.so.preload-manager /usr/lib/libv4l/v4l1compat.so</p>
<p>Happy camming !</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.export.be/2009/07/fixing-your-webcam-in-ubuntu-jaunty/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>
