<?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>Tudor Barbu&#039;s professional blog &#187; linux</title>
	<atom:link href="http://blog.motane.lu/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.motane.lu</link>
	<description>Ramblings about software development</description>
	<lastBuildDate>Thu, 02 Feb 2012 17:38:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Changing the time zone in Ubuntu</title>
		<link>http://blog.motane.lu/2010/01/04/changing-the-time-zone-in-ubuntu/</link>
		<comments>http://blog.motane.lu/2010/01/04/changing-the-time-zone-in-ubuntu/#comments</comments>
		<pubDate>Mon, 04 Jan 2010 18:55:22 +0000</pubDate>
		<dc:creator>Tudor</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tips and tricks]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.motane.lu/?p=1279</guid>
		<description><![CDATA[This one is from the &#8220;d&#8217;oh&#8221; category. As recently I&#8217;ve moved to Barcelona and since Bucharest and Barcelona are in different time zones, I wanted to set my system&#8217;s time an hour back, in order to display the correct time. I went the easy way: right clicked on the clock in the upper right, selected [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://blog.motane.lu/wp-content/uploads/2008/12/ubuntulogoresized-150x150.png" alt="Ubuntu" title="Ubuntu" width="150" height="150" class="size-thumbnail alignleft" /> This one is from the &#8220;<a href="http://images.google.com/images?q=d%27oh" title="Search on Google Images for d'oh" class="outgoing">d&#8217;oh</a>&#8221; category. As recently I&#8217;ve moved to Barcelona and since Bucharest and Barcelona are in different time zones, I wanted to set my system&#8217;s time an hour back, in order to display the correct time. </p>
<p>I went the easy way: right clicked on the clock in the upper right, selected &#8220;Adjust date and time&#8221; and made the modifications. After a few minutes the clock was showing Bucharest&#8217;s time and my changes were overwritten. I though I must have imagined setting the clock right in the first place &#8211; since I &#8220;tasted&#8221; <a href="http://en.wikipedia.org/wiki/Moritz_(beer)" title="Wikipedia entry for Moritz beer" class="outgoing">Moritz</a> thoroughly &#8211; and did it again. </p>
<p>I&#8217;ve ignored the clock for a while and, later on, when I looked at it, it was displaying Bucharest&#8217;s time again <img src='http://blog.motane.lu/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>D&#8217;oh! Ubuntu queries it&#8217;s time servers from time to time and sets the hour according to the information retrieved from these servers. And since my timezone was still set to Europe/Bucharest, on each update my system was receiving the time for that area. I&#8217;ve changed the timezone accordingly and everything started working. Magic! </p>
<p>To change the timezone of on you Ubuntu system go to System > Administration > Time and date. Or, if you&#8217;re a console freak, just punch in:</p>
<pre class="brush: bash; title: ; notranslate">
sudo dpkg-reconfigure tzdata
</pre>
<p>in order to set the correct time zone.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.motane.lu/2010/01/04/changing-the-time-zone-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web svn administration on Debian</title>
		<link>http://blog.motane.lu/2009/10/30/web-svn-administration-on-debian/</link>
		<comments>http://blog.motane.lu/2009/10/30/web-svn-administration-on-debian/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 08:01:45 +0000</pubDate>
		<dc:creator>Tudor</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[source control]]></category>

		<guid isPermaLink="false">http://blog.motane.lu/?p=1050</guid>
		<description><![CDATA[When I work alone on some projects, I usually use git for versioning. I have a github account and I throw there my code, for safe keeping, since GitHub&#8217;s datacenter is much more reliable than anything I could ever improvise at home. And it&#8217;s quite cheap also. But at work I&#8217;ve always used SVN and [...]]]></description>
			<content:encoded><![CDATA[<p>When I work alone on some projects, I usually use <a href="http://git-scm.com/" title="Git - Fast Version Control System" class="outgoing">git</a> for versioning. I have a <a href="http://github.com/motanelu" title="">github account</a> and I throw there my code, for safe keeping, since GitHub&#8217;s datacenter is much more reliable than anything I could ever improvise at home. And it&#8217;s quite cheap also. </p>
<p>But at work I&#8217;ve always used SVN and I also wanted to use it at my current workplace. So I had to install it. Since we&#8217;re using Debian and all the components are in the repositories, things went pretty smooth:</p>
<pre class="brush: plain; title: ; notranslate">
sudo apt-get install subversion libapache2-svn
sudo a2enmod dav
sudo a2enmod dav-svn
</pre>
<p>And basically that&#8217;s it. It works. But since I&#8217;m lazy, I wanted a simple way to create repositories, manage the users&#8217; rights and so on. That &#8220;svn admin create&#8221; stuff just doesn&#8217;t cut it for me. Thus I looked over the web in search of a suitable web interface for SVN. And I&#8217;ve found one developed by some French guys, called <a href="http://www.usvn.info/" title="User friendly SVN" class="outgoing">User Friendly SVN</a>. It&#8217;s built on Zend Framework, it&#8217;s simple, very simple for that matter &#8211; just the essentials &#8211; but it gets the job done. It really easy to use and easy to install. If you want a SVN management tool, give it a try. </p>
<p>Now I&#8217;m looking for a way to tie &#8211; as simple as possible &#8211; the system user accounts with SVN&#8217;s user account. Use password to rule them all <img src='http://blog.motane.lu/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.motane.lu/2009/10/30/web-svn-administration-on-debian/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>WhiteHouse goes Drupal &#8211; governments and open source</title>
		<link>http://blog.motane.lu/2009/10/28/whitehouse-goes-drupal-governments-and-open-source/</link>
		<comments>http://blog.motane.lu/2009/10/28/whitehouse-goes-drupal-governments-and-open-source/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 21:14:02 +0000</pubDate>
		<dc:creator>Tudor</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://blog.motane.lu/?p=1152</guid>
		<description><![CDATA[Whitehouse.gov goes Drupal &#8211; this was a headline on all technology blogs. This alone is a huge step for Drupal. It has proved itself and the debates like Drupal vs. Joomla or Drupal vs. WordPress are now over. Buytaert&#8217;s followers will just go &#8220;yes we can&#8221;. But it&#8217;s also a big day for Open Source [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://blog.motane.lu/wp-content/uploads/2009/10/drupal-logo.jpg" alt="Drupal" title="Drupal" width="150" height="172" class="alignright size-full wp-image-1154" /><a href="http://www.google.com/search?q=whitehouse+drupal" title="whitehouse +drupal search on Google.com" class="outgoing">Whitehouse.gov goes Drupal</a> &#8211; this was a headline on all technology blogs. This alone is a huge step for Drupal. It has proved itself and the debates like Drupal vs. Joomla or Drupal vs. WordPress are now over. Buytaert&#8217;s followers will just go &#8220;yes we can&#8221;. </p>
<p>But it&#8217;s also a big day for Open Source as a whole since the Whitehouse.gov website runs now on a LAMP solution. And if it&#8217;s good enough for the WhiteHouse, then it&#8217;s good enough for companies. </p>
<p>Back in the days, Microsoft&#8217;s solutions were considered to be the (only) &#8220;safe choice&#8221; for IT managers to make. Linux servers or open source implementations were considered to be&#8230;experimental at best, and that if you want a bullet-proof and reliable infrastructure you should always go with Microsoft. In reality nothing could be further from the truth, as most Microsoft servers I&#8217;ve encountered so far were inferior to their Linux/Unix/Macintosh counterparts. </p>
<p>The FUD that Linux and open source are not suitable for big companies or governments has received today a(nother) blow. I consider that this move should be widely imitated by governments in Europe, as it will create jobs here and we won&#8217;t spend billions of euros importing software from the US. </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.motane.lu/2009/10/28/whitehouse-goes-drupal-governments-and-open-source/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>MySQL backup script</title>
		<link>http://blog.motane.lu/2009/09/28/mysql-backup-script/</link>
		<comments>http://blog.motane.lu/2009/09/28/mysql-backup-script/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 12:18:08 +0000</pubDate>
		<dc:creator>Tudor</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://blog.motane.lu/?p=1084</guid>
		<description><![CDATA[What is a bad day? How do you define it? Its very definition varies from person to person and from job to job. For some, a bad day is when they lose the bus or the subway and are late for work. For others, a bad day is when their hair looks weird or they [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://blog.motane.lu/wp-content/uploads/2009/09/mysql-logo.png" alt="mysql-logo" title="mysql-logo" width="200" height="103" class="alignleft size-full wp-image-1088" /><br />
What is a bad day? How do you define it? Its very definition varies from person to person and from job to job. For some, a bad day is when they lose the bus or the subway and are late for work. </p>
<p>For others, a bad day is when their hair looks weird or they can&#8217;t find a good parking lot. For economists and bankers, a bad day is when&#8230;well, everyday, given the current economical climate. </p>
<p>For the average programmer a bad day is when he manages to fuck up something on a epic scale on the production server. Let&#8217;s say a database with thousands of users. Today it happened to&#8230;well&#8230;<em>this friend of mine</em>. </p>
<p>Luckily <em>my friend</em> backups his work on a daily basis and is prepared for such situations. One of the scripts he uses for this is the awesome <a href="http://www.debianhelp.co.uk/mysqlscript.htm" title="AutoMySQLBackup Script on DebianHelp.co.uk" class="outgoing">AutoMySQLBackup script</a>, which I &#8211; I mean he recommends to all of you. It&#8217;s really simple to use, all you have to do are some minor configurations and add the script to be ran daily as a cron job. </p>
<p>Real men <strong>*do*</strong> use backups!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.motane.lu/2009/09/28/mysql-backup-script/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Monitor free space on your Linux server</title>
		<link>http://blog.motane.lu/2009/09/22/monitor-free-space-on-your-linux-server/</link>
		<comments>http://blog.motane.lu/2009/09/22/monitor-free-space-on-your-linux-server/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 11:09:15 +0000</pubDate>
		<dc:creator>Tudor</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[system administration]]></category>

		<guid isPermaLink="false">http://blog.motane.lu/?p=1053</guid>
		<description><![CDATA[Warning: After consulting with some of my friends, I&#8217;ve concluded that Nagios is a much better solution, so this article is now obsolete. Read it only if you don&#8217;t want to install Nagios on your server. Now that I have some server that I need to administer and look after, I&#8217;m starting to notice potential [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>
<strong>Warning:</strong> After consulting with some of my friends, I&#8217;ve concluded that <a href="http://www.nagios.com/" title="Nagios" class="outgoing">Nagios</a> is a much better solution, so this article is now obsolete. Read it only if you don&#8217;t want to install Nagios on your server.
</p></blockquote>
<p>Now that I have some server that I need to administer and look after, I&#8217;m starting to notice potential issues that until several months ago were just somebody&#8217;s else&#8217;s problems and I didn&#8217;t cared much for them. One of which is to monitor the server&#8217;s free space, since it&#8217;s better to know when your server&#8217;s storage capacity is running low. Saves me some money on the headache pills. Well, knowing a scripting language like python comes in handy in times like these, because it helped me to put together a simple script that warns me whenever one or more hard-drives are over 85% full. </p>
<p>Here it is:</p>
<pre class="brush: python; title: ; notranslate">
#!/usr/bin/python
import commands
WARNING_PERCENTAGE = 85

def main():
    global WARNING_PERCENTAGE
    warnings = []
    status, output = commands.getstatusoutput( &quot;&quot;&quot;df -k | awk '{if ($6 !~ /cdrom/ &amp;&amp; NR != 1) print $1 &quot; &quot; ($5 + 0) }'&quot;&quot;&quot; )
    for line in output.splitlines():
        hdd, used = line.split( ' ' )
        if int( used ) &gt;= WARNING_PERCENTAGE:
            warnings.append( line )
    if len( warnings ) is not 0:
        send_warning( warnings )

def send_warning( warnings ):
    # here you should send e-mails, smses and so on
    print warnings

if __name__ == '__main__':
    main()
</pre>
<p>Since it uses <strong><em>df</em></strong> and <strong><em>awk</em></strong>, it&#8217;s obvious that it won&#8217;t run on Windows. But who need Windows anyway&#8230;</p>
<p>PS: do I have to mention that this script should be ran as a cron job?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.motane.lu/2009/09/22/monitor-free-space-on-your-linux-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ALERT &#8211; configured POST variable limit exceeded</title>
		<link>http://blog.motane.lu/2009/09/15/alert-configured-post-variable-limit-exceeded/</link>
		<comments>http://blog.motane.lu/2009/09/15/alert-configured-post-variable-limit-exceeded/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 17:03:22 +0000</pubDate>
		<dc:creator>Tudor</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://blog.motane.lu/?p=990</guid>
		<description><![CDATA[ALERT &#8211; configured POST variable limit exceeded&#8230;this error kept poping in my server&#8217;s logs all morning, and &#8211; what a strange coincidence &#8211; an application stopped working in that exact time frame Well, upon investigation, this exception is thrown by suhosin when a client application sends too many variables to the server. In my case, [...]]]></description>
			<content:encoded><![CDATA[<p><strong>ALERT &#8211; configured POST variable limit exceeded</strong>&#8230;this error kept poping in my server&#8217;s logs all morning, and &#8211; what a strange coincidence &#8211; an application stopped working in that exact time frame <img src='http://blog.motane.lu/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p>Well, upon investigation, this exception is thrown by <a href="http://www.hardened-php.net/suhosin/" title="Hardened-PHP Project" class="outgoing">suhosin</a> when a client application sends too many variables to the server. In my case, via HTTP POST. </p>
<p>The solution is simple, just increase the maximum number of allowed variables in php.ini. If you don&#8217;t have a suhosin section, just create one. Like such:</p>
<pre class="brush: plain; title: ; notranslate">
[suhosin]
suhosin.request.max_vars = 1000
suhosin.post.max_vars = 1000
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.motane.lu/2009/09/15/alert-configured-post-variable-limit-exceeded/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Advertising blog entries on Pidgin&#8217;s status</title>
		<link>http://blog.motane.lu/2009/08/21/advertising-blog-entries-on-pidgins-status/</link>
		<comments>http://blog.motane.lu/2009/08/21/advertising-blog-entries-on-pidgins-status/#comments</comments>
		<pubDate>Fri, 21 Aug 2009 14:36:12 +0000</pubDate>
		<dc:creator>Tudor</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[pidgin]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.motane.lu/?p=967</guid>
		<description><![CDATA[I wanted to write this post ever since I&#8217;ve read Radu&#8217;s Fortune and Pidgin&#8217;s status on Ubuntu post. Radu&#8217;s approach is quite lame and hard to use, because it relies on the user exporting a SQL dump file every time he posts something on the blog. And really, do you need *all* the posts in [...]]]></description>
			<content:encoded><![CDATA[<p>I wanted to write this post ever since I&#8217;ve read Radu&#8217;s <a href="http://radu.cotescu.com/2009/08/07/fortune-and-pidgins-status-on-ubuntu-linux/" title="Fortune and Pidgin's status on Ubuntu" class="outgoing">Fortune and Pidgin&#8217;s status on Ubuntu</a> post. Radu&#8217;s approach is quite lame and hard to use, because it relies on the user exporting a SQL dump file every time he posts something on the blog. </p>
<p>And really, do you need *all* the posts in the database? Do you really want to advertise blog entries from 2 years ago? Come on! </p>
<p>My idea is much better&#8230;obviously <img src='http://blog.motane.lu/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> &#8230;and it goes like this: parse the blog&#8217;s RSS and take &#8220;inspiration&#8221; from there for the statuses. The weapon of choice for this task is python with its <a href="http://www.feedparser.org/" title="feedparser project's webpage" class="outgoing">feedparser</a> library.</p>
<p>First, some prerequisites:</p>
<pre class="brush: plain; title: ; notranslate">
sudo apt-get install python-feedparser
</pre>
<p>&#8230;and then, the python script:</p>
<pre class="brush: python; title: ; notranslate">
#!/usr/bin/python
import feedparser
import random
import os

# feed url
FEED = 'http://feeds2.feedburner.com/motanelu'

feed = feedparser.parse( FEED )
index = random.randrange(0, len( feed['items'] ) - 1 )
status = 'purple-remote &quot;setstatus?status=available&amp;message=%s %s&quot;' % ( feed['items'][index].title, feed['items'][index].link )
os.system( status )

# EOF
</pre>
<p>I consider this approach better than Radu&#8217;s, because it doesn&#8217;t require exporting the database or messing around with fortune. Read this <a href="http://earlruby.org/2008/08/update-pidgin-status-using-cron/" title="Update Pidgin IM status on Ubuntu using cron" class="outgoing">post</a> to see how to update Pidgin&#8217;s status using cron. And enjoy <img src='http://blog.motane.lu/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.motane.lu/2009/08/21/advertising-blog-entries-on-pidgins-status/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Limit a script&#8217;s execution time</title>
		<link>http://blog.motane.lu/2009/07/13/limit-a-scripts-execution-time/</link>
		<comments>http://blog.motane.lu/2009/07/13/limit-a-scripts-execution-time/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 04:41:53 +0000</pubDate>
		<dc:creator>Tudor</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://blog.motane.lu/?p=914</guid>
		<description><![CDATA[Sometimes you might want to limit a script&#8217;s maximum execution time, so that if it&#8217;s not done in X seconds, you&#8217;ll discard any results you&#8217;ve got so far and move on. And if you&#8217;re lazy and don&#8217;t want to implement threading and semaphores and so on, or you just need a quick way to achieve [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes you might want to limit a script&#8217;s maximum execution time, so that if it&#8217;s not done in X seconds, you&#8217;ll discard any results you&#8217;ve got so far and move on. And if you&#8217;re lazy and don&#8217;t want to implement threading and semaphores and so on, or you just need a quick way to achieve this limitation and you&#8217;re okay with killing the script after a certain number of seconds &#8211; note that you will lose any unsaved data when you kill the program &#8211; then this Perl one liner might just do the trick for you:</p>
<pre class="brush: perl; title: ; notranslate">
perl -e '$s = shift; $SIG{ALRM} = sub { print STDERR &quot;Timeout!\n&quot;; kill INT =&gt; $p }; exec(@ARGV) unless $p = fork; alarm $s; waitpid $p, 0' {max. execution time in seconds} {/path/to/script}
</pre>
<p>Don&#8217;t try to read it&#8230;just go with it <img src='http://blog.motane.lu/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  It works and that all that matters.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.motane.lu/2009/07/13/limit-a-scripts-execution-time/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Pywebkitgtk under Debian Lenny</title>
		<link>http://blog.motane.lu/2009/07/08/pywebkitgtk-under-debian-lenny/</link>
		<comments>http://blog.motane.lu/2009/07/08/pywebkitgtk-under-debian-lenny/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 05:12:53 +0000</pubDate>
		<dc:creator>Tudor</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[pywebkitgtk]]></category>

		<guid isPermaLink="false">http://blog.motane.lu/?p=852</guid>
		<description><![CDATA[If you&#8217;ve read the previous post, you know that I consider using python with Webkit and Qt a much better solution than using GTK, so that&#8217;s what I recommend. But if you want to give it a try with GTK and need to install pywebkitgtk under Debian Lenny, this is what you need to do: [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve read the previous post, you know that I consider using python with Webkit and Qt a much better solution than using GTK, so that&#8217;s what I recommend. But if you want to give it a try with GTK and need to install pywebkitgtk under Debian Lenny, this is what you need to do:</p>
<ol>
<li>
Open /etc/apt/sources.list and append the following lines to the file.</p>
<pre class="brush: plain; title: ; notranslate">
# Unstable Sid
deb http://http.us.debian.org/debian/ unstable main contrib non-free
# Unstable Sources
deb-src http://http.us.debian.org/debian/ unstable main contrib non-free
</pre>
</li>
<li>
Run <strong>apt-get update</strong> in the shell, so that apt will become aware of the changes in the sources.list file
</li>
<li>
Run <strong>apt-get install pywebkitgtk</strong>
</li>
</ol>
<p>Note that you have to be logged in as root or be able to sudo.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.motane.lu/2009/07/08/pywebkitgtk-under-debian-lenny/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pidgin, Ubuntu and Yahoo! Messenger</title>
		<link>http://blog.motane.lu/2009/06/24/pidgin-ubuntu-and-yahoo-messenger/</link>
		<comments>http://blog.motane.lu/2009/06/24/pidgin-ubuntu-and-yahoo-messenger/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 10:50:54 +0000</pubDate>
		<dc:creator>Tudor</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[pidgin]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[yahoo]]></category>

		<guid isPermaLink="false">http://blog.motane.lu/?p=856</guid>
		<description><![CDATA[Starting yesterday, my Pidgin stopped connecting to Yahoo!&#8217;s messenger service (MSN kept working). Being lazy, I&#8217;ve just changed the scs.msg.yahoo.com host to 66.163.181.166 in the user profile panel &#8211; the first solution I&#8217;ve came across on Google &#8211; and it started working again. For another day or so. But today, it stopped working again and [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://blog.motane.lu/wp-content/uploads/2009/06/pidgin_bird.png" alt="Pidgin" title="Pidgin" width="150" height="254" class="alignleft size-full wp-image-857" /> Starting yesterday, my Pidgin stopped connecting to Yahoo!&#8217;s messenger service (MSN kept working). Being lazy, I&#8217;ve just changed the <strong>scs.msg.yahoo.com</strong> host to <strong>66.163.181.166</strong> in the user profile panel &#8211; the first solution I&#8217;ve came across on Google &#8211; and it started working again. For another day or so. </p>
<p>But today, it stopped working again and I couldn&#8217;t get it working again. So I&#8217;ve used <a href="http://www.meebo.com" title="Meebo" class="outgoing">Meebo</a> to go online and ask others if their YM! clients worked, if they&#8217;ve also encountered this problem, and, most important, what did they do to fix it. And &#8211; thanks to <a href="http://radu.cotescu.com/" title="Radu Cotescu's blog" class="outgoing">Radu</a> &#8211; I&#8217;ve found out the root of this problem: Yahoo! changed the specifications of its im protocol. Fortunately, the Pidgin guys don&#8217;t waste time and the problem can be solved by upgrading to Pidgin 2.5.7. </p>
<p>Details <a href="http://www.celticwolf.com/useful-information/faqs/26-pidgin-yahoo" title="Celtic Wolf on Pidgin and Yahoo" class="outgoing">here</a> and <a href="http://www.pidgin.im/download/ubuntu/" title="Pidgin" class="outgoing">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.motane.lu/2009/06/24/pidgin-ubuntu-and-yahoo-messenger/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

