<?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>sven.buschbeck</title>
	<atom:link href="http://svenbuschbeck.net/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://svenbuschbeck.net/wordpress</link>
	<description>. . . .portfolio.blog. . . .human-computer-interaction. .semantic-web. .computer-science. .communication-design. . . . . . . . . . . . . . . . . . . . . . . . .</description>
	<lastBuildDate>Tue, 15 May 2012 10:16:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>JUnit-Testing and GAE APIs</title>
		<link>http://svenbuschbeck.net/wordpress/2012/05/junit-testing-and-gae-apis/</link>
		<comments>http://svenbuschbeck.net/wordpress/2012/05/junit-testing-and-gae-apis/#comments</comments>
		<pubDate>Tue, 15 May 2012 10:08:00 +0000</pubDate>
		<dc:creator>Sven Buschbeck</dc:creator>
				<category><![CDATA[uncategorized]]></category>

		<guid isPermaLink="false">http://svenbuschbeck.net/wordpress/?p=1145</guid>
		<description><![CDATA[Some issues I encountered when testing a new Java library for loading multiple URLs in parallel on the Google Apps Engine (GAE) (more about that library in another post). Here are some of the typical errors you might encounter: Missing timeout class java.lang.NoSuchMethodError: org.mortbay.thread.Timeout Context menu on project: Properties -&#62; Build Path -&#62; Order and [...]]]></description>
			<content:encoded><![CDATA[<p>Some issues I encountered when testing a new Java library for loading multiple URLs in parallel on the Google Apps Engine (GAE) (more about that library in another post).</p>
<p>Here are some of the typical errors you might encounter:</p>
<h3>Missing timeout class</h3>
<p><code>java.lang.NoSuchMethodError: org.mortbay.thread.Timeout</code></p>
<p>Context menu on project: Properties -&gt; Build Path -&gt; Order and Export: move GWT SDK *above* App Engine SDK (cf. <a href="https://sites.google.com/site/progerbingbang/google-web-toolkit/unittestinggwtapplicationswithjunit" title="Detailed description why and how" target="_blank">here</a>)</p>
<h3>Compilation unit was not seen</h3>
<p><code>com.google.gwt.junit.JUnitFatalLaunchException: The test class 'com.test.client.MyTest' was not found in module 'com.text.Module'; no compilation unit for that type was seen</code></p>
<ul>
<li>The test class needs to be within a package that is configured in the module file (*.gwt.xml). You should create a new source folder (Context menu on project -&gt; New -&gt; Source Folder) and create the whole package structure you use within your project up to “client”, e.g. “com.company.client”, and put your GWT tests in it. This way you make sure that the tests are not going to be deployed to GAE later on.<br />
</il></p>
<li>
If you are testing client-side code, your test class needs implement GWTUnit *and* be run as GWTUnitTest *not* as JUnitTest <img src='http://svenbuschbeck.net/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
</il>
</ul>
<h3>API package not found</h3>
<p><code>java.util.concurrent.ExecutionException: com.google.apphosting.api.ApiProxy$CallNotFoundException: The API package 'urlfetch' or call 'Fetch()' was not found.</code></p>
<p>The GAE environment has not been initialized.</p>
<ul>
<li>Set up the required libraries for testing: </li>
<ul>
<li>Context menu on project -&gt; Properties -&gt; Build Path -&gt; Libraries -&gt; Add Variable -&gt; Configure Variables -&gt; New…: Set “SDK_ROOT” as name and search you disk for “appengine-api-stubs.jar” and copy the part before “/lib/impl” into the text box named “Path”</li>
<li>
Select “SDK_ROOT” from the previous dialog, click “Extend…”, unfold lib and impl and select …labs.jar, …stubs.jar, and …api.jar; unfold lib/testing and select …testing.jar — done, whew.
</li>
</ul>
<li>Add following lines to your test class:<code><br />
private final LocalServiceTestHelper helper = new LocalServiceTestHelper(new LocalURLFetchServiceTestConfig());<br />
@Before public void setUp() { helper.setUp(); }<br />
@After public void tearDown() { helper.tearDown(); }<br />
</code></p>
<li>Have a look in <code>com.google.appengine.tools.development.testing</code> to see all the services/APIs available for testing and replace <code>LocalURLFetchServiceTestConfig</code> with the one you need.
</li>
</ul>
</ul>
<p>I tried to keep it as brief as possible, for more details have a look at <a href="https://developers.google.com/appengine/docs/java/tools/localunittesting#Setting_Up_a_Testing_Framework" title="Google Developer page on writing Unit tests" target="_blank">this page</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://svenbuschbeck.net/wordpress/2012/05/junit-testing-and-gae-apis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Missing Digikam Themes w/t KDE</title>
		<link>http://svenbuschbeck.net/wordpress/2012/05/add-themes-to-digikam-without-kde/</link>
		<comments>http://svenbuschbeck.net/wordpress/2012/05/add-themes-to-digikam-without-kde/#comments</comments>
		<pubDate>Mon, 14 May 2012 18:27:28 +0000</pubDate>
		<dc:creator>Sven Buschbeck</dc:creator>
				<category><![CDATA[uncategorized]]></category>

		<guid isPermaLink="false">http://svenbuschbeck.net/wordpress/?p=1146</guid>
		<description><![CDATA[Digikam is a great tool to manage and work on photos — my personal favorite for some years already. But it’s made for KDE and uses a lot of KDE-related libs and stuff, therefore, installing it in Gnome, Xfce, Lxde and the like will cost about 1gb because of the depenedencies. Nevertheless, worth it. But [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://digikam.org/" title="Open source Semi-pro photo management software" target="_blank">Digikam</a> is a great tool to manage and work on photos — my personal favorite for some years already. But it’s made for KDE and uses a lot of KDE-related libs and stuff, therefore, installing it in Gnome, Xfce, Lxde and the like will cost about 1gb because of the depenedencies.<br />
Nevertheless, worth it. But it comes with a bright default skin rendering it completely unusable for working seriously on light and color settings of photos.</p>
<p>To add themes, you will have to install an extra package (as decribed <a href="http://digikam.1695700.n4.nabble.com/Themes-in-dk-beta-5-Natty-td3542647.html" title="Forum entry, you will find the solution at the end of the page" target="_blank">here</a>) like this:<br />
<code>sudo apt-get install kde-workspace-data</code><br />
Yes, this will add more data to your disk, but only 10mb this time. <img src='http://svenbuschbeck.net/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Happy photo-tweaking!</p>
]]></content:encoded>
			<wfw:commentRss>http://svenbuschbeck.net/wordpress/2012/05/add-themes-to-digikam-without-kde/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Improving Canvas Performance</title>
		<link>http://svenbuschbeck.net/wordpress/2012/04/improving-canvas-performance/</link>
		<comments>http://svenbuschbeck.net/wordpress/2012/04/improving-canvas-performance/#comments</comments>
		<pubDate>Thu, 26 Apr 2012 09:04:34 +0000</pubDate>
		<dc:creator>Sven Buschbeck</dc:creator>
				<category><![CDATA[gwt]]></category>
		<category><![CDATA[canvas]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[visualization]]></category>
		<category><![CDATA[web application]]></category>

		<guid isPermaLink="false">http://svenbuschbeck.net/wordpress/?p=1111</guid>
		<description><![CDATA[1. Timeout instead of Scheduler Surprisingly, using com.google.gwt.user.client.Timer seems much faster then relying on com.google.gwt.core.client.Scheduler. I did not yet evaluate the differences in detail but the lower CPU workload speaks for itself. 2. AnimationScheduler I am not really sure if this helps a lot, but you will find a lot of online documentation explaining that [...]]]></description>
			<content:encoded><![CDATA[<h3>1. Timeout instead of Scheduler</h3>
<p>Surprisingly, using <code>com.google.gwt.user.client.Timer</code> seems much faster then relying on <code>com.google.gwt.core.client.Scheduler</code>. I did not yet evaluate the differences in detail but the lower CPU workload speaks for itself.</p>
<h3>2. AnimationScheduler</h3>
<p>I am not really sure if this helps a lot, but you will find a lot of online documentation explaining that you should use this:<br />
<code>com.google.gwt.animation.client.AnimationScheduler.get(). requestAnimationFrame(callback, element);</code>. The element parameter is optional but said to improve performance as the browser can decide when to render optimally.<br />
So whenever your timer kicks in, and you are ready to render the results, use the AnimationScheduler instead of calling your rendering routines right away. It will only take very few milliseconds (depending on the users screen frame rate—which is 60 Hz or more usually) for the callback to return to your code.</p>
<h3>3. Caching</h3>
<p>This parts requires much more effort and depends on your software architecture and requirements. The basic idea is not to redraw things that did not change. To do so we can draw each item on a hidden canvas once and then reuse this rendering during every drawing cycle.<br />
As the process is a bit more complicated, I will dedicate it a separate post—comming soon!</p>
<h3>4. Save on effects</h3>
<p>Yes, effects is what the canvas is all about, but something like a shadow can cost quite some CPU power. So if you run into problems check if some of the effects can be achieved cheaper or even be removed.</p>
]]></content:encoded>
			<wfw:commentRss>http://svenbuschbeck.net/wordpress/2012/04/improving-canvas-performance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Multiple Projects and GWT</title>
		<link>http://svenbuschbeck.net/wordpress/2012/04/multiple-projects-and-gwt/</link>
		<comments>http://svenbuschbeck.net/wordpress/2012/04/multiple-projects-and-gwt/#comments</comments>
		<pubDate>Thu, 26 Apr 2012 07:58:29 +0000</pubDate>
		<dc:creator>Sven Buschbeck</dc:creator>
				<category><![CDATA[gwt]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[ant]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[code reuse]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[example]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[library]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[web application]]></category>

		<guid isPermaLink="false">http://svenbuschbeck.net/wordpress/?p=1114</guid>
		<description><![CDATA[When working on several large scale projects (in Eclipse), it’s convenient and of course more efficient to share and reuse code via common libraries. While those are in an early stage they need to be changed a lot and therefore it’s handy to link projects in instead of creating new jars each time the library [...]]]></description>
			<content:encoded><![CDATA[<p>When working on several large scale projects (in Eclipse), it’s convenient and of course more efficient to share and reuse code via common libraries. While those are in an early stage they need to be changed a lot and therefore it’s handy to link projects in instead of creating new jars each time the library has been updated.<br />
Unfortunately, this standard approach for Java development in Eclipse does not work that straight forward as with plain old Java projects, it requires three steps in total:</p>
<ol>
<li>Link the library project to all relevant projects (“Project Preferences” -&gt; “Java Build Path” -&gt; “Projects” -&gt; “Add…”)</li>
<li>Then, add the client-side code of the library (by adding it as a module.) Therefore, edit the gwt.xml of your application and add for example <code>&lt;inherits name=&quot;net.svenbuschbeck.gwt.lib.SuperLib &quot;/&gt;</code> where SuperLib is the file name of the gwt.xml file in you library project and before that is the package it lies in.</li>
<li>Add the code to the project by linking a source folder. Unfortunately, this is required if you do not want to write an Ant script to compile your application. (If you prefer Ant <a href="http://blogs.mastergaurav.com/2010/10/28/google-app-engine-and-gwt-multi-project-application/" title="Website about how to write an Ant script to handle multiple projects in eclipse and outside" target="_blank">check this out</a>) I don’t like the idea of using such a script because if you forget to run it each time you make changes, you will end up in confusion—let’s go for the convenient, automatic way then.
<ol>
<li>Add a folder to your application project; open the “advanced” section in the folder creation dialog, select “Link to alternate location” and pick the source folder (usually “src”) of your library project. (Hint: if you work within a team using a versioning system, you can create a variable for that folder and use this instead. This way, each of your colleagues can put the library project in a different folder and accommodate for that by adjusting the variable <img src='http://svenbuschbeck.net/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  )</li>
<li>Right click the folder, “Build Path” -&gt; “Use as Source Folder”. Done.
</ol>
</ol>
<p>Surprisingly, the GWT plugin for Eclipse does not honor the project linking, thus all the references need to be made explicit or you will end up with lots of the following: ClassNotFoundException.</p>
]]></content:encoded>
			<wfw:commentRss>http://svenbuschbeck.net/wordpress/2012/04/multiple-projects-and-gwt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>“An invalid or illegal string was specified” Exception in GWT</title>
		<link>http://svenbuschbeck.net/wordpress/2012/01/exception-in-gwt/</link>
		<comments>http://svenbuschbeck.net/wordpress/2012/01/exception-in-gwt/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 09:53:01 +0000</pubDate>
		<dc:creator>Sven Buschbeck</dc:creator>
				<category><![CDATA[gwt]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[web application]]></category>

		<guid isPermaLink="false">http://svenbuschbeck.net/wordpress/?p=1104</guid>
		<description><![CDATA[While working with canvas (drawing stuff on it) in GWT, suddenly and in a seemingly unpredictable manner I got following error message now and then from within the GWT framework code: com.google.gwt.core.client.JavaScriptException: (NS_ERROR_DOM_SYNTAX_ERR): An invalid or illegal string was specified; Again, GWT tricked me into thinking I am writing Java code and made me forget [...]]]></description>
			<content:encoded><![CDATA[<p>While working with canvas (drawing stuff on it) in GWT, suddenly and in a seemingly unpredictable manner I got following error message now and then from within the GWT framework code:</p>
<p><code>com.google.gwt.core.client.JavaScriptException: (NS_ERROR_DOM_SYNTAX_ERR): An invalid or illegal string was specified</code>;</p>
<p>Again, GWT tricked me into thinking I am writing Java code and made me forget about that it is going to be compiled into Javascript. And because of the latter, a division by zero does not throw an DevisionByZeroException, no, it returns NaN even for native data types (there is no differentiation between double and Double in Javascript — there is only the object-version of double, which can be of value Double.NaN).</p>
<p>But also GWT was not prepared to handle Double.NaN. When calling <code>canvas.getContext().drawImage(image,x,y)</code> and one of x and y or both were Double.NaN I got the error message shown above. If you got the same… you know what to do now: <strong>check all devisions in your code for potential devisions by zero!!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://svenbuschbeck.net/wordpress/2012/01/exception-in-gwt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sorting Lists in GWT</title>
		<link>http://svenbuschbeck.net/wordpress/2012/01/sorting-lists-in-gwt/</link>
		<comments>http://svenbuschbeck.net/wordpress/2012/01/sorting-lists-in-gwt/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 09:50:26 +0000</pubDate>
		<dc:creator>Sven Buschbeck</dc:creator>
				<category><![CDATA[gwt]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[example]]></category>
		<category><![CDATA[GAE]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://svenbuschbeck.net/wordpress/?p=1091</guid>
		<description><![CDATA[Quick one: Lists.sort(list, comparator) is not implemented in the GAE JVM. But, as a replacement/alternative, Collections.sort(list, comparator) is.]]></description>
			<content:encoded><![CDATA[<p>Quick one:<br />
<code>Lists.sort(list, comparator)</code> is not implemented in the GAE JVM.<br />
But, as a replacement/alternative, <code>Collections.sort(list, comparator)</code> is.</p>
]]></content:encoded>
			<wfw:commentRss>http://svenbuschbeck.net/wordpress/2012/01/sorting-lists-in-gwt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Execute Code When the GWT Application Is Going Down</title>
		<link>http://svenbuschbeck.net/wordpress/2011/02/how-to-execute-code-when-the-gwt-application-is-going-down/</link>
		<comments>http://svenbuschbeck.net/wordpress/2011/02/how-to-execute-code-when-the-gwt-application-is-going-down/#comments</comments>
		<pubDate>Mon, 28 Feb 2011 22:10:03 +0000</pubDate>
		<dc:creator>Sven Buschbeck</dc:creator>
				<category><![CDATA[gwt]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[example]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://svenbuschbeck.net/wordpress/?p=1051</guid>
		<description><![CDATA[My goal was to store the UI state of my application just before it gets terminated to be able to restore it next time the way the user left it the other day. I tried to add an addAttachHandler to the RootPanel to get informed about the root panel getting detached from the DOM so [...]]]></description>
			<content:encoded><![CDATA[<p>My goal was to store the UI state of my application just before it gets terminated to be able to restore it next time the way the user left it the other day.</p>
<p>I tried to add an <code>addAttachHandler</code> to the <code>RootPanel</code> to get informed about the root panel getting detached from the DOM so that I can finalize my application. Surprisingly, that does not work in Chrome (tested Chrome and Firefox only).</p>
<p>But besides that this sounds like a bug to me, I found the “proper” way of doing things before the application ends: </p>
<pre>Window.addWindowClosingHandler(new Window.ClosingHandler() {
	@Override public void onWindowClosing(ClosingEvent event) { ... }
});</pre>
<p>In the end, I think something like <code>Document.addUnloadHandler</code> would be more suggestive… closing the window or reloading a page is both exiting the application by unloading the DOM — not closing the window.</p>
]]></content:encoded>
			<wfw:commentRss>http://svenbuschbeck.net/wordpress/2011/02/how-to-execute-code-when-the-gwt-application-is-going-down/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disable an Anchor in GWT</title>
		<link>http://svenbuschbeck.net/wordpress/2011/02/disable-an-anchor-in-gwt/</link>
		<comments>http://svenbuschbeck.net/wordpress/2011/02/disable-an-anchor-in-gwt/#comments</comments>
		<pubDate>Fri, 18 Feb 2011 12:27:12 +0000</pubDate>
		<dc:creator>Sven Buschbeck</dc:creator>
				<category><![CDATA[gwt]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[example]]></category>
		<category><![CDATA[fix]]></category>

		<guid isPermaLink="false">http://svenbuschbeck.net/wordpress/?p=1033</guid>
		<description><![CDATA[Unexpectedly, calling setEnabled(false) does not prevent a link/anchor from being clicked. That means, the click events still get triggered. The reason is more or less a bug in GWT as it updates the list of events that are going to be triggered only at the moment when it gets attached to the DOM (Btw, in [...]]]></description>
			<content:encoded><![CDATA[<p>Unexpectedly, calling <code>setEnabled(false)</code> does not prevent a link/anchor from being clicked. That means, the click events still get triggered.<br />
The reason is more or less a bug in GWT as it updates the list of events that are going to be triggered only at the moment when it gets attached to the DOM (Btw, in GWT, this process is called to sink and to unsink events, where the former enables a specific event to be triggered and the latter disables it).<br />
I found a workaround by creating my own Anchor class and forcing the underlying GWT Anchor to update the list of events to be sunk.</p>
<pre>...
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.user.client.Event;

public class Anchor extends com.google.gwt.user.client.ui.Anchor {

	@Override public void setEnabled(boolean enabled) {
		super.setEnabled(enabled);
		if (isAttached()) {
			onDetach();
			if (enabled) {
				sinkEvents(Event.ONCLICK);
			} else {
				unsinkEvents(Event.ONCLICK);
			}
			onAttach();
		}
	}

	@Override protected void onLoad() {
		super.onLoad();
		if (isEnabled()) {
			sinkEvents(Event.ONCLICK);
		} else {
			unsinkEvents(Event.ONCLICK);
		}
	}
}</pre>
<p>Note the <code>onLoad</code> method, it sets up the state when the widget gets attached to the DOM the first time. It is required because <code>setEnabled()</code> could have been called before the anchor got attached.</p>
<p>If you encountered the same issue, please vote for this <a href="http://code.google.com/p/google-web-toolkit/issues/detail?id=6045">bug report</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://svenbuschbeck.net/wordpress/2011/02/disable-an-anchor-in-gwt/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Flickering Screen with ATI Radeon X1400 and Ubuntu</title>
		<link>http://svenbuschbeck.net/wordpress/2011/02/flickering-screen-with-ati-radeon-x1400-and-ubuntu/</link>
		<comments>http://svenbuschbeck.net/wordpress/2011/02/flickering-screen-with-ati-radeon-x1400-and-ubuntu/#comments</comments>
		<pubDate>Mon, 14 Feb 2011 20:48:51 +0000</pubDate>
		<dc:creator>Sven Buschbeck</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://svenbuschbeck.net/wordpress/?p=1022</guid>
		<description><![CDATA[EDIT: ATI Radeon X1400 seems to work fine again since Ubuntu 11.04. There is another fix to the “well known” issues with the ATI Radeon X1400 and Ubuntu 10.04 to 10.10 besides the one posted about one year ago (see here). The previous fix kept the graphics card working normally but harmed the overall operating [...]]]></description>
			<content:encoded><![CDATA[<p>EDIT: ATI Radeon X1400 seems to work fine again since Ubuntu 11.04.</p>
<p>There is another fix to the “well known” issues with the ATI Radeon X1400 and Ubuntu 10.04 to 10.10 besides the one posted about one year ago (<a href="http://svenbuschbeck.net/wordpress/2010/04/flickering-screen-after-upgrade-to-kubuntu-10-04/">see here</a>).<br />
The previous fix kept the graphics card working normally but harmed the overall operating system’s stability, so here is another fix based on disabling all 3D features of the device to get rid of the flickering screen.</p>
<p>It’s up to you to choose what you are able to live without<br />
a) The desktop settings panel and “Segmentation fault” errors now and then, or<br />
b) 3D acceleration (does not harm video playback or any other basic OS functionalities)</p>
<p>For solution a) <a href="http://svenbuschbeck.net/wordpress/2010/04/flickering-screen-after-upgrade-to-kubuntu-10-04/">see this</a>.<br />
For b) create this file: <code>/etc/modprobe.d/radeon-kms.conf</code> — and add following content</p>
<pre>options radeon modeset=0</pre>
<p>Solution found <a href="http://www.ubuntu-forum.de/artikel/53477/monitorflackern-w%C3%A4hrend-und-nach-der-installation.html">here</a> (in German).</p>
]]></content:encoded>
			<wfw:commentRss>http://svenbuschbeck.net/wordpress/2011/02/flickering-screen-with-ati-radeon-x1400-and-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Logitech Communicator STX Webcam vs. Ubuntu (64bit) &amp; Skype 2.1</title>
		<link>http://svenbuschbeck.net/wordpress/2011/02/kubuntu-9-10-skype-2-1-und-logitech-webcam/</link>
		<comments>http://svenbuschbeck.net/wordpress/2011/02/kubuntu-9-10-skype-2-1-und-logitech-webcam/#comments</comments>
		<pubDate>Mon, 14 Feb 2011 20:26:57 +0000</pubDate>
		<dc:creator>Sven Buschbeck</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[Logitech]]></category>
		<category><![CDATA[Skype]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://svenbuschbeck.net/wordpress/?p=783</guid>
		<description><![CDATA[There are many tutorials out there solving the problem by making Skype use Video for Linux version 1 drivers instead of version 2, as that particular webcam does not seem to get along with the newer version. It boils down to the following lines: Create a file in /usr/local/bin/skype and insert #!/bin/bash LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so /usr/bin/skype Finally, [...]]]></description>
			<content:encoded><![CDATA[<p>There are many tutorials out there solving the problem by making Skype use Video for Linux version 1 drivers instead of version 2, as that particular webcam does not seem to get along with the newer version. It boils down to the following lines:</p>
<p>Create a file in <em>/usr/local/bin/skype </em>and insert</p>
<pre>#!/bin/bash
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so /usr/bin/skype</pre>
<p>Finally, make it executable by <code>sudo chmod a+x /usr/local/bin/skype</code><br />
Use this file to start Skype from now on. Done.</p>
<p>But not for me. Skype refused to eat it: <code>ERROR: ld.so: object '/usr/lib/libv4l/v4l1compat.so' from LD_PRELOAD cannot be preloaded: ignored.</code><br />
Until I finally found <a title="Go to the original solution provider. Thanks once again to Eoin Murphy! :)" href="http://www.eoinmurphy.org/blog/2009/04/26/logitech-webcam-skype-under-ubuntu" target="_blank">this one here</a>.</p>
<p>Just to cut a long story short, here is why: all the other solutions work for 32bit Linux only — but hey, I do not have any of my old laptop’s potential to be wasted — I am running 64bit Ubuntu (tested with version 9.10 and 10.10 64bit). And with a minor tweak, the fix will work for you, too. <img src='http://svenbuschbeck.net/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Install the video4linux libraries:
<pre> sudo apt-get install lib32v4l-0</pre>
<p>And change <em>/usr/local/bin/skype </em>to
<pre>LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so /usr/bin/skype</pre>
<p>Its just about the “32” — and one good example more of why you should put meaningful error messages in whatever software!</p>
<p>Thanks <a title="Go to the source." href="http://www.eoinmurphy.org" target="_blank">Eoin Murphy</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://svenbuschbeck.net/wordpress/2011/02/kubuntu-9-10-skype-2-1-und-logitech-webcam/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

