<?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>gauda.de &#187; Ubuntu</title>
	<atom:link href="http://www.gauda.de/category/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gauda.de</link>
	<description>The work of Johannes Leers - a webworker from Siegen, Germany</description>
	<lastBuildDate>Tue, 15 Sep 2009 23:04:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Gotchas, Bugs and their Fixes in Kubuntu Jaunty Jackalope (9.4)</title>
		<link>http://www.gauda.de/ubuntu/gotchas-bugs-and-their-fixes-in-kubuntu-jaunty-jackalope-94/</link>
		<comments>http://www.gauda.de/ubuntu/gotchas-bugs-and-their-fixes-in-kubuntu-jaunty-jackalope-94/#comments</comments>
		<pubDate>Wed, 29 Apr 2009 19:10:38 +0000</pubDate>
		<dc:creator>Johannes Leers</dc:creator>
				<category><![CDATA[KDE]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[fix]]></category>

		<guid isPermaLink="false">http://www.gauda.de/?p=65</guid>
		<description><![CDATA[Here are my experiences with the brand new Kubuntu Jaunty Jackalope. Of course there are some bugs to fix:

Some parts of KDE aren&#8217;t repainted. This is a really annoying bug. I don&#8217;t know how to describe it so just take a look at the following screenshot
This bug is not really reproducable and I am not [...]]]></description>
			<content:encoded><![CDATA[<p>Here are my experiences with the brand new Kubuntu Jaunty Jackalope. Of course there are some bugs to fix:</p>
<ul>
<li><strong>Some parts of KDE aren&#8217;t repainted.</strong> This is a really annoying bug. I don&#8217;t know how to describe it so just take a look at the following screenshot:<div id="attachment_76" class="wp-caption aligncenter" style="width: 510px"><img src="http://www.gauda.de/wordpress/wp-content/uploads/kde-bug.png" alt="KDE display bug" title="KDE display bug" width="500" height="81" class="size-full wp-image-76" /><p class="wp-caption-text">KDE display bug</p></div><br />
This bug is not really reproducable and I am not sure who to blame for this <img src='http://www.gauda.de/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  but at least there is a <a href="http://bugs.kde.org/show_bug.cgi?id=147728">bugfix</a>: Just change the style from Oxygen to something else. I like QtCurve!</li>
<li><strong>Make double screen work.</strong> Well, I am running an ATI graphics card here on my notebook with the radeon driver:<br />
<code>$ lspci | grep VGA<br />
01:00.0 VGA compatible controller: ATI Technologies Inc M64-S [Mobility Radeon X2300]</code><br />
Double screen works well if you add the <code>Virtual</code> entry to your xorg.conf:
<pre class="prettyprint">Section "Screen"
        Identifier      "Default Screen"
        Monitor         "Configured Monitor"
        Device          "Configured Video Device"
        SubSection "Display"
                Virtual 3120 1050
        EndSubSection
EndSection</pre>
<p>. Just sum the widths of your screens as the first parameter and the height of your highest screen as the second one. After this you can move one screen next to the other with: <code>xrandr --output DVI-0 --right-of LVDS</code></li>
<li><strong>Use auth_method: config with phpmyadmin</strong>: Entering this:
<pre class="prettyprint">
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'foobar';</pre>
<p> in <code>/etc/phpmyadmin/config.inc.php</code> doen&#8217;t work as it is ignored completely. I don&#8217;t know why, but when you enter
<pre class="prettyprint">$dbname='foo';</pre>
<p> in <code>/etc/phpmyadmin/config-db.php</code> it works!
</li>
<li>Make sure you check out my post <a href="http://www.gauda.de/ubuntu/gotchas-in-kubuntu-hardy-heron/">Gotchas, Bugs and their Fixes in Kubuntu Hardy Heron (8.4)</a> since some of the points mentioned there are still applicable!</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.gauda.de/ubuntu/gotchas-bugs-and-their-fixes-in-kubuntu-jaunty-jackalope-94/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fast scrolling in Linux</title>
		<link>http://www.gauda.de/ubuntu/fast-scrolling-in-linux/</link>
		<comments>http://www.gauda.de/ubuntu/fast-scrolling-in-linux/#comments</comments>
		<pubDate>Wed, 21 May 2008 11:16:15 +0000</pubDate>
		<dc:creator>Johannes Leers</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://www.gauda.de/?p=36</guid>
		<description><![CDATA[ Well, this is for sure not new to anybody but for anyone else it could be of interest and so it&#8217;s worth a post 
Just wanted to let you know that you can scroll to a specific point in any window using the middle-click of your mouse. So hover the scrollbar of any window [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.gauda.de/wordpress/wp-content/uploads/scroll-to.png" alt="Fast scrolling in Linux" title="scroll-to" width="110" height="131" class="alignleft size-full wp-image-37" /> Well, this is for sure not new to anybody but for anyone else it could be of interest and so it&#8217;s worth a post <img src='http://www.gauda.de/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Just wanted to let you know that you can scroll to a specific point in any window using the middle-click of your mouse. So hover the scrollbar of any window and click the wheel of your mouse and the window jumps to the position clicked.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gauda.de/ubuntu/fast-scrolling-in-linux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Gotchas, Bugs and their Fixes in Kubuntu Hardy Heron (8.4)</title>
		<link>http://www.gauda.de/ubuntu/gotchas-in-kubuntu-hardy-heron/</link>
		<comments>http://www.gauda.de/ubuntu/gotchas-in-kubuntu-hardy-heron/#comments</comments>
		<pubDate>Wed, 30 Apr 2008 10:49:10 +0000</pubDate>
		<dc:creator>Johannes Leers</dc:creator>
				<category><![CDATA[KDE]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[fix]]></category>

		<guid isPermaLink="false">http://www.gauda.de/?p=34</guid>
		<description><![CDATA[Two weeks I installed the brand new Kubuntu Hardy Heron. I found some Bugs and their fixes I want to share:

Using an ATI graphics card the X server crashes after logout of KDE, a black screen is all that remains. All you can do now is strg+alt+del: I found the bugfix in launchpad, nice way!
Well, [...]]]></description>
			<content:encoded><![CDATA[<p>Two weeks I installed the brand new Kubuntu Hardy Heron. I found some Bugs and their fixes I want to share:</p>
<ul>
<li>Using an ATI graphics card the X server crashes after logout of KDE, a black screen is all that remains. All you can do now is <code>strg+alt+del</code>: I found the bugfix in <a href="http://bugs.launchpad.net/ubuntu/+source/kdebase/+bug/181343/comments/27">launchpad</a>, nice way!</li>
<li>Well, the next bug is not new to hardy heron, but at least very annoying. Having some samba filesystem mounted the reboot/ shutdown process lasts longer as expected. When you disable the splash screen you can read the message <code>CIFS VFS: no response for cmd 50...</code>. I found the solution here: <a href="http://whereofwecannotspeak.wordpress.com/2007/12/25/unmount-samba-filesystems-before-shutdown-or-reboot/">Unmount Samba filesystems before shutdown or reboot</a>.</li>
<li><a href="http://www.getfirebug.com/">Firebug</a> eats the processor: Just install the package <code>firebug</code> instead of the addon: <code>sudo aptitude install firebug</code></li>
<li>If you want to use Firefox 3 as your browser, install <code>gtk2-engines-qtcurve</code>, go to System Settings/ Appearance/ GTK Styles and fonts and set <code>Use another style</code>: <code>QtCurve</code>, to eliminate the <a href="http://bugs.launchpad.net/ubuntu/+source/firefox-3.0/+bug/194624">checkbox and radiobox rendering issue</a>.</li>
<li>Sending files from your Nokia phone to the pc doesn&#8217;t work: Just <a href="http://bugs.launchpad.net/ubuntu/+source/obex-data-server/+bug/211252/comments/42">downgrade the bluez-utils</a> package to fix this.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.gauda.de/ubuntu/gotchas-in-kubuntu-hardy-heron/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>It&#8217;s the little things I like about Linux</title>
		<link>http://www.gauda.de/ruby-on-rails/its-the-little-things-i-like-about-linux/</link>
		<comments>http://www.gauda.de/ruby-on-rails/its-the-little-things-i-like-about-linux/#comments</comments>
		<pubDate>Tue, 08 Jan 2008 01:17:09 +0000</pubDate>
		<dc:creator>Johannes Leers</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[marius]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[sync]]></category>
		<category><![CDATA[tool]]></category>

		<guid isPermaLink="false">http://www.gauda.de/random/its-the-little-things-i-like-about-linux/</guid>
		<description><![CDATA[Today I wrote some handy syncronization-scripts with the help of my freebsd-loving co-worker Marius. Till today I managed the syncronization of my local database with our production database with the help of phpMyAdmin.
An export of the 13mb sql file at the production server and an import at my machine took me at least five minutes [...]]]></description>
			<content:encoded><![CDATA[<p>Today I wrote some handy syncronization-scripts with the help of my freebsd-loving co-worker Marius. Till today I managed the syncronization of my local database with our production database with the help of phpMyAdmin.<br />
An export of the 13mb sql file at the production server and an import at my machine took me at least five minutes (~2mb gzipped). Now take a look at this:</p>
<pre class="prettyprint">
[hans@zommuntu:~]$ time ssh user@production_server "mysqldump --add-drop-table database_to_process -uUSER -pPASSWORD | gzip" | gunzip | mysql -uLOCALUSER -pLOCALPASSWORD database_name
real    0m4.389s
user    0m0.592s
sys     0m0.052s
</pre>
<p>Under five seconds! woot!!<br />
Some words to explain this: First, you establish a ssh connection to the <code>production_server</code>. The gzipped dumped sql of the beloved <code>database_to_process</code> is transferred to your machine. Here it is gunzipped and written to your local database server into the <code>database_name</code>. The quotes are necessary as brackets to let the script know that the gzip command belongs to the ssh command.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gauda.de/ruby-on-rails/its-the-little-things-i-like-about-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Translate directly at your console!</title>
		<link>http://www.gauda.de/ruby-on-rails/translate-directly-at-your-console/</link>
		<comments>http://www.gauda.de/ruby-on-rails/translate-directly-at-your-console/#comments</comments>
		<pubDate>Mon, 07 Jan 2008 00:12:33 +0000</pubDate>
		<dc:creator>Johannes Leers</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[tool]]></category>

		<guid isPermaLink="false">http://www.gauda.de/ruby-on-rails/translate-directly-at-your-console/</guid>
		<description><![CDATA[Ever wanted to be able to translate directly at your cosole?

[hans@zommuntu:~/rails]$ de2en häuser
Homes
[hans@zommuntu:~/rails]$ en2de houses
Häuser

Save this ruby-script as en2de in your ~/bin:

#! /usr/bin/ruby

#
# Copyright (c) 2008 gauda.de
# All rights reserved.
# This program is free software; you can redistribute it and/or
# modify it under the same terms as Ruby itself.
#

require 'net/http'
require 'iconv'
require 'uri'

arg = URI.escape(Iconv.new('ISO-8859-15', 'UTF-8').iconv(ARGV[0]))
str [...]]]></description>
			<content:encoded><![CDATA[<p>Ever wanted to be able to translate directly at your cosole?<br />
<code><br />
[hans@zommuntu:~/rails]$ de2en häuser<br />
Homes<br />
[hans@zommuntu:~/rails]$ en2de houses<br />
Häuser<br />
</code><br />
Save this ruby-script as en2de in your <code>~/bin</code>:</p>
<pre class="prettyprint">
#! /usr/bin/ruby

#
# Copyright (c) 2008 gauda.de
# All rights reserved.
# This program is free software; you can redistribute it and/or
# modify it under the same terms as Ruby itself.
#

require 'net/http'
require 'iconv'
require 'uri'

arg = URI.escape(Iconv.new('ISO-8859-15', 'UTF-8').iconv(ARGV[0]))
str = Net::HTTP.new('www.google.com', 80).get("/translate_t?text=" + arg + "&#038;langpair=de|en").body.match(/id\=result_box\ dir\="ltr">(\S*)<\/div>/)
if str
  puts Iconv.new('UTF-8', 'ISO-8859-15').iconv(str[1])
else
  puts "error.."
end
</pre>
<p>Of course you can change the languages! Just edit the <code>langpair=de|en</code> at your will. Be sure to have ruby installed!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gauda.de/ruby-on-rails/translate-directly-at-your-console/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My changeConfiguration.sh script to change single- and dual-monitor and network configurations</title>
		<link>http://www.gauda.de/ubuntu/my-changeconfigurationsh-script-to-change-single-and-dual-monitor-and-network-configurations/</link>
		<comments>http://www.gauda.de/ubuntu/my-changeconfigurationsh-script-to-change-single-and-dual-monitor-and-network-configurations/#comments</comments>
		<pubDate>Mon, 31 Dec 2007 15:37:15 +0000</pubDate>
		<dc:creator>Johannes Leers</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[xorg.conf]]></category>

		<guid isPermaLink="false">http://www.gauda.de/ubuntu/my-changeconfigurationsh-script-to-change-single-and-dual-monitor-and-network-configurations/</guid>
		<description><![CDATA[My old notebook Fujitsu-Siemens Lifebook S7010 drove an Intel graphics card whose driver wasn&#8217;t able to detect the plugging of external monitors. So I wrote a little script to switch my xorg.conf file:

#!/bin/sh
if diff /etc/X11/xorg.conf /etc/X11/xorg.conf.single >/dev/null 2>&#38;1
then
sudo cp /etc/X11/xorg.conf.dual /etc/X11/xorg.conf
echo 'monitor: dual'
else
sudo cp /etc/X11/xorg.conf.single /etc/X11/xorg.conf
echo 'monitor: single'
fi
It is also possible to switch between different [...]]]></description>
			<content:encoded><![CDATA[<p>My old notebook Fujitsu-Siemens Lifebook S7010 drove an Intel graphics card whose driver wasn&#8217;t able to detect the plugging of external monitors. So I wrote a little script to switch my <em>xorg.conf</em> file:</p>
<pre class="prettyprint">
#!/bin/sh
if diff /etc/X11/xorg.conf /etc/X11/xorg.conf.single >/dev/null 2>&amp;1
then
sudo cp /etc/X11/xorg.conf.dual /etc/X11/xorg.conf
echo 'monitor: dual'
else
sudo cp /etc/X11/xorg.conf.single /etc/X11/xorg.conf
echo 'monitor: single'
fi</pre>
<p>It is also possible to switch between different network configurations. The reason for me was that I was able to use LAN in the office and use WLAN at home. Just append this to your changeConfiguration.sh:</p>
<pre class="prettyprint">
if diff /etc/network/interfaces /etc/network/interfaces.home >/dev/null 2>&amp;1
then
sudo ifdown eth0
sudo ifdown eth1
sudo cp /etc/network/interfaces.office /etc/network/interfaces
sudo ifup eth0
sudo cp /etc/resolv.conf.office /etc/resolv.conf
echo 'network: office'
else
sudo ifdown eth0
sudo ifdown eth1
sudo cp /etc/network/interfaces.home /etc/network/interfaces
sudo ifup eth1
sudo cp /etc/resolv.conf.home /etc/resolv.conf
echo 'network: home'
fi
</pre>
<p>Now, how does this work? First, create configuration files for each setup in the appropriate folders. In the first example it is <em>/etc/X11/xorg.conf.single</em> and <em>/etc/X11/xorg.conf.dual</em>, in the second example it is <em>/etc/network/interfaces.office</em>, <em>/etc/network/interfaces.home</em>, <em>/etc/resolv.conf.home</em> and <em>/etc/resolv.conf.office</em>. Put your configuration into these files.<br />
This is no catch-it-all-script, you have to switch to another terminal screen (e.g. Ctrl + Alt + F2) and call the script: <code>sh changeConfiguration.sh</code>. It will tell you if you are driving single- or dual-screen and which network configuration you&#8217;ll use. Restart your X-server after calling.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gauda.de/ubuntu/my-changeconfigurationsh-script-to-change-single-and-dual-monitor-and-network-configurations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Give wicd a try (network-manager alternative)!</title>
		<link>http://www.gauda.de/ubuntu/give-wicd-a-try-network-manager-alternative/</link>
		<comments>http://www.gauda.de/ubuntu/give-wicd-a-try-network-manager-alternative/#comments</comments>
		<pubDate>Mon, 31 Dec 2007 03:05:22 +0000</pubDate>
		<dc:creator>Johannes Leers</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[alternative]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[network]]></category>

		<guid isPermaLink="false">http://www.gauda.de/random/give-wicd-a-try-network-manager-alternative/</guid>
		<description><![CDATA[Setting up an Ubuntu the first time, I always struggled with the network-manager, because it wasn&#8217;t able to establish a connection with a fixed gateway address. I have an old &#8211; hmm let me say disabled &#8211; router from Siemens where it is not possible to use DHCP because it doesn&#8217;t provide the gateway address. [...]]]></description>
			<content:encoded><![CDATA[<p>Setting up an Ubuntu the first time, I always struggled with the network-manager, because it wasn&#8217;t able to establish a connection with a fixed gateway address. I have an old &#8211; hmm let me say disabled &#8211; router from Siemens where it is not possible to use DHCP because it doesn&#8217;t provide the gateway address. So my only chance to get wireless lan to work was to provide the correct ips manually in ubuntu&#8217;s configuration files, and do a <span style="font-style: italic">sudo ifconfig down eth1</span> and <em>sudo ifconfig up eth0</em> to switch between WLAN and LAN. Really annoying!</p>
<p>Just for the case you are interested in configurating your network manually, this are the two files where the magic happens: /etc/network/interfaces and /etc/resolv.conf</p>
<p>But without any regret I can recommend <a href="http://wicd.sourceforge.net/" target="_blank">wicd</a>. This tool is so handy I am wondering why it isn&#8217;t the default network-manager in Ubuntu! Just add the repository  <code>deb http://apt.wicd.net gutsy extras </code>to your <em>sources.list</em> and install it via <em>sudo aptitude install wicd</em>. I am running the current <a href="http://sourceforge.net/project/showfiles.php?group_id=194573&amp;package_id=233390" target="_blank">testing release 1.3.8</a> from 02. Dec 2007 and it&#8217;s working fine!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gauda.de/ubuntu/give-wicd-a-try-network-manager-alternative/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Get Ctrl + left and right in firefox&#8217; address bar to work on Linux!</title>
		<link>http://www.gauda.de/ubuntu/get-ctrl-left-and-right-in-firefox-address-bar-to-work-on-linux/</link>
		<comments>http://www.gauda.de/ubuntu/get-ctrl-left-and-right-in-firefox-address-bar-to-work-on-linux/#comments</comments>
		<pubDate>Mon, 31 Dec 2007 02:30:15 +0000</pubDate>
		<dc:creator>Johannes Leers</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://www.gauda.de/ubuntu/get-ctrl-left-and-right-in-firefox-address-bar-to-work/</guid>
		<description><![CDATA[Especially for people coming from Windows it may be confusing to see the address bar not behaving the same way on linux it does on Windows. On Windows you are able to jump to stop characters like slash or dot with Ctrl + left or right. This is not the default on Linux. To enable [...]]]></description>
			<content:encoded><![CDATA[<p>Especially for people coming from Windows it may be confusing to see the address bar not behaving the same way on linux it does on Windows. On Windows you are able to jump to stop characters like slash or dot with <em>Ctrl</em> + <em>left</em> or <em>right</em>. This is not the default on Linux. To enable this, just go to <em>about:config</em> and set <em>layout.word_select.stop_at_punctuation</em> to <em>true</em>. That&#8217;s all!</p>
<p>Another shot: The <em>backspace</em> behaviour is also different on Linux systems than it is  on Windows. On Windows hitting the <em>backspace</em> is the same as <em>history back</em>, on Linux it is the same as <em>page up</em>. To change it to <em>history back</em> go to <em>about:config</em> and set <em>browser.backspace_action</em> to <em>0</em>. Groovy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gauda.de/ubuntu/get-ctrl-left-and-right-in-firefox-address-bar-to-work-on-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
