<?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>A Linux User in a Windows World &#187; Linux</title>
	<atom:link href="http://jan.saell.org/blog/archives/category/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://jan.saell.org/blog</link>
	<description>Ramblings from an old Linux guru</description>
	<lastBuildDate>Tue, 10 Jan 2012 10:12:09 +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>Adding nameserver to dhcp</title>
		<link>http://jan.saell.org/blog/archives/1812</link>
		<comments>http://jan.saell.org/blog/archives/1812#comments</comments>
		<pubDate>Tue, 10 Jan 2012 10:12:09 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[DNS DHCPCLIENT DHCP]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=1812</guid>
		<description><![CDATA[ Today i came a cross a bit of a problem. At one of my customers im doing some testing on a lab system and needed to be patched into the labnetwork. Its all handled by dhcp so thats ok, but for some strange network reason the dns lookup was very slow. So I needed to and another [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> Today i came a cross a bit of a problem. At one of my customers im doing some testing on a lab system and needed to be patched into the labnetwork.</p>
<p>Its all handled by dhcp so thats ok, but for some strange network reason the dns lookup was very slow. So I needed to and another DHCP server to my /etc/resolv.conf. But this got overwritten as soon as the dhcp client got information again. So how do you fix that?</p>
<p><span id="more-1812"></span></p>
<p>Easy!</p>
<p>Edit /etc/dhcp3/dhclient.conf and add a line (or uncomment the on in there):</p>
<pre>prepend domain-name-servers 10.10.10.10;</pre>
<p>That will fix it.</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/1812/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mysql replication fail</title>
		<link>http://jan.saell.org/blog/archives/1792</link>
		<comments>http://jan.saell.org/blog/archives/1792#comments</comments>
		<pubDate>Thu, 22 Dec 2011 10:18:00 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=1792</guid>
		<description><![CDATA[Today i had an interesting problem. I have a customer that we have upgraded the running system and database server for. And we have used mysql replication to be able to do this with a minimum of downtime. So we have a spare server that we set up as a database server. Started replication to [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> Today i had an interesting problem.</p>
<p>I have a customer that we have upgraded the running system and database server for. And we have used mysql replication to be able to do this with a minimum of downtime. So we have a spare server that we set up as a database server. Started replication to it &#8211; when it was running as is should we stopped the system totally &#8211; ended the replication and made that system the master. All well. Then we upgraded the old server with new os and new server software and did the same thing back.</p>
<p>And by misstake the system was writing some data to the new server while we still where replicating from the &#8220;old&#8221; or &#8220;temporary&#8221; datbase servern. And this ofcuase made the database replication to stop whit an error message.</p>
<p><span id="more-1792"></span>The error you will see (when you run mysql command <em><strong>show slave status;</strong></em>) is</p>
<pre>Last_Error: Error 'Duplicate entry '731670' for key 1' on query. Default database: ......</pre>
<p>So is there a way to fix this. Well it kind of depends of what the problem is.</p>
<p>I see 2 ways to fix this. If you by misstage onli inserted a few entries into one table you could (if you know what you did insert) remove that and start up the slave again. This will work.</p>
<p>Secondly is to skip in the replication &#8211; This is something you can do if you know that that insert is not something you will miss in the slave. And in our case it was just one log entry.</p>
<p>So you tell mysql to skipp one onetry in the replication log by the command:</p>
<pre>set global sql_slave_skip_counter = 1;</pre>
<p>if you are useing and older version of mysql you can skip the global.</p>
<p>And the you start the slave replication again with the command:</p>
<pre>start slave;</pre>
<p>And it should be ok &#8211; you can check the status by the <em><strong>show slave status</strong></em> command and the seconds behind shoudl cound down to 0.</p>
<p>Now you have the slave replication up and running again.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/1792/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mediatomb to Pioneer BDP-440</title>
		<link>http://jan.saell.org/blog/archives/1773</link>
		<comments>http://jan.saell.org/blog/archives/1773#comments</comments>
		<pubDate>Sun, 04 Dec 2011 10:01:04 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[open-source]]></category>
		<category><![CDATA[DLNA server linux]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=1773</guid>
		<description><![CDATA[Yesterday i got my new BluRay player. I got a Pioneer BDP-440 BlueRay player. And as it is suposed to play video from a DLNA server I wanted to install and get that going also. So I did some search on the networks and after some reading it seems that one of the most used [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> Yesterday i got my new BluRay player. I got a Pioneer BDP-440 BlueRay player. And as it is suposed to play video from a DLNA server I wanted to install and get that going also.</p>
<p>So I did some search on the networks and after some reading it seems that one of the most used and the one I liked the most was <a href="http://mediatomb.cc/" target="_blank">Mediatomb</a>.</p>
<p><span id="more-1773"></span>I installed it and got it running. Thats verys imple on kubuntu as its in the repositories. Just do a</p>
<pre>sudo apt-get install mediatomb</pre>
<p>and you are ok.</p>
<p>The fist thing to fix was the networks route. DLNA is a multicast service, so you need to setup that to.</p>
<p>The setup script /etc/default/mediatomb contains information about this but needs to be edited. You have to edit the line with INTERFACE to include the network interface to enable it to add the multicast route. Here is my line:</p>
<p>INTERFACE=&#8221;eth0&#8243;</p>
<p>Then I could see the media server on my BlueRay player.</p>
<h2>Slow navigation and no pause</h2>
<p>When I started to use it I found out another anoying feature or bug. When I navigated, and went from one episode to another it took like 2 minutes until the blueray player accepted my second key-press. Some kind of cashing or so was going on. And when plyaing a file I also could not pause and start again. Very annoying.</p>
<p>But fiddling a bit with the config made it working. I had to change the config.xml file in /etc/mediatomb and I added the following lines below the <em><strong>protocolInfo</strong></em> line &#8211; and yes you have to change the <em><strong>no</strong></em> to <strong><em>yes</em></strong> on that one to.</p>
<pre>    &lt;protocolInfo extend="<em><strong>yes</strong></em>"/&gt;&lt;!-- For PS3 support change to "yes" --&gt;
    &lt;extended-runtime-options&gt;
      &lt;ffmpegthumbnailer enabled="no"&gt;
      &lt;thumbnail-size&gt;128&lt;/thumbnail-size&gt;
        &lt;seek-percentage&gt;5&lt;/seek-percentage&gt;
        &lt;filmstrip-overlay&gt;yes&lt;/filmstrip-overlay&gt;
        &lt;workaround-bugs&gt;no&lt;/workaround-bugs&gt;
      &lt;/ffmpegthumbnailer&gt;
      &lt;mark-played-items enabled="no" suppress-cds-updates="yes"&gt;
        &lt;string mode="prepend"&gt;*&lt;/string&gt;
      &lt;/mark-played-items&gt;
    &lt;/extended-runtime-options&gt;</pre>
<p>And now it works like a charm.</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/1773/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sendmail and smarthost and authenticated submission on port 587</title>
		<link>http://jan.saell.org/blog/archives/1641</link>
		<comments>http://jan.saell.org/blog/archives/1641#comments</comments>
		<pubDate>Mon, 01 Aug 2011 11:17:36 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[587]]></category>
		<category><![CDATA[authenticated]]></category>
		<category><![CDATA[sendmail]]></category>
		<category><![CDATA[smarthost]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=1641</guid>
		<description><![CDATA[Today I came across a small and interesting thing. One of our customer have been upgrading from suse to centos, and that also changed the mailer from postfix to sendmail. I consider myself a quite skilled sendmail person but this was a new one. The system itself is a dumb system and we should forward [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> Today I came across a small and interesting thing. One of our customer have been upgrading from suse to centos, and that also changed the mailer from postfix to sendmail. I consider myself a quite skilled sendmail person but this was a new one.</p>
<p>The system itself is a dumb system and we should forward everyting to a smart host. But we need to do that over port 587 and authenticated.</p>
<p><span id="more-1641"></span>So some googeling and reading I came up with the following:</p>
<p>First you need to install the sendmail-cf package</p>
<pre>yum install sendmail-cf</pre>
<p>And the we need to modify the /etc/mail/sendmail.mc file and add the following (den xxx lines is there so you only have to remove the dnl first on the line:</p>
<pre>define(`SMART_HOST',`host.isp.net')dnl
define(`RELAY_MAILER_ARGS', `TCP $h 587')
define(`ESMTP_MAILER_ARGS', `TCP $h 587')
FEATURE(`authinfo',`Hash -o /etc/mail/authinfo.db')dnl</pre>
<p>The first line specify the hostname of the smarthost. Line 2 and 3 tells sendmail to use port 587 for submission instead of the normal 25. And the fourth line specify that the authentication information should be from the authinfo.db file.</p>
<p>We now have to make the sendmail.cf file:</p>
<pre>make -C /etc/mail</pre>
<p>We now have the new sendmail.cf file in /etc/mail that sendmail can use.</p>
<p>We then have to create the file &#8211; start bu creating /etc/mail/authinfo:</p>
<pre>AuthInfo:ispdomain.net "U:my_username" "P:my_password" "M:PLAIN"
AuthInfo: "U:my_username" "P:my_password" "M:PLAIN"</pre>
<p>Where you set the username and password to what you should use.</p>
<p>We then need to make a sendmail map of it:</p>
<pre>cd /etc/mail
chmod 600 authinfo
makemap hash authinfo &lt; authinfo</pre>
<p>Second line makes it a bit more secure by making it readable for root only. And then we use the makemap to make the authinfo.db file. We can now restart sendmail and all should work.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/1641/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bitten in the arse by security</title>
		<link>http://jan.saell.org/blog/archives/1638</link>
		<comments>http://jan.saell.org/blog/archives/1638#comments</comments>
		<pubDate>Mon, 25 Jul 2011 18:16:38 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[se-linux]]></category>
		<category><![CDATA[setsebool]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=1638</guid>
		<description><![CDATA[Today I have frighted security. In 2 ways. First I had to move a mysql database from one server to another. And then still running the application on the original server. First I could not connect to the new server at all &#8211; but that was quickly found out to be a litte firewall problem. [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> Today I have frighted security. In 2 ways.</p>
<p>First I had to move a mysql database from one server to another. And then still running the application on the original server.</p>
<p><span id="more-1638"></span>First I could not connect to the new server at all &#8211; but that was quickly found out to be a litte firewall problem. And easily fixed.</p>
<p>Then I could not get in with the right password. I could connect with another user, but not the database user for the application. And this was due to the fact that there was a entry in the user table with the hostname of the old server without any user. The order that mysql checks the connection is a bit weird (full doc <a href="http://dev.mysql.com/doc/refman/5.1/en/connection-access.html" target="_blank">here</a>) but first it checks user/host and then &#8220;any user&#8221;/host, and then it checks user/&#8221;any host&#8221; so the fact that the system has a wildcard for any user from the host with another password that I expected throw me off.</p>
<p>Then I could connect from the command line with mysql, I could run my perl application without any problem. But the web-frontend did not work.</p>
<p>And it took me quite some time to figure out that it was all down to SE Linux. It will by default block the http daemon from making network connections. So even if you had php set up right and could do it from the command line (when running a php script there) it would not work from a webpage <img src='http://jan.saell.org/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>So one has to disable this &#8211; you can do it with the command (as root):</p>
<pre>setsebool -P httpd_can_network_connect=1</pre>
<p>as root and now it all works.</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/1638/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox 5 and ask to save when close and app tabs</title>
		<link>http://jan.saell.org/blog/archives/1579</link>
		<comments>http://jan.saell.org/blog/archives/1579#comments</comments>
		<pubDate>Wed, 20 Jul 2011 11:08:59 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[app tabs]]></category>
		<category><![CDATA[Close]]></category>
		<category><![CDATA[Firfox 5]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=1579</guid>
		<description><![CDATA[As I just said I have switched to Firefox 5 and is quite happy with it. But there are some small things one has to do to get it to work as I want. One thing is that it wont ask me to save all the tabs if you close it down (and I thing [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> As I just said I have switched to Firefox 5 and is quite happy with it. But there are some small things one has to do to get it to work as I want.</p>
<p><span id="more-1579"></span>One thing is that it wont ask me to save all the tabs if you close it down (and I thing it when you close it down with the x not the file-&gt;exit menu).</p>
<p>And you can get around this by fixing some settings:</p>
<ol>
<li>Type <strong>about:config</strong> into the location bar and press enter</li>
<li>Accept the warning message that appears, you will be taken to a list of preferences</li>
<li>Locate the preference <strong>browser.tabs.warnOnClose</strong>, if its value is set to <strong>false</strong>, double-click on it to change its value to <strong>true</strong></li>
<li>Repeat this for these 2 preferences <strong>browser.warnOnQuit</strong>, <strong>browser.warnOnRestart</strong></li>
<li>Also do this for <strong>browser.showQuitWarning</strong></li>
</ol>
<p>This fixed it for me and now I get the close warning as I think I should.</p>
<h2>App Tabs</h2>
<p>There is also a cool new feature called <strong>app tabs</strong>. App Tabs allow you to always keep your favorite web apps like Facebook, Gmail and Twitter open and just a click away. App Tabs are small, can&#8217;t be closed accidentally and open automatically when you start Firefox.</p>
<h4>How do I set one up?</h4>
<p>Right-click on the tab you want to turn into an App Tab and select Pin as App Tab from the menu.</p>
<h4>How are App Tabs different than normal tabs?</h4>
<ul>
<li>App Tabs are small – only showing the site&#8217;s icon, not its title – and they live on the left side of the Tab Strip</li>
<li>App Tabs don&#8217;t have a close button so you can&#8217;t accidentally close them.
<ul>
<li>You can still close them by right-clicking on them and selecting Close Tab from the menu.</li>
</ul>
</li>
<li>App Tabs notify you with a blue highlight when they change.
<ul>
<li>If you have Gmail set as an App Tab, for example, and you are using a different tab when a new email is received, your Gmail tab will glow.</li>
</ul>
</li>
<li>All of the App Tabs you have set when you close Firefox will open as App Tabs when you start Firefox again.</li>
<li>Links to other websites open in a new tab so that your App Tab doesn&#8217;t change.
<ul>
<li>Many web apps, like Facebook, already do this but an App Tab will make this happen even when the website isn&#8217;t set to do it.</li>
</ul>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/1579/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Switch to firefox 5</title>
		<link>http://jan.saell.org/blog/archives/1576</link>
		<comments>http://jan.saell.org/blog/archives/1576#comments</comments>
		<pubDate>Wed, 20 Jul 2011 10:15:45 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Firefox 5]]></category>
		<category><![CDATA[Kubuntu 10.10]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=1576</guid>
		<description><![CDATA[I&#8217;m running Firefox as my main browser. I have chrome installed and I have been using it a bit but I don’t really like it (and I have had some interesting problems with it &#8211; like can&#8217;t go to page 2 on googles own search result). And I&#8217;m also using it for development and firebug [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> I&#8217;m running Firefox as my main browser. I have chrome installed and I have been using it a bit but I don’t really like it (and I have had some interesting problems with it &#8211; like can&#8217;t go to page 2 on googles own search result). And I&#8217;m also using it for development and firebug and firephp is a necessary must for me. So I&#8217;m staying with Firefox.</p>
<p><span id="more-1576"></span>But ubuntu and kubuntu 10.10 as I&#8217;m using had the old 3.6 version of Firefox and I wanted a bit more newer one. So I found a way to upgrade it thou the ppa that the ubuntu folks are releasing.</p>
<p>Its very easy and will get a new and shiny version of Firefox installed on you system.<br />
In a terminal windows:</p>
<pre>sudo add-apt-repository ppa:mozillateam/firefox-stable
 sudo apt-get update
 sudo apt-get install firefox ubufox</pre>
<pre>This will install the new version for you.</pre>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/1576/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dont trust facebook to keep you photos safe</title>
		<link>http://jan.saell.org/blog/archives/1555</link>
		<comments>http://jan.saell.org/blog/archives/1555#comments</comments>
		<pubDate>Fri, 01 Jul 2011 06:31:26 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[open-source]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[photos]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=1555</guid>
		<description><![CDATA[If you upload photos to facebook, perhaps you should make sure you have a backup of them. In a post in my RSS feed today, there was a problem with digikams plugin that uploaded pictures to facebook.You got the error message &#8220;Facebook Call Failed: Invalid API key&#8221;. This in itself is perhapes not to bad. [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> If you upload photos to <strong>facebook</strong>, perhaps you should make sure you have a backup of them.</p>
<p>In a post in my <a href="http://www.networkworld.com/community/node/75598" target="_blank">RSS feed</a> today, there was a problem with digikams plugin that uploaded pictures to <strong>facebook</strong>.<span id="more-1555"></span>You got the error message &#8220;Facebook Call Failed: Invalid API key&#8221;. This in itself is perhapes not to bad. If <strong>facebook</strong> thinks a application is bad they can ban it from uploading. I can fully accept this and think its a god idea for security reasons.</p>
<p>But then the bad things start. Facebook &#8220;deleted&#8221; all the pictures uploaded by the app also. And as a security person I can kind of understand this. But I am sure people dont know and understand this.</p>
<p>So make sure you make a copy / backup of you photos after uploading them to <strong>facebook</strong>.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/1555/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>svn frontend for kubuntu</title>
		<link>http://jan.saell.org/blog/archives/1550</link>
		<comments>http://jan.saell.org/blog/archives/1550#comments</comments>
		<pubDate>Wed, 29 Jun 2011 10:13:28 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[kdesvn]]></category>
		<category><![CDATA[komapre]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=1550</guid>
		<description><![CDATA[I mostly uses svn from the command line, but sometimes its nice to se a graphical view of a svn tree so I installed kdesvn today. This is a nice GUI frontend to SVN. It will sho whats changed, what needs updating and diffs and so on. Nice graphical view in other words. As a [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> I mostly uses svn from the command line, but sometimes its nice to se a graphical view of a svn tree so I installed <strong>kdesvn</strong> today.</p>
<p>This is a nice GUI frontend to SVN.</p>
<p><span id="more-1550"></span>It will sho whats changed, what needs updating and diffs and so on.</p>
<p><a href="http://jan.saell.org/blog/wp-content/uploads/2011/06/kdesvn.jpeg" target="_blank"><img class="alignleft size-thumbnail wp-image-1551" title="kdesvn" src="http://jan.saell.org/blog/wp-content/uploads/2011/06/kdesvn-150x150.jpg" alt="" width="148" height="77" /></a> Nice graphical view in other words.</p>
<p>As a sidenot it will also install <strong>kompare</strong> &#8211; a nice graphical diff that shows you changes between 2 files in a side by side windows.</p>
<p>So if you are tired of running <em>svn ci </em>etc this might be a tool for you.</p>
<div id="_mcePaste" class="mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;">http://upload.congrex.com/files/CongresoPediatria2011.lay</div>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/1550/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EVE Incursion and Wine and pulseaudio</title>
		<link>http://jan.saell.org/blog/archives/1527</link>
		<comments>http://jan.saell.org/blog/archives/1527#comments</comments>
		<pubDate>Sat, 18 Jun 2011 18:20:11 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[EVE-Online]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[EVE Online]]></category>
		<category><![CDATA[Incarna]]></category>
		<category><![CDATA[Puleaudio]]></category>
		<category><![CDATA[Wine]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=1527</guid>
		<description><![CDATA[Last week has been &#8211; lets say &#8211; full of work. So after a long sleep in, in the morning, I decided to start up my old friend EVE. And I remembered that the on Tuesday the 21:th it is time for Incarna. So I read a bit about it on the forums and it [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> Last week has been &#8211; lets say &#8211; full of work. So after a long sleep in, in the morning, I decided to start up my old friend EVE. And I remembered that the on Tuesday the 21:th it is time for Incarna. So I read a bit about it on the forums and it seems that I needed to patch wine. But to be sure I started EVE on Sisi and downloaded the patch and tested.</p>
<p><span id="more-1527"></span>And yes &#8211; it would not connect.</p>
<p>So I read a bit more and found that I needed the latest wine and a patch to thie to make network working &#8211; if you dont you will get the error message:</p>
<pre>unable to connect to 87.237.38.50 on port 26000</pre>
<p>Apparently there has been some changes to the network and wine had a small bug or some flags that it did not support. And the good thing is that someone has already made the patch. You can find it on the forums <a href="http://www.eveonline.com/ingameboard.asp?a=topic&amp;threadID=1521316" target="_blank">here</a>.</p>
<p>But unfortunately for me I also need the pulseaudio enabled wine. The page about <a href="http://art.ified.ca/?page_id=40" target="_blank">WinePulse</a> describes very well how to do this and the patches to patch wine to support pulseaudio. But only for 1.3.20 version and not 1.3.22. So I needed to fiddle around abit to get it working. Not to much,</p>
<p>So here is the way to build wine 1.3.22 with pulseaudio support and suport for EVE online. Most information from <a href="http://www.eveonline.com/ingameboard.asp?a=topic&amp;threadID=1521316" target="_blank">here</a>.</p>
<p>First get the dependencies for building Wine</p>
<pre>sudo apt-get build-dep wine1.3</pre>
<p>Then remove the installed wine version</p>
<pre>sudo apt-get remove wine1.3</pre>
<p>Then install git if you dont have it installed.</p>
<pre>sudo apt-get install git</pre>
<p>So lets get a got repository to work with</p>
<p>git clone git://source.winehq.org/git/wine.git</p>
<p>Go into it and download the patched both for the network changes to get EVE working and the patches for</p>
<p>cd wine</p>
<p>Get the overlapped2.diff file</p>
<pre>wget http://pastebin.com/download.php?i=mnx3Uqq5 -O overlapped2.diff</pre>
<p>The overlapped2.diff was also a dos file so i converted it to dos and you whant to ass a last newline to it:</p>
<pre>fromdos overlapped2.diff</pre>
<pre>echo -e "\n" &gt;&gt; overlapped2.diff</pre>
<p>Or you can get my fixed one <a href="http://jan.saell.org/blog/wp-content/uploads/2011/06/overlapped2.zip">here</a> and unzip it.</p>
<p>Then download the Winepulse patched:</p>
<pre>wget http://art.ified.ca/downloads/winepulse/winepulse-0.39.patch</pre>
<pre>wget http://art.ified.ca/downloads/winepulse/winepulse-winecfg-1.3.11.patch</pre>
<p>The winepulse patch for configure.ac is not updated for 1.3.22 as of this writing so you can get it <a href="http://jan.saell.org/blog/wp-content/uploads/2011/06/winepulse-configure.ac-1.3.22.zip" target="_blank">winepulse-configure.ac-1.3.22.zip</a>. YOu need to unpack the file with unzip before you can continue.</p>
<p>Time to apply the patch files</p>
<pre>git apply overlapped2.diff</pre>
<p>And the winepulse patches</p>
<pre>git apply winepulse-0.39.patch</pre>
<pre>git apply winepulse-winecfg-1.3.11.patch</pre>
<pre>git apply winepulse-configure.ac-1.3.22.patch</pre>
<p>Now we can rebuild the configure system</p>
<pre>autoreconf</pre>
<p>And configure the build</p>
<pre>./configure</pre>
<p>And now we build the wine system &#8211; this take some time so this is a nice place for a cup of coffe</p>
<pre>make</pre>
<p>And if all is well &#8211; install it</p>
<pre>sudo make install</pre>
<p>Now you shoudl be able to run Incarna &#8211; I have tested it with sisi and i have some small graphics glitches but captains quarter works.</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/1527/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>iphone in a linux world</title>
		<link>http://jan.saell.org/blog/archives/1522</link>
		<comments>http://jan.saell.org/blog/archives/1522#comments</comments>
		<pubDate>Sun, 12 Jun 2011 16:17:32 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[iphone]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[virtualbox]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=1522</guid>
		<description><![CDATA[So for some time ago, well its now almost 4 month ago, I decided to take the jump and start using IOS on a iphone 4. My old trusty palm tungsten was getting on the old side and it was time for something new. SO this series I start here will be a not of [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> So for some time ago, well its now almost 4 month ago, I decided to take the jump and start using IOS on a iphone 4. My old trusty palm tungsten was getting on the old side and it was time for something new. SO this series I start here will be a not of how to get it working on Linux and then the top applications I found necessary for me and my work.<span id="more-1522"></span>So I took the jump.</p>
<p>So &#8211; can you use the iphone if you are running linux as you os. Well I would say YES and NO.</p>
<p>The NO part is that you cant run, sync, well heck &#8211; even start it, without a windows (or mac) os and itunes.</p>
<p>The YES part is that there are ways around that.</p>
<p>So how did I get it working.</p>
<p>Well the easy way of answering this is that I did fold and got itunes running in my virtualbox virtual machine, and that is working will. Perhaps a bit of cheating, but I have no inclination to jailbreak the phone and the notes out there telling how you can do it did not work for me. So I took the ease way</p>
<h2>Virtualbox</h2>
<p>To use the iphone with virtualbox you just have to download and install Virtualbox from the repository.</p>
<p>Start by opening a treminal window</p>
<pre>sudo add-apt-repository "deb http://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib"</pre>
<p>Then add the key</p>
<pre>wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -</pre>
<p>Do an update</p>
<pre>sudo apt-get update</pre>
<p>And the install it</p>
<pre>sudo apt-get install virtualbox-4.0</pre>
<p>And you are done</p>
<p>Now you can create a vritual machiine, install a windows version and then install itunes in that.</p>
<h2>Note.</h2>
<p>The only thing that might be worth mentioning is that you have to be a bit aware about os upgrades of the phone. When it does this it will change the use somewhat so the connection to the virtual box  machine will be lost, and you have to connect it again (Menu-&gt;Device-&gt;USB-Devices-Iphone XXX) and it will continue. I missed this one time and the upgrade was aborted and i had to restore a backup. But as long as you are alert there and reconnect it, it works perfectly.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/1522/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing google earth in kubuntu 10.10</title>
		<link>http://jan.saell.org/blog/archives/1517</link>
		<comments>http://jan.saell.org/blog/archives/1517#comments</comments>
		<pubDate>Fri, 10 Jun 2011 15:03:59 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=1517</guid>
		<description><![CDATA[Yesterday I was going to look at google earth to check a thing, and found out that I had not installed it since i moved up to the new version of kubuntu. So I went into the system and did a apt-get install googleearth. That did not work. Did some extra checks and found that [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> Yesterday I was going to look at google earth to check a thing, and found out that I had not installed it since i moved up to the new version of kubuntu.</p>
<p>So I went into the system and did a apt-get install googleearth. That did not work. Did some extra checks and found that I did not have it in the repositories.</p>
<p><span id="more-1517"></span>So i checked a bit more and found that there is a package called &#8216;<strong>googleearth-package</strong>&#8216;. That will help you make a deb file so that you can install it.</p>
<p>Well it was not that easy.</p>
<p>First you need to get the <strong>i32-libs</strong> if you are on a 64 bits system</p>
<pre>sudo apt-get install ia32-libs</pre>
<p>Then you need the <strong>lsb-core</strong> package to get the standard linux system base</p>
<pre>sudo apt-get install lsb-core</pre>
<p>And then you probably want the <strong>gdebi</strong> package to install it with that will install dependencies also.</p>
<pre>sudo apt-get install gdebi-core</pre>
<p>So now its time to install the google earth build package</p>
<pre>sudo apt-get install googleearth-package</pre>
<p>And then you can build you google earth package with</p>
<pre>sudo make-googleearth-package --force</pre>
<p>If you now do a ls in that directory you can see that you have a .deb file. In my case <strong>googleearth_6.0.3.2197+0.5.7-1_amd64.deb</strong>.</p>
<p>So you can now install that with gdebi</p>
<pre>sudo gdebi googleearth_6.0.3.2197+0.5.7-1_amd64.deb</pre>
<p>And now you should be able to run google earth.</p>
<p>If you like me had an old installation and want to transfer over that, copy the <em>.googleearth</em> directory before you start google earth</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/1517/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>kopete and videochat</title>
		<link>http://jan.saell.org/blog/archives/1496</link>
		<comments>http://jan.saell.org/blog/archives/1496#comments</comments>
		<pubDate>Fri, 03 Jun 2011 08:48:32 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=1496</guid>
		<description><![CDATA[I was chatting with a friend on yahoo yesterday and we started to talk about vidochat. Kopete should support it. So I tried to get it working. But it failed. So I spend some time with mister google. When trying to start videochat it tells me &#8220;Jasper image conversion program not found. jasper is required [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> I was chatting with a friend on yahoo yesterday and we started to talk about vidochat. Kopete should support it. So I tried to get it working.</p>
<p>But it failed. So I spend some time with mister google.</p>
<p><span id="more-1496"></span>When trying to start videochat it tells me &#8220;Jasper image conversion program not found. jasper is required to render the Yahoo webcam images.&#8221;</p>
<p>So you have to go to http://www.ece.uvic.ca/~mdadams/jasper/#download and donload the source code.</p>
<p>Then unzip it.</p>
<pre>unzip -x jasper-1.900.1.zip</pre>
<p>Go into the directory with the source code</p>
<pre>cd jasper-1.900.1/</pre>
<p>run the configure script</p>
<pre>./configure</pre>
<p>then build the program</p>
<pre>make</pre>
<p>and install it</p>
<pre>sudo make install</pre>
<p>Now the webcam invire for yahoo should work</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/1496/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installed umplayer</title>
		<link>http://jan.saell.org/blog/archives/1493</link>
		<comments>http://jan.saell.org/blog/archives/1493#comments</comments>
		<pubDate>Thu, 02 Jun 2011 15:03:46 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=1493</guid>
		<description><![CDATA[Most of the time I have been using mplayer or the gnome version of it. Today i found a nice new player, also based on mplayer, but it seems to have some nice features. Its called UMPlayer. It has some really nice feature. First of all it can search youtube and play videos from there [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> Most of the time I have been using mplayer or the gnome version of it.</p>
<p>Today i found a nice new player, also based on mplayer, but it seems to have some nice features. Its called UMPlayer.</p>
<p><span id="more-1493"></span>It has some really nice feature.</p>
<p>First of all it can search youtube and play videos from there directly, as well as record them and store them on disk for you. And you can set you preferred quality in the preferences so you don’t have to choose every time.</p>
<p>Then its has a very nice interface, with themes and it handled full screen play better (I think) than mplayer.</p>
<p>So im very happy with it.</p>
<p>To install it, if you like me have 10.10 of Ubuntu/Kubuntu, you do the following:</p>
<pre>sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install umplayer
</pre>
<p>If you are running the latest version its in the repository already.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/1493/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fist victim in Skype/Microsoft take over</title>
		<link>http://jan.saell.org/blog/archives/1490</link>
		<comments>http://jan.saell.org/blog/archives/1490#comments</comments>
		<pubDate>Fri, 27 May 2011 09:20:15 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[open-source]]></category>
		<category><![CDATA[asterisk]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[skype]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=1490</guid>
		<description><![CDATA[Well there has been a lot of discussion about Microsoft take over of Skype. Will it end the Linux part of skype, and wjat will it do for the Open Source world that isn&#8217;t running windows. Well in the rss feed today was a story about Skype for Asterisk. I have not used it myself [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> Well there has been a lot of discussion about Microsoft take over of Skype. Will it end the Linux part of skype, and wjat will it do for the Open Source world that isn&#8217;t running windows.</p>
<p>Well in the <a href="http://slashdot.org/story/11/05/24/2010222/Microsoft-Kills-Skype-For-Asterisk" target="_blank">rss feed</a> today was a story about <a href="http://slashdot.org/story/11/05/24/2010222/Microsoft-Kills-Skype-For-Asterisk" target="_blank">Skype for Asterisk.</a> I have not used it myself but I did know it was there, and it was a nice feature that we have discussed to include in our pbx, but not come around to do it.</p>
<p><span id="more-1490"></span>But now it seems that its a no go for that. Yes you can by it and install it before the 26:th of july.</p>
<p>So it might be the first victim of the Microsoft take over.</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/1490/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TermKit &#8211; new terminal windows?</title>
		<link>http://jan.saell.org/blog/archives/1488</link>
		<comments>http://jan.saell.org/blog/archives/1488#comments</comments>
		<pubDate>Mon, 23 May 2011 10:25:24 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[open-source]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=1488</guid>
		<description><![CDATA[Found this in my RSS reader today. &#8220;TermKit is a re-think of the storied Unix terminal, where human views, input and data pipes are separated. Output viewers render any kind of data usefully. It may not be a new idea, but it&#8217;s certainly a new take on it.&#8221; A wounderfull new take on the old [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> Found this in my RSS reader today.</p>
<p><!-- p, li { white-space: pre-wrap; } -->&#8220;<a href="http://acko.net/blog/on-termkit" target="_blank">TermKit</a> is a re-think of the storied Unix terminal, where human views, input and data pipes are separated. Output viewers render any kind of data usefully. It may not be a new idea, but it&#8217;s certainly a new take on it.&#8221;</p>
<p>A wounderfull new take on the old terminalwindow &#8211; perhapes</p>
<p>﻿﻿﻿﻿</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/1488/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Turn off higligting search result in vi/vim</title>
		<link>http://jan.saell.org/blog/archives/1484</link>
		<comments>http://jan.saell.org/blog/archives/1484#comments</comments>
		<pubDate>Fri, 20 May 2011 09:11:30 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=1484</guid>
		<description><![CDATA[As a old Unix/Linux programmer I spend a lot of time in vi. Or vim nowadays. And i like the way it highlights search result. But when I have done what I need with the search i what it to go away. And you can do that, but it took me some manual reading to [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> As a old Unix/Linux programmer I spend a lot of time in vi. Or vim nowadays. And i like the way it highlights search result.</p>
<p>But when I have done what I need with the search i what it to go away.</p>
<p><span id="more-1484"></span>And you can do that, but it took me some manual reading to find it so I thought of chairing that to all.</p>
<p>The command you want to use is <strong><em>nohl</em></strong> (No Highlight). So you press :nohl and it goes away &#8211; simpel &#8211; when you know it.</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/1484/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Having fun with thunderbird</title>
		<link>http://jan.saell.org/blog/archives/1466</link>
		<comments>http://jan.saell.org/blog/archives/1466#comments</comments>
		<pubDate>Fri, 13 May 2011 09:36:20 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=1466</guid>
		<description><![CDATA[I was having a bit of a problem today. I could not login ot a test account I had and i know I had the login information in one mail somewhere. Problem was that I did not know in what mail, and not even exactly when. So i was going to search. But in this [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> I was having a bit of a problem today. I could not login ot a test account I had and i know I had the login information in one mail somewhere.</p>
<p>Problem was that I did not know in what mail, and not even exactly when. So i was going to search.</p>
<p><span id="more-1466"></span>But in this new version of thunderbird I could not select Body as a field to search in.</p>
<p>Until i found out that you you have to click in &#8220;Run search on Server&#8221; in the top of the search windows.</p>
<p>Took some time to found that.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/1466/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Patch problem in Startrek Online</title>
		<link>http://jan.saell.org/blog/archives/1428</link>
		<comments>http://jan.saell.org/blog/archives/1428#comments</comments>
		<pubDate>Sat, 26 Feb 2011 18:22:17 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Startrek Online]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=1428</guid>
		<description><![CDATA[I am playing Startrek Online some time. most of the time I have to relax, im playing EVE and EVE is my &#8220;main love&#8221; as games, but I love StarTrek so I&#8217;m playing StarTrek Online a bit also. But I was almost to the point where I would end my subscription. It started some weeks [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> I am playing Startrek Online some time. most of the time I have to relax, im playing EVE and EVE is my &#8220;main love&#8221; as games, but I love StarTrek so I&#8217;m playing StarTrek Online a bit also. But I was almost to the point where I would end my subscription. It started some weeks ago when the new episode started releasing. I had patch problem. And I was not alone in this.</p>
<p><span id="more-1428"></span>First of all I had a problem with the launcher &#8211; sometimes I got the message about invalid certificates. And the download stops until you press OK. Anoying but of the download is quick enough its ok. I can live with this. BUt then the download started to get disconnected from the server, or just hanged. And I could end the download, restart and it would download the same X mb again. Over and Over again. Sometimes it managed to get a bit further on its way, but most of the time it was just doing the same thing over and over again.</p>
<p>I searched the forums, checked and open firewall ports, tested networks to no luck. But today I found out something.</p>
<p>I discovered that I had 127 GB of downloaded temporary internet files in the IE temp directory. I cleaned out this and the patch when like a rocket &#8211; hanged a couple of times but manage to download and patch all in a very short time.</p>
<p>In wine the directory you should look at is:<br />
$HOME//.wine/drive_c/windows/profiles/$USER/Local Settings/Temporary Internet Files/Content.IE5</p>
<p>I cleaned out that directory and the directories in there (rm -rf * works but be carefull)</p>
<p>Perhaps something simelar helps in windows &#8211; but again &#8211; im a linux guy and dont have a windows system to test on.</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/1428/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>kmix problems</title>
		<link>http://jan.saell.org/blog/archives/1418</link>
		<comments>http://jan.saell.org/blog/archives/1418#comments</comments>
		<pubDate>Tue, 01 Feb 2011 08:23:01 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=1418</guid>
		<description><![CDATA[As I mentioned before, Kubuntu 10.10 is using pulseaudio as default. I am very happy with this and its working great. Bet the last few days it has been having a problem. The kmix application is using 100% CPU. As I have multiple cores its not that noticeable but it is annoying. I did some [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> As I mentioned before, Kubuntu 10.10 is using pulseaudio as default. I am very happy with this and its working great. Bet the last few days it has been having a problem. The <strong>kmix</strong> application is using 100% CPU. As I have multiple cores its not that noticeable but it is annoying.</p>
<p><span id="more-1418"></span>I did some googeling over the past days and there are problems reported with kmix and pulseaudion, and I am a bit confused that they say that kmix and pulseaudio is not an issue as its not supporting pulseaudio. As I remember there was notes in kubuntu about fixes to kmix to handle pulseaudio better.</p>
<p>Well any way. I have now stopped kmix, with kill -9 #, and started up old pavucontrol instead as this seems to solve the cpu problem.</p>
<p>The only problem now is that kmix apparently was the process that took care of talking to my machine and the sound button on-top of the keyboard. But i can live with that.</p>
<h3>Update</h3>
<p>Had to do a bit more. The kde started up kmix by default any-time I logged in, so you have to go into system setting, &#8220;Startup and Shutdown&#8221; and then &#8220;Session settings&#8221; and add kmix as a application to be excluded from sessions and then it wont start up:</p>
<p><a href="http://jan.saell.org/blog/wp-content/uploads/2011/02/kmix.jpeg" target="_blank"><img class="alignnone size-thumbnail wp-image-1422" title="kmix" src="http://jan.saell.org/blog/wp-content/uploads/2011/02/kmix-150x150.jpg" alt="" width="150" height="150" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/1418/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nyttt spel på väg</title>
		<link>http://jan.saell.org/blog/archives/1395</link>
		<comments>http://jan.saell.org/blog/archives/1395#comments</comments>
		<pubDate>Thu, 06 Jan 2011 09:53:17 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=1395</guid>
		<description><![CDATA[Alla som känner mej vet ju om att jag gillar spel. Och jag spelar EVE Online sedan länge. Och nu har jag även spelat lite StarTrek online, dels för att jag gillar StarTrek och lite för att se var det är. Och det är ganska mycket skillnad från EVE och framför allt så skiljer sig [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-11" title="Svenska" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/se.png" alt="" width="18" height="14" /> Alla som känner mej vet ju om att jag gillar spel. Och jag spelar EVE Online sedan länge. Och nu har jag även spelat lite StarTrek online, dels för att jag gillar StarTrek och lite för att se var det är. Och det är ganska mycket skillnad från EVE och framför allt så skiljer sig tillverkningen  mycket. Alla saker som har med marknaden är mycket utvecklade i EVE eftersom allt görs av spelarna, men i StarTrek är mycket skapat av spelet så man har inte så mycket hjälp när man ska sälja saker.<span id="more-1395"></span></p>
<p>Men hur som helst &#8211; det var inte detta som jag skulle skriva om idag. Det kommer snart ut ett nytt RTS spel. OilRush och detta är interesant för flera anledningar.</p>
<p>1. Det är ett riktigt cross-platform så det kommer att komma i både Windows och Linux samtidigt.</p>
<p>2. Det ser riktigt snyggt ut.</p>
<p>Dom har just släppt en 12 minuter video och jag kan rekommendera att titta på den.</p>
<p>Gärna i full screen mode <img src='http://jan.saell.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="560" height="340" 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://www.youtube.com/v/Ps7uitdSHjM?fs=1&amp;hl=en_GB&amp;rel=0&amp;hd=1&amp;color1=0x3a3a3a&amp;color2=0x999999" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="560" height="340" src="http://www.youtube.com/v/Ps7uitdSHjM?fs=1&amp;hl=en_GB&amp;rel=0&amp;hd=1&amp;color1=0x3a3a3a&amp;color2=0x999999" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/1395/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Non window tablet tax?</title>
		<link>http://jan.saell.org/blog/archives/1390</link>
		<comments>http://jan.saell.org/blog/archives/1390#comments</comments>
		<pubDate>Wed, 29 Dec 2010 05:46:08 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[open-source]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=1390</guid>
		<description><![CDATA[Apparently there are some work going on in France to put up taxes on tablet PC. Well this might not be that strange, as we have seen taxes on blank CD&#8217;s and on cassette tapes. But now the politisians are going over the deep end I think. The will exclude tablet PC&#8217;s that runs Windows. [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" title="English" width="18" height="14" /> Apparently there are some work going on in France to put up taxes on tablet PC. Well this might not be that strange, as we have seen taxes on blank CD&#8217;s and on cassette tapes. But now the politisians are going over the deep end I think. The will exclude tablet PC&#8217;s that runs Windows. Because then its obviously a computer.</p>
<p><span id="more-1390"></span>
<p>I came across this when reading my rss feed this morning and its from <a href="http://apple.slashdot.org/story/10/12/28/1932251/France-Planing-Non-Windows-Tablet-Tax" title="Slashdit" target="_blank">slashdot</a>. What can we do to stop this stupidity. I might not like Apple and their locking to itunes for the iphone and ipad, but its definitely a different thing is one make &quot;windows&quot; a real os and the rest not.</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/1390/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upg. to kubuntu 10.10 &#8211; Install Kopete</title>
		<link>http://jan.saell.org/blog/archives/1384</link>
		<comments>http://jan.saell.org/blog/archives/1384#comments</comments>
		<pubDate>Tue, 21 Dec 2010 06:48:56 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/archives/1384</guid>
		<description><![CDATA[As I said in my post earlier I have upgraded to Kubuntu 10.10 from 9.10. As I&#8217;m running kde that means that the messenger system you are using is kopete. Installing that is easy but moving over the config files is a bit more hassle as its a bit spread out and its also using [...]]]></description>
			<content:encoded><![CDATA[<p><img title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> As I said in my post earlier I have upgraded to Kubuntu 10.10 from 9.10.  As I&#8217;m running kde that means that the messenger system you are using is kopete. Installing that is easy but moving over the config files is a bit more hassle as its a bit spread out and its also using kwallet to store some information.</p>
<p><span id="more-1384"></span></p>
<p>As this means copying over the config files for kwallet, this is one ting that needs to be done before you use kwallet for something else.</p>
<p>So after installing, if you did not get it installed by default, you need to copy over the files.</p>
<p><code>(cd ../CD/jan_old; tar cf - .kde/share/apps/kopete)|tar xvf -</code></p>
<p><code>(cd ../CD/jan_old; tar cf - .kde/share/apps/kwallet)|tar xvf -</code></p>
<p><code>(cd ../CD/jan_old; tar cf - .kde/share/config/kopete*)|tar xvf -</code></p>
<p>And now you can start up kopete and it should connect to your im accounts.</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/1384/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upg. to kubuntu 10.10 &#8211; Install arial font</title>
		<link>http://jan.saell.org/blog/archives/1379</link>
		<comments>http://jan.saell.org/blog/archives/1379#comments</comments>
		<pubDate>Mon, 20 Dec 2010 06:53:24 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=1379</guid>
		<description><![CDATA[As I said in my post earlier I have upgraded to Kubuntu 10.10 from 9.10. I use Openoffice quite a lot to write documents and so, and as I&#8217;m quite often sharing documents with windows users, I do use Arial as a standard font. Somewhere during my transition, it went away. I am pretty sure [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" title="English" width="18" height="14" />As I said in my post earlier I have upgraded to Kubuntu 10.10 from 9.10. I use Openoffice quite a lot to write documents and so, and as I&#8217;m quite often sharing documents with windows users, I do use Arial as a standard font. Somewhere during my transition, it went away.</p>
<p><span id="more-1379"></span>
<p>I am pretty sure I did have it when first installing 10.10, but after some time it did go away. And what was happening is that the new Ubuntu fonts, kind of replaced them and to get them back you need to accept the copyright/restriction or something.</p>
<p>So what you need to do is to run (from the command line)</p>
<p><code>sudo apt-get install --reinstall msttcorefonts</code></p>
</p>
<p>This will popup and acept page that you can say yes to so it will get installed. If you don&#8217;t have that installed you might need to run</p>
</p>
<p><code>sudo apt-get install ttf-mscorefonts-installer</code></p>
</p>
<p>to get it installed.</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/1379/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upg. to kubuntu 10.10 &#8211; Install pulseaudio extras</title>
		<link>http://jan.saell.org/blog/archives/1377</link>
		<comments>http://jan.saell.org/blog/archives/1377#comments</comments>
		<pubDate>Sun, 19 Dec 2010 06:50:50 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=1377</guid>
		<description><![CDATA[As I said in my post earlier I have upgraded to Kubuntu 10.10 from 9.10. In 10.10 the pulseaudio system is more integrated in all applications and is quite good &#8211; in my opinion, but that also means that some of the &#8220;old&#8221; programs are not installed. Some of the old pulseaudio volume control can [...]]]></description>
			<content:encoded><![CDATA[<p><img title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> As I said in my post earlier I have upgraded to Kubuntu 10.10 from 9.10. In 10.10 the <strong>pulseaudio</strong> system is more integrated in all applications and is quite good &#8211; in my opinion, but that also means that some of the &#8220;old&#8221; programs are not installed.</p>
<p><span id="more-1377"></span></p>
<p>Some of the old pulseaudio volume control can be done with the <strong>kmixer</strong> application (like moving sound to different sinks) but to config <strong>pulseaudio</strong> to use rtp sink (and I&#8217;m using that to recored audiobooks) you need the <strong>padevchooser</strong> program (or specifically the <strong>pepref</strong> program.</p>
<p>So you need to install some more pulseaudio extra programs.</p>
<p><code>sudo apt-get install pavucontrol</code></p>
<p><code>sudo apt-get install paman</code></p>
<p dir="ltr">This will install the pulseaudio volume controll and paman that will install all the pulseaudio manager programs (like papref and padevchooser).</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/1377/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upg. to kubuntu 10.10 &#8211; Install knotes</title>
		<link>http://jan.saell.org/blog/archives/1355</link>
		<comments>http://jan.saell.org/blog/archives/1355#comments</comments>
		<pubDate>Fri, 10 Dec 2010 08:15:56 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=1355</guid>
		<description><![CDATA[As I said in my post earlier I have upgraded to Kubuntu 10.10 from 9.10. One of the small applications that I&#8217;m am using quite a lot is knote. This is a small applications that allows me to put up notes on the screen for small notes of what to to, don&#8217;t forget and so [...]]]></description>
			<content:encoded><![CDATA[<p><img title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> As I said in my post earlier I have upgraded to Kubuntu 10.10 from 9.10. One of the small applications that I&#8217;m am using quite a lot is <strong><em>knote</em></strong>. This is a small applications that allows me to put up notes on the screen for small notes of what to to, don&#8217;t forget and so on.</p>
<p><span id="more-1355"></span></p>
<p>To install this you do:</p>
<p><code>sudo apt-get install knotes</code></p>
<p>And then you have to copy over the config files. The config files are in 2 places, .kde/share/apps/knotes and .kde/share/config/knotesrc so you need to copy both.</p>
<p><code>(cd ../jan_old; tar cf - .kde/share/apps/knotes .kde/share/config/knotesrc)|tar xvf -</code></p>
<p dir="ltr">All done!</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/1355/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upg. to kubuntu 10.10 &#8211; Install thunderbird</title>
		<link>http://jan.saell.org/blog/archives/1353</link>
		<comments>http://jan.saell.org/blog/archives/1353#comments</comments>
		<pubDate>Thu, 09 Dec 2010 17:56:53 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=1353</guid>
		<description><![CDATA[As I said in my post earlier I have upgraded to Kubuntu 10.10 from 9.10. After getting my browser to work, next thing was to get my mail up and running again. This means installing Thunderbird. Installing it is easy, just use install it using apt-get as usual. As im also using enigmail plugin (gpg [...]]]></description>
			<content:encoded><![CDATA[<p><img title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> As I said in my post earlier I have upgraded to Kubuntu 10.10 from 9.10. After getting my browser to work, next thing was to get my mail up and running again. This means installing Thunderbird.</p>
<p><span id="more-1353"></span></p>
<p>Installing it is easy, just use install it using apt-get as usual. As im also using <strong><em>enigmail</em></strong> plugin (gpg encryption) I also needed to install kgpg package.</p>
<p><code>sudo apt-get install thunderbird<br />
sudo apt-get install kgpg</code></p>
<h2>Moving config files over</h2>
<p>This was a bit more tricky, when moving from kubuntu 9.10 to 10.10 you also go up from thunderbird 2 to 3 and this means that the config files have moved. In the old system it was in <em>.mozilla-thunderbird</em> and now its in <em>.thunderbird</em>. So it has to be move. I also moved over .gnupg directory:</p>
<p><code>mv ../CD/jan_old/.gnupg .<br />
(cd ../CD/jan_old; tar cf - .mozilla-thunderbird)|tar xvf -<br />
mv .mozilla-thunderbird .thunderbird</code></p>
<p dir="ltr">Now you can start Thunderbird.</p>
<p dir="ltr">I had 2 different plugins for Thunderbird, <strong><em>enigmail</em></strong> and <strong><em>lightning</em></strong> and none of my old ones was compatible with my new install so that thunderbird removed them, no problem.</p>
<h2 dir="ltr">Reinstall of enigmail</h2>
<p dir="ltr">Well i then went on to install <strong><em>enigmail</em></strong> plugin. Over to the plugin directory, and then download the plugin. And it did not work. Not compatible with my OS. I&#8217;m running 64 bits and apparently for some reason thats not available.</p>
<p dir="ltr">So I went over to the plugin home (<a href="http://enigmail.mozdev.org/" target="_blank">http://enigmail.mozdev.org/</a>) page and then to the download page.</p>
<p dir="ltr">There you can download ir for different OS so I selected <strong><em>Linux (x86_64</em></strong>) and <strong><em>Thunderbird 3.1</em></strong>.</p>
<p dir="ltr">Then left clikc on the link and save the link to /tmp.</p>
<p dir="ltr">Open up <strong><em>Tools</em></strong>-&gt;<strong><em>Add Ons</em></strong> and Click on the <strong><em>Install</em></strong> button and select the file you just saved. Then you will have <strong><em>enigmail</em></strong> installed.</p>
<h2 dir="ltr">Reinstall of lightning</h2>
<p dir="ltr">The <strong><em>lightning</em></strong> plugin for Thunderbird gives access to calendar functionality and can sync with Google calendar and other calendars. And it has the same problem. Installing the plugin from the add-on list will install the wrong version so you have to download it manually and install it.</p>
<p dir="ltr">Go to <a href="http://releases.mozilla.org/pub/mozilla.org/calendar/lightning/releases/1.0b2/contrib/linux-x86_64/" target="_blank">http://releases.mozilla.org/pub/mozilla.org/calendar/lightning/releases/1.0b2/contrib/linux-x86_64/</a> and download the <strong><em>lightning.xpi</em></strong> file. If you like me also want to use google calendar integration download the <strong><em>gdata-provider.xpi</em></strong> also.</p>
<p dir="ltr">Now you should have a working mail-system.</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/1353/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upg. to kubuntu 10.10 &#8211; Add a second disk</title>
		<link>http://jan.saell.org/blog/archives/1332</link>
		<comments>http://jan.saell.org/blog/archives/1332#comments</comments>
		<pubDate>Sun, 05 Dec 2010 10:49:06 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=1332</guid>
		<description><![CDATA[As I said in my post earlier I have upgraded to Kubuntu 10.10 from 9.10. One of the first thing I needed to do was to add my second disk. The laptop I have has 2 500 GB disk and the second one was not installed/used during the install. So I need to add that [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> As I said in my post earlier I have upgraded to Kubuntu 10.10 from 9.10. One of the first thing I needed to do was to add my second disk. The laptop I have has 2 500 GB disk and the second one was not installed/used during the install. So I need to add that one.</p>
<p><span id="more-1332"></span>There are 2 ways of doing this. You can install and run the <em><strong>gparted</strong></em> graphical program, or you can use the command line.</p>
<p>First thing to do is locating you new disk. if you dont know what name it has you can run the command:</p>
<pre>sudo lshw -C disk</pre>
<p>This will produce a list of disk in you system and show the names:</p>
<pre>*-disk:1 description: ATA Disk
 product: ST9500420AS
 vendor: Seagate
 physical id: 0.0.0
 bus info: scsi@4:0.0.0
 logical name: /dev/sdb
 version: 0006
 serial: 5VJ5CHWC
 size: 465GiB (500GB)
 capabilities: partitioned partitioned:dos
 configuration: ansiversion=5 signature=1eafd418</pre>
<p>The <em><strong>Logical name</strong></em> is what you need for the following parts.</p>
<h2>Gparted</h2>
<p>if you want to do the work you can use gparted. If you havent installed this you probably need to install it with:</p>
<pre>sudo apt-get install gparted</pre>
<p>This will install it and some libraries with it.</p>
<p>There is some things to mentione with this. If you start it from the menu system (application-&gt;settings-&gt;gparted)  it will ask for a password, and it is the root password. By default kubuntu system will not set a usable root password and you will not be able to use it. You can run it from the command line (sudo gparted) or you can set a password for root.</p>
<pre>sudo passwd root</pre>
<p>But remember &#8211; do not ever login as root. just use sudo.</p>
<p>When you then start up <em><strong>gparted</strong></em> you will see:</p>
<p><a href="http://jan.saell.org/blog/wp-content/uploads/2010/12/gparted01.jpeg" target="_blank"><img class="alignnone size-thumbnail wp-image-1336" title="gparted01" src="http://jan.saell.org/blog/wp-content/uploads/2010/12/gparted01-150x150.jpg" alt="" width="236" height="150" /></a></p>
<p>In the top-right corner of the window, choose your new hard drive from the drop-down list, referring back to the &#8220;logical name&#8221; from earlier. The window should refresh and show you a representation of the new drive.</p>
<p>if you &#8211; like me &#8211; have a dos file system on you you probably want to remove it first, by clicking on the bad representing the dos file system, and select delete.</p>
<p>Then you can start and create the new filesystem:</p>
<ol>
<li>Right-click on the white bar and choose &#8220;New.&#8221;</li>
<li>For &#8220;New Size&#8221; the number should be the maximum allowable, to fill the entire disk.</li>
<li>Choose &#8220;Primary Partition&#8221;</li>
<li>Now select a filesystem. Use &#8220;ext4&#8243; for kubuntu.</li>
<li>Now click Add to compute the partition. The graphical display should update to show a new partition covering the entire disk.</li>
<li>To finish, click &#8220;Apply,&#8221; or Edit &gt; Apply. The disk will then be partitioned and formatted.</li>
</ol>
<p>You may now close gparted.</p>
<p>Making filesystem from command line.</p>
<p>First use fdisk to delete the old filesystem and create a new partition:</p>
<pre>sudo fdisk /dev/sdb

...

Command (m for help): d
Selected partition 1
Command (m for help): n
Command action
e   extended
p   primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-60801, default 1):
Using default value 1
Last cylinder, +cylinders or +size{K,M,G} (1-60801, default 60801):
Using default value 60801
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.</pre>
<p>Now the partition is created. You now need to use the mkfs command to create the filesystem:</p>
<pre>sudo mkfs.ext4 -L /CD/ /dev/sdb1</pre>
<p>The /CD/ is where you want to mount the drive</p>
<h2>Mount the filesystem</h2>
<p>Now we need to make a mountpoint and edit fstab so that the system will mount the drive automatically on boot.</p>
<p>First create the dirctory:</p>
<pre>sudo mkdir /CD</pre>
<p>The set the ownership to <em><strong>plugdev</strong></em> group, those who are meant to be able to mount removable disks, desktop users.</p>
<pre>sudo chgrp plugdev /media/mynewdrive
sudo chmod g+w /media/mynewdrive
sudo chmod +t /media/mynewdrive</pre>
<p>Now we need to edit the <em><strong>/etc/fstab</strong></em> file</p>
<p>Fire up your favourite editor:</p>
<p><!-- p { margin-bottom: 0.08in; } --></p>
<pre>sudo vi /etc/fstab</pre>
<p>And add a line:</p>
<pre>/dev/sdb1       /CD     auto    defaults        0       2</pre>
<p>and then save it.</p>
<p>You can now test it by using the mount command:</p>
<pre>sudo mount -a</pre>
<p>And the new drive should be mounted.</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/1332/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upg. to kubuntu 10.10 &#8211; Screen edges</title>
		<link>http://jan.saell.org/blog/archives/1309</link>
		<comments>http://jan.saell.org/blog/archives/1309#comments</comments>
		<pubDate>Mon, 29 Nov 2010 10:00:24 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=1309</guid>
		<description><![CDATA[As I said in my post erlier I have upgraded to Kubuntu 10.10 from 9.10. And one thing that was driving me crazy was the fact that when moving a windows up to the top left corner &#8211; a think I usually do as I&#8217;m having 4 virtual desktops for different things going on &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> As I said in my post erlier I have upgraded to Kubuntu 10.10 from 9.10. And one thing that was driving me crazy was the fact that when moving a windows up to the top left corner &#8211; a think I usually do as I&#8217;m having 4 virtual desktops for different things going on &#8211; make the system think I what to make it full screen. NO I DON’T.</p>
<p><span id="more-1309"></span>But there is a way to remove that.</p>
<p>Go in to <em><strong>System settings</strong></em> -&gt; <em><strong>Window Behaviour</strong></em> (Under Workspace Appearance and Behaviour) -&gt; <em><strong>Screen Edges</strong></em>.</p>
<p>There you have a Click Box with &#8220;Maximize windows by dragging them to the top of the screen&#8221; and this is clicked in by default. Unclick that and the system works as I want it.</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/1309/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upg. to kubuntu 10.10 &#8211; Weeks starts at mondays</title>
		<link>http://jan.saell.org/blog/archives/1307</link>
		<comments>http://jan.saell.org/blog/archives/1307#comments</comments>
		<pubDate>Sun, 28 Nov 2010 12:38:08 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=1307</guid>
		<description><![CDATA[As I said in my post earlier I have upgraded to Kubuntu 10.10 from 9.10. When I did the install i thought I did set Swedish as the default except for languages. I hate to have commands replying back in Swedish and so, but I still prefer things to be in Swedish, like money and [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> As I said in my post earlier I have upgraded to Kubuntu 10.10 from 9.10. When I did the install i thought I did set Swedish as the default except for languages. I hate to have commands replying back in Swedish and so, but I still prefer things to be in Swedish, like money and date format and so on. But apparently I missed something.</p>
<p><span id="more-1307"></span>The little applet that sits down at the right side of the task-bar and show the date and time, has a nice pop-up calendar if you click on it. But it showed weeks to start on Sundays, not on Monday as we do it in Sweden. So after some looking i found where the settings where.</p>
<p>Start up <em><strong>System Setting</strong></em> -&gt;    <em><strong>Locale</strong></em> -&gt;  <em><strong>TimeAndDate</strong></em> -&gt;  <em><strong>First day of week</strong></em> and change that to Monday.</p>
<p>Logout and in again and it works as it should.</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/1307/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Upg. to kubuntu 10.10 &#8211; NVidia driver</title>
		<link>http://jan.saell.org/blog/archives/1305</link>
		<comments>http://jan.saell.org/blog/archives/1305#comments</comments>
		<pubDate>Fri, 26 Nov 2010 15:25:45 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=1305</guid>
		<description><![CDATA[As I said in my post erlier I have upgraded to Kubuntu 10.10 from 9.10. And now This post will be ablut getting the Propriatary nvidia driver to work. This is a nust if you whant to get Desktop effects, and wine and graphical games to work.To avoid problems with distribution and so, by default [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> As I said in my post erlier I have upgraded to Kubuntu 10.10 from 9.10. And now This post will be ablut getting the Propriatary nvidia driver to work. This is a nust if you whant to get Desktop effects, and wine and graphical games to work.<span id="more-1305"></span>To avoid problems with distribution and so, by default its not enabled. But its easy to do.</p>
<p>You start up <strong>System Settings</strong> -&gt; Additional Drivers -&gt; Enable NVidia.</p>
<p>This will download and install latest version of the driver from NVidia. Then you only need to reboot the system and now you can use all the fancy graphical games and desktop effects and so on.</p>
<h2>Install glxgears</h2>
<p>A nice tool for testing you graphical card and driver is the program glxgears. This will show a small windows with 3d gears rotating and on the command line you will see a dump of the FPS rate as its running.</p>
<p>Install it with:</p>
<pre>sudo apt-get install mesa-utils</pre>
<p>And then you can run it with just <em><strong>glxgears</strong></em>.</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/1305/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Upgrade to Kubuntu 10.10</title>
		<link>http://jan.saell.org/blog/archives/1297</link>
		<comments>http://jan.saell.org/blog/archives/1297#comments</comments>
		<pubDate>Thu, 25 Nov 2010 14:39:01 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=1297</guid>
		<description><![CDATA[About 2 weweks ago i had a crash on my old machine. The graphics card crashed and I was left with a unusable laptop. Not nice. So I got a new laptop, and moved all stuff over there. I have a system for backup so that the harddrive is backed up every night over rsync [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> About 2 weweks ago i had a crash on my old machine. The graphics card crashed and I was left with a unusable laptop. Not nice. So I got a new laptop, and moved all stuff over there. I have a system for backup so that the harddrive is backed up every night over rsync to our big backupservers in UK so backup was not a problem.</p>
<p><span id="more-1297"></span>But when installing on a new system I decided to move up to Kubunto 10.10 from the slightly older 9.10 that I was running now.</p>
<p>I started with installing all and had not any big problem. Actually all worked very nice and all things on the new system (a HP Pavilion dv8) was found. Network, sound, camera, card reader and so on. All worked out of the box. I have not tried the fingerprint reader but that’s about the only thing I haven’t tried.</p>
<p>First of all I did fire up the system, let it boot into windows 7 and made the restore dvd&#8217;s. Yes dvd&#8217;s. It required 4 dvd&#8217;s just to restore a system. Far to much, but now I have them in case I need to.</p>
<p>So I installed Kubuntu 10.10 and wow it was nice. Quick and easy install, just a few questions and on it went with the install.</p>
<p>The only small problem I have had so far is that the Blue-tooth system seems to be, lets say not optimal, so I lost my blue-tooth mouse and is now using a normal USB one. Not a big deal, but a bit annoying. I also have kind of the same problem so I cant pair my phone with my new laptop and send pictures and so on. Well I solve that in due time.</p>
<h2>Upgrading applications and settings</h2>
<p>One god thing when upgrading a Linux system is that if you know what you are doing there is an easy way of transferring all you settings for applications over. And I mean ALL settings. So for instance, when I moved over firefox, I got my certificates, bookmarks and even history and cashes over.</p>
<p>And one think that my pc friends hates me for &#8211; I have run the same installation of EVE since 2007 when i moved over to linux and only upgraded. Most PC users have to reinstall and looses bookmark folders and so on. But with backups and linux you avoid that.</p>
<p>But its not without problems. You have to know where all the configs are, and there are sometimes small changes between versions.</p>
<p>So in the upcoming weeks I will post about the upgrade application by application.</p>
<p>Al of it is based on that I have an full copy of my old home directory in <em><strong>/home/CD/jan_old</strong></em> and my new home dirctory is <em><strong>/home/jan</strong></em>.</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/1297/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sending files with bluetooth</title>
		<link>http://jan.saell.org/blog/archives/1195</link>
		<comments>http://jan.saell.org/blog/archives/1195#comments</comments>
		<pubDate>Mon, 27 Sep 2010 11:24:35 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=1195</guid>
		<description><![CDATA[I have been fighting my phone for some time. I wanted to send files from my phone to my pc and not to have to send them up to facebook or something stupid like that first. And I haven&#8217;t managed. I have done some search but not found anything really good telling my why it [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> I have been fighting my phone for some time. I wanted to send files from my phone to my pc and not to have to send them up to facebook or something stupid like that first.</p>
<p>And I haven&#8217;t managed. I have done some search but not found anything really good telling my why it will not work.</p>
<p>But today i found it.</p>
<p><span id="more-1195"></span>I was missing some packages.</p>
<p>So after checking the web a bit more I did found ot the following list of packages a re required to get all to work:</p>
<pre>sudo apt-get install bluetooth bluez bluez-alsa bluez-cups bluez-gstreamer bluez-utils kdebluetooth libbluetooth3
 python-bluez libmulticobex1 libobexftp0 libopenobex1 obex-data-server obexd-client python-obexftp obexfs</pre>
<p>And it installed <strong><em>obexd-client obexfs python-bluez python-obexftp</em></strong>. The rest of them was already installed.</p>
<p>And now my sending and reciving of files work as the should.</p>
<p>Only 2 small notes.</p>
<p>If you change the place where the bluetooth system should store file you need to restart the kbluetooth system. Easiest done on my system by just pressing the bluetooth button 2 times as the first one turn off bluetooth and second press starts it up again.</p>
<p>I also found out that I cant have spotify (or wine) running. If you do it seems that the receiving part is not starting.</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/1195/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Am I hacked, or Twitter QOAuth problems</title>
		<link>http://jan.saell.org/blog/archives/1159</link>
		<comments>http://jan.saell.org/blog/archives/1159#comments</comments>
		<pubDate>Mon, 06 Sep 2010 13:05:51 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=1159</guid>
		<description><![CDATA[I have been using twitter. You I know its perhaps sad, but I have started a bit on that road. I have been using the application choqok in Linux to post on my  twitter page. But the last 2 or 3 weeks I have seen a Auth popup asking for my twitter api key/password. And [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> I have been using twitter. You I know its perhaps sad, but I have started a bit on that road. I have been using the application <em><strong>choqok</strong></em> in Linux to post on my  twitter page.</p>
<p>But the last 2 or 3 weeks I have seen a Auth popup asking for my twitter api key/password. And as I didn&#8217;t know what this was I did not fill in any information.</p>
<p><span id="more-1159"></span>Last week I had some spare time and started to look into this.</p>
<p>First I was a bit worried that I had gotten hacked, or that my Twitter Account was. But after googeling abit about this it seems that twitter has changed the way the it authenticate applications wanting to connect to twitter to post or read tweets. FOr the weeks leeding up to 1/9 2010 they did limit the access to the old way to 5 an hour i think it was and after 1/9 it was totally stop for the old way. You had to start using the new QOAuth way.</p>
<p>So what happened was that choqok was trying to connect more than 5 times and got the reject back and aked me for a new passord.</p>
<p>So I was NOT hacked &#8211; hurray. That&#8217;s good at-least.</p>
<p>But the bad part was that I now did not have an application that worked. Well I could still connect to the twitter website and post there but that was not what I wanted.</p>
<p>So I started to look for solutions.</p>
<p>First there is a new version of choqok out &#8211; not in the repositories so I have to build it from source, but that might work. Download it. Installed cmake as it requires that and then failed on that it did require QOAuth lib and QJson libs that I did not have. OK Skip this for now.</p>
<p>Checked other applications. They did not work, was not available for my ubuntu/kubuntu version or was not able to compile it. Some even crashed for some reason. No luck at all.</p>
<p>So now I have been without a microbloggning client for a while.</p>
<p>But today I came across one that I havent tried before. And that was qTwitter. Its kind of small and does what I want.</p>
<p>I did found it <a href="http://qt-apps.org/content/show.php?content=99087" target="_blank">here</a>, and at the bottom of the page you have a link to the ubuntu .deb packages, including the qoath library package.</p>
<p>So now I can do twitter again <img src='http://jan.saell.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/1159/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Startrek Online under wine</title>
		<link>http://jan.saell.org/blog/archives/1009</link>
		<comments>http://jan.saell.org/blog/archives/1009#comments</comments>
		<pubDate>Mon, 19 Jul 2010 07:39:30 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Startrek Online]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=1009</guid>
		<description><![CDATA[Startrek Online has been out for a while now and I have been thinking of perhaps testing it. I read a bit about in on WineHQ and it seemd that it should run under Wine without to much problems. So i decided to have a go at it. Downloading the game I decided to start the thing [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> Startrek Online has been out for a while now and I have been thinking of perhaps testing it. I read a bit about in on WineHQ and it seemd that it should run under Wine without to much problems. So i decided to have a go at it.</p>
<h2>Downloading the game</h2>
<p>I decided to start the thing by trying the Demo game you can donwload and try.</p>
<p><span id="more-1009"></span>The Demo allows you to create accounts, play through the tutorial mission and the &#8220;Stranded in Space&#8221; mission. This gives a nice test of the game and I wanted to see that I could run the game before committing and buying the game. I did found out that you cant go to the bridge, fly into any other star system (I wanted to visit Vulcan) so the demo is quite restricted, but works well for a test.</p>
<p>So lets get going. Go to <a href="http://startrekonline.com/demo" target="_blank">http://startrekonline.com/demo</a> and clikc on the download/Cryptic to get the download program down.</p>
<p>The downloader is some kind of P2P program and will NOT work under wine. It runs for a while but crashes fairly often. So I did end up running the downloader in Virtualbox and there it run nicely.</p>
<p>Make shure you download the game to a shared drive that you can access from both Virtualbox and from linux. This is because when you have downloaded the complete installer, you wil run that from Wine to do the install.</p>
<p>So when the download is complete, exit the installer and Virtualbox.</p>
<h2>Installing the game</h2>
<p>To install the game run the download/installer from wine when the download is completed.</p>
<p>You need to install some extra parts for Wine before the system and installer will run rightly. If you haven&#8217;t downloaded and installed winetricks there are some instructions <a href="http://wiki.winehq.org/winetricks" target="_blank">here</a>.</p>
<p>Then install ie6 from winetricks:</p>
<pre>sh winetricks ie6</pre>
<p>Then its time to do the install. I ran it with the command:</p>
<pre>env WINEPREFIX="$HOME/.wine" ^Cne explorer /desktop=3,1600x1000 PathToInstaller/STO_Demo_Installer.exe</pre>
<p>This will start the installer, Select the path where you downloaded the files from within Virtualbox and let it verify the files. Install and register the demo account with cryptic/startrek online.</p>
<p>When you run the game, website you will get some javascript errors, but just click yes to continue run javascript on this page and you should get there.</p>
<h2>Fixing the Icon</h2>
<p>The installer will create a desktop icon if you allow it, but I changed the command to run as I wanted the game to run in a virtual desktop and be able to run the game fullscreen in this. So I changed the <strong>Application:Command</strong> to be:</p>
<pre>env WINEPREFIX="$HOME/.wine" wine explorer /desktop=3,1600x1000 "C:\Program Files\Cryptic Studios\Star Trek Online.exe"</pre>
<p>There are a couple of things you need to fox to get the game to run well</p>
<h2>Fixing the sound problem</h2>
<p>Out of the box the sound will not work correctly. At least not for me. So to fox that you need to do the following:</p>
<ul>
<li>Startup winecfg</li>
<li>Click on the &#8220;libraries&#8221; tab</li>
<li>Under where it says &#8220;New override for library&#8221; enter mmdevapi then click add</li>
<li>Select it on the list, click edit, select disable, and click ok.</li>
<li>Click on the main OK to save and exit winecfg</li>
</ul>
<p>This should give you sound in game.</p>
<h2>Fixing the rolling problem</h2>
<p>The keyboard repeat in X is a problem for the game, so when running the game, turn that off before you run the game with (in a terminal window):</p>
<pre>xset r off</pre>
<p>And turn in on after the game is run with</p>
<pre>xset r on</pre>
<p>That will take care of that</p>
<h2>Game setting</h2>
<p>The only thing left now is to change the graphics options in game to &#8220;low&#8221; and set the window to run in full screen mode (remember that you are running in a virtual desktop so the size is what you specify in the /desktop part on the command line)</p>
<p>Done!!!!!</p>
<p>You can now test play the game. If you later decides to try out the full game, you only need to get the Download key to convert the install to a full game. No need to reinstall the game. <img src='http://jan.saell.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/1009/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Facebook chat from linux</title>
		<link>http://jan.saell.org/blog/archives/996</link>
		<comments>http://jan.saell.org/blog/archives/996#comments</comments>
		<pubDate>Sun, 04 Jul 2010 18:41:47 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=996</guid>
		<description><![CDATA[I have a lot of friends and family on facebook. And facebook has a nice chat function, but the problem is that its only giving off a small sound when someone types to me and i usually dowt have the facebook up so I usually misset. But during the week I came a cross a [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> I have a lot of friends and family on facebook. And facebook has a nice chat function, but the problem is that its only giving off a small sound when someone types to me and i usually dowt have the facebook up so I usually misset. But during the week I came a cross a site talking about how to access facebook from any XMPP or Jabber enabled chat client. And as Kopete can use that I set it up and it works very nice.</p>
<p><span id="more-996"></span>So here are the instructions:</p>
<p>Start by going onto facebook, login as usuall and go to <a href="http://www.facebook.com/sitetour/chat.php" target="_blank">http://www.facebook.com/sitetour/chat.php</a></p>
<p>There you can click on Other Windows/Mac/Linux.</p>
<p>And you will get a popup shoing you the login, and other information you need.</p>
<p>Open up Kopete and Click “Settings” in the top menu and then click “Configure”.</p>
<p>Click on “Accounts”, and then click “Add Account…”</p>
<p>Select “Jaber (XMPP, Jabber, Google talk)” from the list of services. Then click on next.</p>
<p>Use the <strong>Jabber ID</strong> you got from the chat page, and type it into the Jabber ID field.</p>
<p>Click on <strong>Remember Password</strong> and type in your normal Facebook password. Then click on next.</p>
<p>Under Connection preferences, leave all three options unchecked.</p>
<p>ANd no clikc on OK and you should be able to connect.</p>
<p>Be warned that you will see all you facebook friends so it might give you a lot of new persons in kopete.</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/996/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Java versus .Net</title>
		<link>http://jan.saell.org/blog/archives/989</link>
		<comments>http://jan.saell.org/blog/archives/989#comments</comments>
		<pubDate>Tue, 29 Jun 2010 18:49:29 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=989</guid>
		<description><![CDATA[I did came across this video in another blog today and can help sharing it with you all:]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> I did came across this video in another blog today and can help sharing it with you all:<br />
<object width="560" height="340"><param name="movie" value="http://www.youtube.com/v/fzza-ZbEY70&#038;hl=en_US&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/fzza-ZbEY70&#038;hl=en_US&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/989/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Editing m4a with easytag</title>
		<link>http://jan.saell.org/blog/archives/986</link>
		<comments>http://jan.saell.org/blog/archives/986#comments</comments>
		<pubDate>Tue, 22 Jun 2010 07:56:03 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=986</guid>
		<description><![CDATA[Today I was fixing som of my audio-books. I have a way of converting them from audible to mp3 and then to m4b, as I have described here. But today i could not edit the tags. I have done this a number of times before so I was a bit perplexed over why it just now [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> Today I was fixing som of my audio-books. I have a way of converting them from audible to mp3 and then to m4b, as I have described <a href="/blog/archives/526" target="_blank">here</a>.</p>
<p>But today i could not edit the tags.</p>
<p><span id="more-986"></span>I have done this a number of times before so I was a bit perplexed over why it just now stopped working.</p>
<p>But I found the problem. When upgrading to 9.10 aparently i got the &#8220;normal&#8221; easytag packages installaed, and to be able to tag m4a you need the easytag-aac packages.</p>
<p>So install it with:</p>
<pre>sudo apt-get install easytag-aac</pre>
<p>and all works as it should again</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/986/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remote desktop on kubuntu</title>
		<link>http://jan.saell.org/blog/archives/949</link>
		<comments>http://jan.saell.org/blog/archives/949#comments</comments>
		<pubDate>Mon, 31 May 2010 14:52:09 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=949</guid>
		<description><![CDATA[So Im down at the summer house, but before I left Stockholm i needed to fix remote access to my home system. Well I have had access via ssh to my home system regardless where I am but I would prefer so really control my desktop on my home server from anywhere. So I started looking into how to do this. Preferable secure and safe and all [...]]]></description>
			<content:encoded><![CDATA[<div>
<p><img title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> So Im down at the summer house, but before I left Stockholm i needed to fix remote access to my home system.</p>
<p>Well I have had access via <em><strong>ssh</strong></em> to my home system regardless where I am but I would prefer so really control my desktop on my home server from anywhere.</p>
<p><img title="More..." src="http://jan.saell.org/blog/wp-includes/js/tinymce/plugins/wordpress/img/trans.gif" alt="" />So I started looking into how to do this. Preferable secure and safe and all that. <img src='http://jan.saell.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>So my home system is a kubuntu 8,04 and yes I know its kind of old but i don&#8217;t want to upgrade it yet.</p>
<p>So i first started out trying the built in version <strong><em>krfb</em></strong>. Well regardless of what I tried I could not get it to work. I could connect to the system but as soon as I did that it crashed. So i investigated a bit and found a number of similar post out there so its not unheard of.</p>
<p>So what to do?</p>
<p>Well the solution is to remove that and get <strong><em>x11vnc</em></strong> working instead.</p>
<p>So I installed this with apt-get:</p>
<pre>sudo apt-get install x11vnc</pre>
<p>Then logout and restart the Xserver just to make sure all things are loaded correctly. Just to be paranoid I setup a password with <strong><em>vncpasswd</em><em> </em><span style="font-weight: normal;">to be used so that its harder to login.</span></strong></p>
<p><strong><span style="font-weight: normal;">Then you can login to the system and forward the defalt vnc port (5900) to the remote machine, start x11vnc on that system and it will work.</span></strong></p>
<p>So on your local system start the ssh:</p>
<pre>ssh -L 5900:localhost:5900 username@10.10.10.10</pre>
<p>When youhave logged in to your remote system, fire up x11vnc:</p>
<pre>x11vnc -usepw -display :0</pre>
<p>And back on you local system in another window start up vncviewer:</p>
<pre>vncviewer localhost::5900</pre>
<p>and you should get a copy of your remote desktop.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/949/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>padevchooser won&#8217;t start</title>
		<link>http://jan.saell.org/blog/archives/945</link>
		<comments>http://jan.saell.org/blog/archives/945#comments</comments>
		<pubDate>Sat, 29 May 2010 18:00:59 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=945</guid>
		<description><![CDATA[Today I&#8217;m down it the summerhouse and as im mowing lawns I decided to convert some of my audiobooks. So I fired up Virtualbox and started my itunes in there. Then i decided to check the route to my spekaers and clicked on the pulseaudio applet. But wait its not in the taskbar. Not to much to [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> Today I&#8217;m down it the summerhouse and as im mowing lawns I decided to convert some of my audiobooks.</p>
<p>So I fired up Virtualbox and started my itunes in there. Then i decided to check the route to my spekaers and clicked on the pulseaudio applet. But wait its not in the taskbar.</p>
<p><span id="more-945"></span>Not to much to worry about. Chose it from the menu and start it. And it won&#8217;t start up. What the f..ck.</p>
<p>So I fired up a terminal windows and tried to start it from there. And the error message I got was:</p>
<pre>** (padevchooser:9169): WARNING **: pa_browser_new() failed.</pre>
<p>OK &#8211; Not to obvious. Google to teh rescue. And after reading 2 or 3 pages or different things I found the problem.</p>
<p>Its the <em>avahi-daemon</em> that isn&#8217;t started. And what is avahi then. Well its a deamon that helps you discover printer, people tochat with and so on, on the local network. And for some reason it wasn&#8217;t started.</p>
<p>So i checked the status of ith with the comand:</p>
<pre>sudo service avahi-daemon status</pre>
<p>And got back:</p>
<pre>avahi-daemon stop/waiting</pre>
<p>I then started it with:</p>
<pre>sudo service avahi-daemon start</pre>
<p>(If you whant to check that its running after that you can do status again and will get <em>avahi-daemon start/running, process 9228</em> as a result)</p>
<p>And now <em>padevchooser</em> starts as it should.</p>
<p>If you still has a problem starting up avahi-daemon, you could trie to remove the status/lock file with:</p>
<pre>sudo rm /var/run/avahi-daemon/disabled-for-unicast-local</pre>
<p>That might help. and the do the start again.</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/945/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrade to Kubuntu Karmic (9.10) from 8.04 – Part 7 – Fixing phpmyadmin</title>
		<link>http://jan.saell.org/blog/archives/869</link>
		<comments>http://jan.saell.org/blog/archives/869#comments</comments>
		<pubDate>Thu, 29 Apr 2010 15:53:06 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=869</guid>
		<description><![CDATA[﻿In an older post here i wrote about changing the session lifetime in phpmyadmin so that I did not have to login every 30 minutes or so. It worked a bit but stopped to work after some time. When I upgraded to a new veriosn 9.10. I actually got a warning from phpmyadmin. To fix the logout [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> ﻿In an older post <a href="http://jan.saell.org/blog/archives/383" target="_blank">here</a> i wrote about changing the session lifetime in phpmyadmin so that I did not have to login every 30 minutes or so. It worked a bit but stopped to work after some time.</p>
<p>When I upgraded to a new veriosn 9.10. I actually got a warning from phpmyadmin.</p>
<p><span id="more-869"></span></p>
<p>To fix the logout problem i added the following line to <em>/etc/phpmyadmin/config.inc.php</em> file:</p>
<pre>$cfg['LoginCookieValidity'] = 3600 * 4; // 4 hours</pre>
<p>This will set the valid time for login to 4 hours – that shoud be ok for me atleast. But that exseeds the max time for a cookie in php so you have to make a change to php.ini also. Change <em>﻿/etc/php5/apache2/php.ini</em> with the command:</p>
<pre>﻿sudo vi /etc/php5/apache2/php.ini</pre>
<p>and add/change the line</p>
<pre>﻿session.gc_maxlifetime</pre>
<p>to</p>
<pre>session.gc_maxlifetime = 14400</pre>
<p>This will set it to teh same as the phpmyadmin cookie validity and it will now work.</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/869/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Virtualbox and Lucid Lynx</title>
		<link>http://jan.saell.org/blog/archives/907</link>
		<comments>http://jan.saell.org/blog/archives/907#comments</comments>
		<pubDate>Thu, 29 Apr 2010 07:13:35 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[open-source]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=907</guid>
		<description><![CDATA[I found this litte blogpost today &#8211; about how to install the virtual box guest extensions in lucid lynx. This is good if you whant to run a test of lucid in you normal machine.]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> I found this litte <a href="http://blog.brettalton.com/2010/04/28/installing-guest-additions-in-virtualbox-for-an-ubuntu-server-guest/" target="_blank">blogpost</a> today &#8211; about how to install the virtual box guest extensions in lucid lynx. This is good if you whant to run a test of lucid in you normal machine.</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/907/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrade to Kubuntu Karmic (9.10) from 8.04 – Part 6 – Fixing thunderbird openning links</title>
		<link>http://jan.saell.org/blog/archives/872</link>
		<comments>http://jan.saell.org/blog/archives/872#comments</comments>
		<pubDate>Wed, 28 Apr 2010 07:45:31 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=872</guid>
		<description><![CDATA[One other thing that really enoyed me when moving over to 9.10 was that links in thunderbird open the wrong browser. As firefox is a nice browser but it takes for ever to start, I have started to use chrome as my web-browser. and I am fairly happy with it. Its stable and works well. But when I [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> One other thing that really enoyed me when moving over to 9.10 was that links in thunderbird open the wrong browser. As firefox is a nice browser but it takes for ever to start, I have started to use chrome as my web-browser. and I am fairly happy with it. Its stable and works well. But when I am running thunderbird (mail-client) and get a mail with a link in, I would prefere that it open chrome. As it was it opens firefox.</p>
<p><span id="more-872"></span>After googleing something about it i found the solution. First you have to make some changes to thunderbird.</p>
<p>Go into the config editor:</p>
<pre>Edit -&gt; Preferences -&gt; Advanced -&gt; Config Editor</pre>
<p>Then adding two new config strings:</p>
<p>network.protocol-handler.app.http<br />
network.protocol-handler.app.https</p>
<p>and setting them both to the value &#8216;x-www-browser&#8217;.</p>
<p>That will tell thunderbird to use the debian alternative system for what to start when following a link. So when this done it will now open konqurer as the broswer &#8211; not really what I wanted.</p>
<p>No we need to fix the alternative system. This is done with the command:</p>
<pre>﻿sudo update-alternatives --verbose --config x-www-browser</pre>
<p>and select chrome as you default bowser. For me that was number 2. And now thunderbird will open the links in chrome.</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/872/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrade to Kubuntu Karmic (9.10) from 8.04 – Part 5 &#8211; Fixing Vim</title>
		<link>http://jan.saell.org/blog/archives/862</link>
		<comments>http://jan.saell.org/blog/archives/862#comments</comments>
		<pubDate>Tue, 27 Apr 2010 13:17:17 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=862</guid>
		<description><![CDATA[One problem I had with the change over to 9.10 was that when i started to edit a file, the highlighting of syntax was very bad and I could not see what was there. Yellow on a black background is not that god, so I started to switch over to white on black as my console colours. But I don&#8217;t like that. [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> One problem I had with the change over to 9.10 was that when i started to edit a file, the highlighting of syntax was very bad and I could not see what was there. Yellow on a black background is not that god, so I started to switch over to white on black as my console colours. But I don&#8217;t like that. I prefers black on white.</p>
<p><span id="more-862"></span>So after some googeling I found what was the problem. And its that vim guesses what colour schema you have and it guesses wrong.</p>
<p>Fix this my adding this line to you <em>.vimrc</em> file in you home directory.</p>
<pre>﻿set background=light</pre>
<p>This will make the syntax highlighting right for viewing on a light background.</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/862/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrade to Kubntu Karmic (9.10) from 8.04 – Part 3 – Wine and EVE Online and pulseaudio</title>
		<link>http://jan.saell.org/blog/archives/881</link>
		<comments>http://jan.saell.org/blog/archives/881#comments</comments>
		<pubDate>Sun, 18 Apr 2010 12:29:01 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[EVE-Online]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=881</guid>
		<description><![CDATA[So the next item on the upgrade list is to get sound and wine to work. Yes &#8211; I&#8217;m kind of addicted to EVE Online and i have to get that work. In the old system I had pulseaudio to work. I really like that as it handles multiple input and outputs and you can even adjust volumes and [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> So the next item on the upgrade list is to get sound and wine to work. Yes &#8211; I&#8217;m kind of addicted to EVE Online and i have to get that work.</p>
<p>In the old system I had pulseaudio to work. I really like that as it handles multiple input and outputs and you can even adjust volumes and individual applications. So its a really god system. In the old system (8.04) it worked very well, but tended to hang some times, and I had to kill the pulseaudion daemon and restart it from time to time.</p>
<p><span id="more-881"></span></p>
<p>In 9.10 pulseaudion is the default use and I like that. Its very stable and works well. Unfortunately some applications is not OK with pulseaudio and there is some problems getting them to work.</p>
<p>Things that works well is:</p>
<ul>
<li>System sounds</li>
<li>Skype &#8211; latest version 2.1.0.81 has pulseaudio support</li>
<li>Audacity audion editor works now well with pulse</li>
<li>Flash via Chrome or Firefox works ok</li>
<li>Virtualbox works very well</li>
</ul>
<p>Not working:</p>
<ul>
<li>Realaudio player</li>
<li>IP Telephone &#8211; ekiga can work by using the headset without pulseaudio</li>
<li>VMWare &#8211; but im not using sound there</li>
<li>Wine out of the box</li>
</ul>
<p>So most is working but I need to get wine working.</p>
<p>I hate the fact that when you go out and surf for a problem with any application and pulseaudion the top 10 things you get is &#8220;Oh i solved the problem by uninstalling pulseaudio and now everything is working&#8221;. That is not a solution for me. I want pulseaudion to be able to handle multiple streams and so on and going back to an older system is a bit backwards in my opinion. Fix the bugs and get the new things to work instead.</p>
<p>In the old system I had wine working with padsp &#8211; the pulseaudion OSS wrapper. And it was working well. But in this new OS its not working well at all. <img src='http://jan.saell.org/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>After googeling and checking I found the Winepulse project. Apparently someone in Canada did make a sound backend for wine that can talk to the pulseaudio server. Unfortunately it will not be included in the normal wine as the wine people are rewriting wine to use OpenAL and that has pulseaudio build in so it will be available when that is in. When that now will happen.</p>
<p>So in the mean time you have to use winepulse patch or download from their archive.</p>
<p>So did it work &#8211; YES &#8211; perfectly and without any problem.</p>
<p>So what did I do.</p>
<ul>
<li>First i removed the old wine installation.</li>
<li>Then i disabled the winehw archine from the source list</li>
<li>And added Neil Wilson’s PPA: <a href="https://launchpad.net/~neil-aldur/+archive/ppa">https://launchpad.net/~neil-aldur/+archive/ppa</a></li>
<li>And installed the <em>wine1.2 &#8211; 1.1.31.oubuntu+winepulse0.33</em> package</li>
</ul>
<p>And now I happily can play my eve. Almost!!!</p>
<p>There is a bug in the ubuntu kernel that apparently locks up eve when you start it up. There are some fixes but I changed the start-up icon to do this instead of  anything else. What is does is change the <em>bitsCancelled=1</em> to <em>bitsCanccelled=0</em> in the prefs.ini file before starting up eve. And this works 95% of all cases.</p>
<pre>env WINEPREFIX="/home/xxx/.wine" sed -i -e '/bitsCancelled/ s/1/0/'
 "/home/xxx/.wine/drive_c/Program Files/CCP/EVE/cache/prefs.ini"
&amp;&amp; wine explorer /desktop=0,1600x1000 "C:\Program Files\CCP\EVE\eve.exe"  /end /LUA:OFF</pre>
<p>It shuld be all on one line. And if you have multiple start-up for different clients you need to change them to. Don&#8217;t forget to change the xxx to you home directory.</p>
<p>There are a few times when the startup dont work for me. By doing a <em>wineboot -k </em>command and then start again usually works then.</p>
<p>Now I can play eve as I whant.</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/881/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Upgrade to Kubntu Karmic (9.10) from 8.04 – Part 2 &#8211; Nvidia</title>
		<link>http://jan.saell.org/blog/archives/867</link>
		<comments>http://jan.saell.org/blog/archives/867#comments</comments>
		<pubDate>Sun, 11 Apr 2010 16:59:24 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=867</guid>
		<description><![CDATA[So after my problems with the upgrade and that not all packages worked it was time to get the screen to work. When upgrading i lost my accelerated nvidia driver, but that was kind of expected. So how to fix it? Well I went in to my normal download directory and tried to rebuild the [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> So after my problems with the upgrade and that not all packages worked it was time to get the screen to work.</p>
<p>When upgrading i lost my accelerated nvidia driver, but that was kind of expected. So how to fix it?</p>
<p><span id="more-867"></span></p>
<p>Well I went in to my normal download directory and tried to rebuild the nvidia drover from there. I was running 190 and nvidia is up to 195 so i did not think it was to far out. It worked kind of and I copied the xorg config file back ffrom jy old copy and tried to reboot. No luck.</p>
<p>I got the message that no driver was found &#8211; dam. And had go to text mode.</p>
<p>So I started to see if I could find the problem. I did try a number of different version, installing the latest, reverting back to and old one. No luck.</p>
<p>And finally i found it. There where 3 files left in /etc/modprobe.d &#8211; probably left since the upgrade but they seems to be blocking modprobe to work and being able to install the new nvidea driver. So here s the solution:</p>
<h2>Fix for installing latest nvideadriver</h2>
<p>Remove ﻿<em>alas-base</em>, <em>blacklist-modem</em> and <em>lrm-video</em> from <em>/etc/modprobe.d</em>:</p>
<pre>sudo rm /etc/modprobe.d/alas-base /etc/modprobe.d/blacklist-modem /etc/modprobe.d/lrm-video</pre>
<p>Then add the new ubuntu repository from nvidea with the latest driver. Add</p>
<pre>ppa:nvidia-vdpau/ppa</pre>
<p>as a new software source (in System-&gt;Setting-&gt;System Setting-&gt;Settings-&gt;Software Source), and you should be able to select the new nvidea drive (195) and install that.</p>
<p>This worked for me.</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/867/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrade to Kubntu Karmic (9.10) from 8.04 &#8211; Part 1</title>
		<link>http://jan.saell.org/blog/archives/846</link>
		<comments>http://jan.saell.org/blog/archives/846#comments</comments>
		<pubDate>Mon, 05 Apr 2010 12:02:20 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=846</guid>
		<description><![CDATA[So its time to take the plunge and upgrade. I will report what i found when i upgraded till Kubuntu 9.10 from my old 8.04 this week. OBS &#8211; Do not start the upgrade before you read this part. It might fail totally. First of all &#8211; make a backup. I was going to change my hard drive, [...]]]></description>
			<content:encoded><![CDATA[<p><img title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> So its time to take the plunge and upgrade. I will report what i found when i upgraded till Kubuntu 9.10 from my old 8.04 this week.</p>
<h2>OBS &#8211; Do not start the upgrade before you read this part. It might fail totally.</h2>
<p><span id="more-846"></span>First of all &#8211; make a backup. I was going to change my hard drive, so i used the command dd_resuce to clone my harddrive to a new drive. I pluged in my new drive as a USB2 device &#8211; yes i have a nice cable for that and issue the command:</p>
<pre>sudo dd_rescue -v /dev/sda /dev/sdc</pre>
<p><strong><em>OBS!!</em></strong> Make sure you check /var/log/messages so you ARE SURE that /dev/sdc is the right device for you. If you do this to the wrong disk it will overwrite the destination disk without any problem and destroy the content.</p>
<p>After this was done i removed my old boot disk and installed this new one and booted up. No problem. Started the upgrade and that was when things when wrong.</p>
<p>2 packages that I had installed on the old system did make the upgrade fail, or atleast one of them.</p>
<p>The 2 packages that was the problem was <em>flashplugin-nonfree</em> and <em>libgl1-mesa-dev</em>.</p>
<p>So i had to go back and start all over again. The new installatin was so screwed up that you could not remove the flashplugin-nonfree, and you could not fix it so I started over, copied the disk, removed the packages and started over and now it works.</p>
<p>So here are the tips what to do before you start.</p>
<h2>Before Upgrading</h2>
<p>1. First and formost, make a backup, or several.<br />
2. if you have installed flashplugin-nonfree packages in the old system, please remove that.</p>
<pre>sudo apt-get remove﻿ nspluginwrapper flashplugin-nonfree</pre>
<p>3. If you have installed libgl1-mesa-dev in the old system, please remove that.</p>
<pre>sudo apt-get remove libgl1-mesa-dev</pre>
<p>Then you can go ahead and start the upgrade. And you should in an hour or so have a new kde4 system up and running.</p>
<p>Things to go over in the following parts (And the status of it):</p>
<ul>
<li>Get the bluetooth mouse to work (working).</li>
<li>Get the sound to work (working).</li>
<li>Get the nvidia advanced driver to work (working)</li>
<li>Get virtualbox to work (working)</li>
<li>Get vmware to work (working)</li>
<li>Get palm sync to work (working)</li>
<li>Get ipod sync to work (partly working)</li>
</ul>
<p>I will now follow up this in more parts in the comming week. Most was easy to get working even of the nvidia driver took 1 days to fix due to some remaning stuff from old installation.</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/846/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Version fascists</title>
		<link>http://jan.saell.org/blog/archives/839</link>
		<comments>http://jan.saell.org/blog/archives/839#comments</comments>
		<pubDate>Sat, 03 Apr 2010 13:59:56 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=839</guid>
		<description><![CDATA[So what is a version fascist. Well they come in different flavors. First we have the package maintainer fascists. These are the presons that make computer packages for different distributions. And they specify the absolute latest version of everything, regardless of its needed or now. I have a problem with this as its hard to install stuff [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> So what is a version fascist. Well they come in different flavors. First we have the package maintainer fascists. These are the presons that make computer packages for different distributions. And they specify the absolute latest version of everything, regardless of its needed or now. I have a problem with this as its hard to install stuff that way.</p>
<p><span id="more-839"></span>I have no problems with a program that requires a specific version of another package if you have a reason for it. For instance i am using opendnssec for signing and handling keys for dnssec and it requires sqlite version 3.3.9 or newer and the reason for this is that they have found bugs in the older versions. And then I don&#8217;t have any problems with that. Its a reason and its documented.</p>
<p>I also had an experience with a web designer for one other of my customers this week. This is the second flavor of version fascist. They had make a new website for my customer and on that page there fas a flash part for just changing images. You can do this in many ways but flash is one way. I think its overkill but its an OK option. But they demanded the latest version (or at least a newer version of flash that i had on my machine). And this for no reason.</p>
<p>Definitely bad. So i hope that people starts paying a bit attention to what they are demanding for websites and for packages.</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/839/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu One Music Store</title>
		<link>http://jan.saell.org/blog/archives/831</link>
		<comments>http://jan.saell.org/blog/archives/831#comments</comments>
		<pubDate>Thu, 25 Mar 2010 06:52:05 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=831</guid>
		<description><![CDATA[The open source is moving over to sell music also. Aparently there is work on getting a music store like itunes for ubuntu on its way. There you will be able to by mp3 files. Not correptes and locked down music files like some of the music on itunes. parently its in beta test face [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> The open source is moving over to sell music also. Aparently there is work on getting a music store like itunes for ubuntu on its way. There you will be able to by mp3 files. Not correptes and locked down music files like some of the music on itunes.</p>
<p>parently its in beta test face acording ot <a href="http://fridge.ubuntu.com/node/2000" target="_blank">ubuntu news</a>.</p>
<p>A god project i think.</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/831/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Middle mouse button mania</title>
		<link>http://jan.saell.org/blog/archives/779</link>
		<comments>http://jan.saell.org/blog/archives/779#comments</comments>
		<pubDate>Wed, 17 Feb 2010 14:01:21 +0000</pubDate>
		<dc:creator>jansaell</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jan.saell.org/blog/?p=779</guid>
		<description><![CDATA[I have an external bluetooth mouse that I have been using for ages. Its a microsoft intelimous with a number of buttons and a mouse wheel. And I realy love it &#8211; except fo one small thing. And its not realy the mouse problem, but the mouse driver in linux. I use the wheel to [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" title="English" src="http://jan.saell.org/blog/wp-content/uploads/2008/06/uk.png" alt="" width="18" height="14" /> I have an external bluetooth mouse that I have been using for ages. Its a microsoft intelimous with a number of buttons and a mouse wheel.</p>
<p>And I realy love it &#8211; except fo one small thing. And its not realy the mouse problem, but the mouse driver in linux.</p>
<p><span id="more-779"></span></p>
<p>I use the wheel to scroll quite frequently and I also is very used to use &#8220;the third&#8221; button as paste in X. And I use left and right click at the same time to emulate the 3:rd button. And that works perfectly except for those times when I managed to click the wheel button while scrolling. This happens some times and the the driver goes</p>
<p>- Oh &#8211; he has a third buttong &#8211; better stop using the emulation then</p>
<p>And there is no way to get back to the emulation. Except for rebooting, or atleast logout, restart X server and in again.</p>
<p>And today my patience ran out &#8211; I did start to read about the config options in xorg.conf to see what I could do.</p>
<p>And i found a quick and easy way:</p>
<p>Emulate a left click with the middle button instead.</p>
<p>So here it is &#8211; add the following line to the mouse config part in xorg.conf:</p>
<pre>Option         "ButtonMapping" "1 1 3 4 5"</pre>
<p>That makes the second button emulate left click and the driver never sees a button 2 and never disable the emulation mode.</p>
<p>Simple &#8211; and easy when you know how to do it!</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.saell.org/blog/archives/779/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

