<?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>Burobjorn.nl &#124; digitaal vakmanschap // digital craftsmanship &#187; ubuntu</title>
	<atom:link href="http://www.burobjorn.nl/blog/category/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.burobjorn.nl</link>
	<description>Burobjorn houdt zich bezig met open source software en online media. Van advies tot concept. Van prototype tot implementatie.</description>
	<lastBuildDate>Wed, 01 Feb 2012 12:24:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Dealing with Transip&#8217;s Java based Console for VPS VM&#8217;s on Ubuntu</title>
		<link>http://www.burobjorn.nl/blog/2012/01/19/dealing-with-transips-java-based-console-for-vps-vms-on-ubuntu/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=dealing-with-transips-java-based-console-for-vps-vms-on-ubuntu</link>
		<comments>http://www.burobjorn.nl/blog/2012/01/19/dealing-with-transips-java-based-console-for-vps-vms-on-ubuntu/#comments</comments>
		<pubDate>Thu, 19 Jan 2012 20:17:08 +0000</pubDate>
		<dc:creator>BjornW</dc:creator>
				<category><![CDATA[rants]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.burobjorn.nl/?p=1127</guid>
		<description><![CDATA[This is just a dump of my experience in getting the Transip VPS Console interface to work on Lubuntu 11.04 (64-bit) with Chromium 14.0.835.202 (Developer Build 103287) Ubuntu 11.04. Transip uses a Java Applet for accessing your newly created VM. At first I could not get the Java applet to work with the packages available [...]<br /><a href="http://www.burobjorn.nl/blog/2012/01/19/dealing-with-transips-java-based-console-for-vps-vms-on-ubuntu/">Lees verder &#8594;</a>]]></description>
			<content:encoded><![CDATA[<p>This is just a dump of my experience in getting the <a href="http://www.transip.nl">Transip</a> VPS Console interface to work on <a href="https://en.wikipedia.org/wiki/Lubuntu">Lubuntu</a> 11.04 (64-bit) with <a href="https://en.wikipedia.org/wiki/Chromium_(web_browser)">Chromium</a> 14.0.835.202 (Developer Build 103287) Ubuntu 11.04.  </p>
<p>Transip uses a <a href="https://en.wikipedia.org/wiki/Java_applet">Java Applet</a> for accessing your newly created <a href="https://en.wikipedia.org/wiki/Virtual_Machine">VM</a>. At first I could not get the Java applet to work with the packages available on Ubuntu. This is not Transip&#8217;s fault, but rather due to the issues surrounding Java on Linux. <a href="http://www.infoworld.com/d/application-development/oracles-latest-java-moves-frustrate-users-and-vendors-183452">Oracle decided to change Java &#8216;s license</a> and thus forcing Ubuntu to change the way they are handling Java. Basically making installing Java unnecessary difficult. Anyways, if you follow these steps you at least should get a working Transip Console, albeit a very buggy and highly annoying to use console. </p>
<p>Since I use a 64-bit version of Ubuntu the following steps might be different for the 32-bit version. Oh, this worked for me, it might not work for you and eat your cat or something evil like that. Use the following information at your own risk! For now I&#8217;m ONLY interested in getting Java applets to work with Chrome &#038; Chromium. If you need a different browser or want to use this Java version on the desktop, you&#8217;ll have to find out yourself on how to achieve what you need. Leave a comment if you have done so <img src='http://www.burobjorn.nl/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p>Anyways, let&#8217;s start! </p>
<p>1) Download <a href="http://www.oracle.com/technetwork/java/javase/downloads/jre-7u2-download-1377135.html">Oracle Java JRE 7</a> (Use the link otherwise you might get lost in a forest of corporate speak&#8230;). In my case I&#8217;ve downloaded only the Java Runtime Environment (<a href="http://download.oracle.com/otn-pub/java/jdk/7u2-b13/jre-7u2-linux-x64.tar.gz">JRE 64-bit tar.gz</a>) version and not the Java Development Kit (JDK) since I only wanted to use an Java applet.   </p>
<p>2) Unpack the tar.gz. In my case I used the following path: <code>/opt/jre1.7.0_02</code><br />
I&#8217;ve symlinked this from /opt/jre-oracle to make it more accessible and easy to change.</p>
<p>3) In order to make Chromium use the newly installed Java plugin you need to tell it where it can find the plugin. You need to do this by making a symlink: </p>
<p><code>sudo ln -s /opt/jre-oracle/lib/amd64/libnpjp2.so /usr/lib/chromium-browser/plugins</code></p>
<p>4) Restart Chromium and check if the plugin is found. Do this by entering <code>chrome://plugins</code> in the url bar. If you see multiple Java plugins, for instance something with IcedTea, disable all <em>except</em> the one you just installed (probably called similar to this: &#8216;Java(TM) Plug-in 1.7.0_02&#8242; </p>
<p>5) Check if you can use or view a Java Applet. I&#8217;ve used this <a href="http://www.learningprocessing.com/examples/chapter-3/example-3-5/">example</a> from the excellent <a href="http://www.learningprocessing.com/">Learning Processing site</a> by <a href="http://www.shiffman.net/">Daniel Shiffman</a></p>
<p>Note: In theory nothing should happen to any other installed Java version you might have, since we only changed the Java plugin for Chromium, but keep in mind that Java Applets will now run using the Oracle JRE and not any previous installed Java versions.  </p>
<p>After following the above steps I finally managed to &#8216;use&#8217; the Transip Console. </p>
<p>PS: Transip, if you&#8217;re reading this please fix this abomination you call a console. You can do so much better as you have already shown with your awesome employees responding diligently and the spot on price quality ratio in your products. Except for this horrible VPS console! Please check out <a href="http://linode.com">Linode</a> and learn from them. </p>
<p>Oh, feel free to <a href="http://www.burobjorn.nl/contact/">contact me</a> if you need a beta tester for a new console <img src='http://www.burobjorn.nl/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
]]></content:encoded>
			<wfw:commentRss>http://www.burobjorn.nl/blog/2012/01/19/dealing-with-transips-java-based-console-for-vps-vms-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating a group editable webdirectory on Linux</title>
		<link>http://www.burobjorn.nl/blog/2011/06/19/creating-a-group-editable-webdirectory-on-linux/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=creating-a-group-editable-webdirectory-on-linux</link>
		<comments>http://www.burobjorn.nl/blog/2011/06/19/creating-a-group-editable-webdirectory-on-linux/#comments</comments>
		<pubDate>Sun, 19 Jun 2011 11:32:13 +0000</pubDate>
		<dc:creator>BjornW</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.burobjorn.nl/?p=991</guid>
		<description><![CDATA[I&#8217;m working on a project in which I need a directory to be editable by a group of users. This directory will contain files and directories to be served by a webserver (in my case Apache). I&#8217;m using Linux (Ubuntu 10.04.2 LTS) and my users should not be bothered with setting up rights or changing [...]<br /><a href="http://www.burobjorn.nl/blog/2011/06/19/creating-a-group-editable-webdirectory-on-linux/">Lees verder &#8594;</a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m working on a project in which I need a directory to be editable by a group of users. This directory will contain files and directories to be served by a webserver (in my case Apache). I&#8217;m using Linux (Ubuntu 10.04.2 LTS) and my users should not be bothered with setting up rights or changing any.<br />
I couldn&#8217;t find any detailed instructions on the best way to achieve this, so I&#8217;ve decided to write down my own process using bits of hints and tips from various sources to document my thought process. It may contain errors or there might be better ways. If you notice an error or know of better methods, please leave a comment.<br />
<span id="more-991"></span><br />
<strong>Some background info</strong></p>
<ul>
<li>The directory I want to server with Apache is: <em>/var/www/html</em></li>
<li>I have three developers: <em>Joe</em>, <em>Jack</em> and <em>Amy</em></li>
<li>Apache (by default on Ubuntu) runs as user <em>www-data</em> with group <em>www-data</em></li>
<li>The server is a <a href="http://www.linode.com/?r=af679ca5e7964d369d21e70b695cdfa57a3a4fd4">Linode VPS</a> (link uses my referral code)</li>
</ul>
<p><strong>Instructions</strong></p>
<ol>
<li>Create a new group called web-dev: <code>groupadd web-dev</code>This will be the group to which uses will be added in order to read and write files and directories within <em>/var/www/html</em>
<p>Note:<br />
I could also have added the users to the existing <em>www-data</em> group used by Apache, but then the Apache user would have gotten read and write privileges together with the rest of the group. I&#8217;m not comfortable doing this, because if an attacker would gain access through Apache, it would give the attacker the same privileges as the Apache user. Therefor I don&#8217;t want to give the Apache user anymore privileges than absolutely necessary. In my case nothing more than the ability to serve the files and directories.</li>
<li>Add the users to the <em>web-dev</em> group: <code>useradd -G web-dev joe</code>Repeat this for all users you want to be able to read and write the files within<em> /var/www/html</em>.
<p>Note:<br />
This is the common group for which we will set the correct permissions.</li>
<li>Change the ownership of <em>/var/www/html</em> to one of the developers and the common group they belong to: <code>chown -R joe:web-dev /var/www/html/</code><br />
Make sure the directory is still accessible (read for files and execute for directories) by Apache.</p>
<p>Note:<br />
By changing the ownership to one of the users in the common group, in our case <em>joe</em> with group ownership changed to the common group <em>web-dev</em> we have established a common directory for all users part of the group <em>web-dev</em>. <em>Update: It may also be a good idea to change the ownership to root. This prevents accidental removal of the directory by the group members. Thanks <a href="http://tuxic.nl">Jaap</a> for mentioning this!</em></li>
<li>Make sure the <em>/var/www/html</em> is group writeable: <code>chmod -R 775 /var/www/html</code>If the directory is already group writeable you may skip this step</li>
<li>Make sure any new files or directories within <em>/var/www/html</em>will inherit the parent directory&#8217;s group owner: <code>find /var/www/html -type d -print0 | xargs -0 chmod g+s</code>This uses the <a href="https://secure.wikimedia.org/wikipedia/en/wiki/Setuid#setuid_and_setgid_on_directories">setgid</a> permission bit to make sure any new file or subdirectory will belong to the same group as it&#8217;s parent directory. In our case <em>web-dev</em>
<p>Note:<br />
Many thanks to <a href="http://serverfault.com/users/66000/rthomson">rthomson&#8217;s</a> <a href="http://serverfault.com/questions/257569/added-a-new-user-to-group-www-data-and-to-sudoers-still-not-sure-why-user-create/257653#257653">answer</a> on <a href="http://serverfault.com/">ServerFault</a> for the command and concise explanation of setgid</li>
<li>Make sure new files and directories created by users are group writable:
<ol>
<li>Install libpam-umask (mine was installed using libpam-modules by default): <code>sudo apt-get install libpam-modules</code></li>
<li>Add the line: <code>session optional pam_umask.so umask=002</code> to the file <em>/etc/pam.d/common-session</em></li>
<li>Make sure there is no umask line in <em>/etc/profile/</em> or <em>~/.bashrc</em> otherwise this will be combined with the umask set in PAM causing the umask to be changed from 002 to something else. If you do find a umask defined in the previous mentioned files, just comment them with a pound sign #.</li>
</ol>
<p>Note:</p>
<p>By default Ubuntu uses an <a href="https://secure.wikimedia.org/wikipedia/en/wiki/Umask">umask</a> 022, which ensures new files are only writable for the owner (i.e. the user who created them). In our case we want files and subdirectories created in <em>/var/www/html</em> to be group writeable and therefor the umask for the users should be changed to umask 002. As far as I know this cannot be done on a per-directory base (although some mentioned that you could do this using POSIX ACL) so we need to set this either per user using ~/.bashrc or systemwide for all users using /etc/profile or by setting up <a href="https://secure.wikimedia.org/wikipedia/en/wiki/Linux_PAM">PAM</a>.<br />
In our case I decided to use PAM so that regardless how a user logs into the server his/her umask will be set correctly. I&#8217;m not sure if this is the right way of doing this, since this means that every user would have his/her files group writeable by default which may pose a significant security issue. Our case is (for now) limited to a single purpose server with a very small group of users, so I&#8217;m willing to take the risk, however I do think a better solution must be at hand (perhaps POSIX ACL&#8217;s?).</li>
<li>Type: <code>umask</code>This shows the current umask. It should be 022. Now logout and login again to make sure the changed PAM settings take effect when logging in. Again type <code>umask</code>. It should be 0002, if the PAM settings have taken effect.</li>
<li>Finally create a new file called <em>test.txt</em> into <em>/var/www/html</em>: <code>touch test.txt</code>Use this file to see if other users can edit it, remove it and create it again. If this little test succeeds everything should have been setup correctly.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.burobjorn.nl/blog/2011/06/19/creating-a-group-editable-webdirectory-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>init not found message after updating Ubuntu</title>
		<link>http://www.burobjorn.nl/blog/2010/11/30/init-not-found-message-after-updating-ubuntu/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=init-not-found-message-after-updating-ubuntu</link>
		<comments>http://www.burobjorn.nl/blog/2010/11/30/init-not-found-message-after-updating-ubuntu/#comments</comments>
		<pubDate>Tue, 30 Nov 2010 20:57:16 +0000</pubDate>
		<dc:creator>BjornW</dc:creator>
				<category><![CDATA[geek]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.burobjorn.nl/?p=772</guid>
		<description><![CDATA[This is just a quick note to self in case an update of Ubuntu fails and only show the cryptic message &#8216;init not found&#8217;. I&#8217;ve found these instructions on the Ubuntu Forums made by the user with the intriguing nickname DryChilli: &#8220;Some instructions: List your partitions: ls /dev/sd* If you haven&#8217;t got an encrypted disk [...]<br /><a href="http://www.burobjorn.nl/blog/2010/11/30/init-not-found-message-after-updating-ubuntu/">Lees verder &#8594;</a>]]></description>
			<content:encoded><![CDATA[<p>This is just a quick note to self in case an update of Ubuntu fails and only show the cryptic message &#8216;init not found&#8217;. I&#8217;ve found these <a href="http://ubuntuforums.org/showpost.php?p=9826594&#038;postcount=17">instructions on the Ubuntu Forums made by the user with the intriguing nickname DryChilli</a>: </p>
<p>&#8220;Some instructions:</p>
<p>List your partitions:</p>
<p>ls /dev/sd*<br />
If you haven&#8217;t got an encrypted disk just do (where sda5 is the corrupted<br />
partition):</p>
<p>fsck /dev/sda5<br />
If you are using an encrypted hard-disk (i do) do</p>
<p>sudo cryptsetup luksOpen /dev/sda5 something<br />
where sda5 is the encrypted partition and someting is the name under which<br />
you will find the partition (/dev/mapper/something).</p>
<p>The install Lvm and look for volumes :</p>
<p>sudo apt-get install lvm2<br />
sudo pvscan<br />
sudo vgscan<br />
The last command should list the at least one volume-group<br />
Enable it or the ones you&#8217;re interested in</p>
<p>sudo vgchange -a y groupname<br />
Now list the logical volumens</p>
<p>sudo lvscan<br />
Your drive you&#8217;re interested in should now appear under /dev/mapper</p>
<p>do a fsck</p>
<p>sudo fsck /dev/mapper/logical-volume<br />
Lots of errors! Off course you want to have them all fixed. REBOOT!<br />
This worked for me!&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.burobjorn.nl/blog/2010/11/30/init-not-found-message-after-updating-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fix ssh &#8216;Too many authentication failures&#8217;</title>
		<link>http://www.burobjorn.nl/blog/2010/06/25/fix-ssh-too-many-authentication-failures/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=fix-ssh-too-many-authentication-failures</link>
		<comments>http://www.burobjorn.nl/blog/2010/06/25/fix-ssh-too-many-authentication-failures/#comments</comments>
		<pubDate>Fri, 25 Jun 2010 10:57:53 +0000</pubDate>
		<dc:creator>BjornW</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[quick]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://www.burobjorn.nl/?p=745</guid>
		<description><![CDATA[If you&#8217;re like me, you might have a lot of ssh keys installed and this might prevent you from logging into servers with the following message as a result: &#8220;Too many authentication failures&#8221;. As far as I understood this happens due to SSH trying each key on the client for logging and failing due to [...]<br /><a href="http://www.burobjorn.nl/blog/2010/06/25/fix-ssh-too-many-authentication-failures/">Lees verder &#8594;</a>]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re like me, you might have a lot of ssh keys installed and this might prevent you from logging into servers with the following message as a result: </p>
<p><em>&#8220;Too many authentication failures&#8221;. </em></p>
<p>As far as I understood this happens due to SSH trying each key on the client for logging and failing due to hitting the serverMaxAuthTries in the SSH server configuration. I use the following quick fix to work around this, by forcing SSH to use a password instead of a public key: </p>
<p><code>ssh -o PubkeyAuthentication=no username@hostname.com</code></p>
<p>I&#8217;m pretty sure there has to be a better, more durable solution for this issue, but the above fix allows you to at least gain access to your server again. Btw I use this on Linux (Ubuntu 10.04) with  OpenSSH_5.3p1 Debian-3ubuntu4. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.burobjorn.nl/blog/2010/06/25/fix-ssh-too-many-authentication-failures/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Howto: Apple wireless keyboard and Ubuntu</title>
		<link>http://www.burobjorn.nl/blog/2009/11/02/howto-apple-wireless-keyboard-and-ubuntu/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=howto-apple-wireless-keyboard-and-ubuntu</link>
		<comments>http://www.burobjorn.nl/blog/2009/11/02/howto-apple-wireless-keyboard-and-ubuntu/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 13:03:04 +0000</pubDate>
		<dc:creator>BjornW</dc:creator>
				<category><![CDATA[geek]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.burobjorn.nl/?p=641</guid>
		<description><![CDATA[This rough howto describes how I succeeded in pairing my Apple Wireless Keyboard (bought late oct 2009, the two batteries type) to my Macbook(2,1) running Ubuntu 9.04 (Jaunty) with the help of the awesome Blueman application. I presume Blueman is already installed (I used the PPA) and working fine. I did not make any notes, [...]<br /><a href="http://www.burobjorn.nl/blog/2009/11/02/howto-apple-wireless-keyboard-and-ubuntu/">Lees verder &#8594;</a>]]></description>
			<content:encoded><![CDATA[<p>This rough howto describes how I succeeded in pairing my <a href="http://www.apple.com/nl/keyboard/">Apple Wireless Keyboard</a> (bought late oct 2009, the two batteries type) to my Macbook(2,1) running <a href="http://www.ubuntu.com">Ubuntu</a> 9.04 (Jaunty) with the help of the awesome <a href="http://blueman-project.org/">Blueman</a> application. I presume Blueman is already installed (I used the <a href="https://edge.launchpad.net/~blueman/+archive/ppa">PPA</a>) and working fine. </p>
<p>I did not make any notes, but I&#8217;ll try to describe my process as accurate as possible. Oh, before you start make sure the keyboard works and has batteries installed.</p>
<blockquote><ul>
<li>Switch the wireless keyboard on by using the switch on the side. </li>
<li>- Use Search in the Blueman interface to find the keyboard. If it can&#8217;t find it try the switch. The keyboard is probably switched off already. </li>
<p>If i&#8217;m not mistaken the led on the right side on top of the keyboard started to blink after which it appeared in the list of bluetooth devices.</p>
<li> &#8211; Now you can add the device to your trusted devices and pair it. Without pairing the keyboard might be connected to your system, but it won&#8217;t work as an input device.</li>
<p>The pairing is the most annoying part. </p>
<li> &#8211; You need to type a PIN number which you first have to type in on another (wired!) keyboard and afterwards you need to type the same PIN in on the Apple wireless keyboard. </li>
<p>You won&#8217;t see a thing, but after you have typed the PIN correctly you should get a notice that the device has been paired. You might have to use Blueman setup to make sure the wireless keyboard is used an input device.</p>
</ul>
</blockquote>
<p>ps: I also added this rough howto to the <a href="http://blueman-project.org/wiki/Howto_Apple_Wireless_keyboard">Blueman wiki</a>. Please update that version if you encounter any issues with my howto and know how to fix it. Oh and feel free to leave me a comment to notify me <img src='http://www.burobjorn.nl/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
]]></content:encoded>
			<wfw:commentRss>http://www.burobjorn.nl/blog/2009/11/02/howto-apple-wireless-keyboard-and-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nerdy way to display a clock</title>
		<link>http://www.burobjorn.nl/blog/2009/07/24/nerdy-way-to-display-a-clock/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=nerdy-way-to-display-a-clock</link>
		<comments>http://www.burobjorn.nl/blog/2009/07/24/nerdy-way-to-display-a-clock/#comments</comments>
		<pubDate>Fri, 24 Jul 2009 14:11:18 +0000</pubDate>
		<dc:creator>BjornW</dc:creator>
				<category><![CDATA[geek]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[open-source]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.burobjorn.nl/?p=534</guid>
		<description><![CDATA[If you want the above clock in your linux terminal then run this command: watch -t -n1 "date +%T&#124;figlet" Source: http://podcast.ubuntu-uk.org/2009/07/23/s02e09-the-dimensions-of-time/]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.burobjorn.nl/blog/wp-content/uploads/2009/07/Screenshot.png"><img class="alignnone size-full wp-image-535" title="Clock in terminal" src="http://www.burobjorn.nl/blog/wp-content/uploads/2009/07/Screenshot.png" alt="Clock in terminal" width="264" height="94" /></a></p>
<p>If you want the above clock in your linux terminal then run this command:</p>
<p><code>watch -t -n1 "date +%T|figlet"</code></p>
<p>Source: <a href="http://podcast.ubuntu-uk.org/2009/07/23/s02e09-the-dimensions-of-time">http://podcast.ubuntu-uk.org/2009/07/23/s02e09-the-dimensions-of-time/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.burobjorn.nl/blog/2009/07/24/nerdy-way-to-display-a-clock/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ubuntu sound issue  with macbook 2,1 solved!</title>
		<link>http://www.burobjorn.nl/blog/2009/05/26/ubuntu-sound-issue-with-macbook-21-solved/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ubuntu-sound-issue-with-macbook-21-solved</link>
		<comments>http://www.burobjorn.nl/blog/2009/05/26/ubuntu-sound-issue-with-macbook-21-solved/#comments</comments>
		<pubDate>Tue, 26 May 2009 15:19:15 +0000</pubDate>
		<dc:creator>BjornW</dc:creator>
				<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.burobjorn.nl/blog/?p=485</guid>
		<description><![CDATA[Thanks to the instructions by boomshop found on the Ubuntu Forums I finally have crystal clear sound on my Macbook: If always had problems (since 7.04) with some static or distorted sound from the left speaker / left headphone on my book. I found serveral solutions on the internet like: - options in /etc/modprobe.d/alsa-options: only [...]<br /><a href="http://www.burobjorn.nl/blog/2009/05/26/ubuntu-sound-issue-with-macbook-21-solved/">Lees verder &#8594;</a>]]></description>
			<content:encoded><![CDATA[<p>Thanks to the <a href="http://ubuntuforums.org/showthread.php?t=1057879">instructions by boomshop found on the Ubuntu Forums</a> I finally have crystal clear sound on my Macbook:</p>
<blockquote><p>If always had problems (since 7.04) with some static or distorted sound from the left speaker / left headphone on my book. I found serveral solutions on the internet like:</p>
<p>- options in /etc/modprobe.d/alsa-options: only worked out on 7.10, never in 7.04, 8.04, 8.10 for me<br />
- reloading snd-hda-intel on boot with /etc/rc.local: dind&#8217;t work since alsa or pulse is already running at that time</p>
<p>&#8230;but reloading the module was a fix I found in several tests with different inits.</p>
<p>So a simple solution for me is reloading the module BEFORE anything else sound relevant is started. I&#8217;ve done this through rc-inits:</p>
<p>Code:</p>
<p><code>echo -e '#!/bin/bash\nrmmod snd-hda-intel\nmodprobe snd-hda-intel' | sudo tee /etc/init.d/soundrestart<br />
</code><br />
This one adds a script to init.d wich is only removing and loading the snd-hda-intel module.</p>
<p>Code:</p>
<p><code>sudo chmod +x /etc/init.d/soundrestart</code></p>
<p>This line will make the script executable.</p>
<p>Code:</p>
<p><code>sudo update-rc.d soundrestart start 10 2 3 4 5 .<br />
</code><br />
And the last one will add it to the different inits at a really early stage (10), before hal (24) pulse (25) or anything else is loaded.</p>
<p>Never had any static, distortion or noise in my left output anymore &#8211; neither after boot, nor after reboot, wakeup or something.
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.burobjorn.nl/blog/2009/05/26/ubuntu-sound-issue-with-macbook-21-solved/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sound and Xmonad on Hardy Heron aka Ubuntu 8.04</title>
		<link>http://www.burobjorn.nl/blog/2008/05/24/sound-and-xmonad-on-hardy-heron-aka-ubuntu-804/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=sound-and-xmonad-on-hardy-heron-aka-ubuntu-804</link>
		<comments>http://www.burobjorn.nl/blog/2008/05/24/sound-and-xmonad-on-hardy-heron-aka-ubuntu-804/#comments</comments>
		<pubDate>Sat, 24 May 2008 09:44:37 +0000</pubDate>
		<dc:creator>BjornW</dc:creator>
				<category><![CDATA[geek]]></category>
		<category><![CDATA[open-source]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.burobjorn.nl/blog/?p=333</guid>
		<description><![CDATA[If you use the window manager xmonad and want to listen to some tunes using herrie make sure the pulseaudio server is running. In my case it wasn&#8217;t so after starting up xmonad I typed: pulseaudio -D This wil start the pulseaudio server as a daemon and now you should be able to enjoy some [...]<br /><a href="http://www.burobjorn.nl/blog/2008/05/24/sound-and-xmonad-on-hardy-heron-aka-ubuntu-804/">Lees verder &#8594;</a>]]></description>
			<content:encoded><![CDATA[<p>If you use the <a href="http://en.wikipedia.org/wiki/Window_manager">window manager</a> <a href="http://xmonad.org/">xmonad</a> and want to listen to some tunes using <a href="http://herrie.info">herrie</a> make sure the <a href="http://www.pulseaudio.org">pulseaudio</a> server is running. In my case it wasn&#8217;t so after starting up xmonad I typed:</p>
<p><code>pulseaudio -D</code></p>
<p>This wil start the pulseaudio server as a daemon and now you should be able to enjoy some musica.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.burobjorn.nl/blog/2008/05/24/sound-and-xmonad-on-hardy-heron-aka-ubuntu-804/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install swfmill on Ubuntu 7.10</title>
		<link>http://www.burobjorn.nl/blog/2008/04/07/install-swfmill-on-ubuntu-710/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=install-swfmill-on-ubuntu-710</link>
		<comments>http://www.burobjorn.nl/blog/2008/04/07/install-swfmill-on-ubuntu-710/#comments</comments>
		<pubDate>Mon, 07 Apr 2008 14:56:45 +0000</pubDate>
		<dc:creator>BjornW</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.burobjorn.nl/blog/?p=324</guid>
		<description><![CDATA[First download the swfmill package (I used the 0.2.12 package and downloaded the Linux source files) from http://www.swfmill.org. Unpack the files and open a terminal. Navigate to the directory in which the files have been unpacked using the command line. Make sure you have installed the libxml2-dev, libxslt1-dev, libfreetype6-dev, libpng12-dev packages or install them now [...]<br /><a href="http://www.burobjorn.nl/blog/2008/04/07/install-swfmill-on-ubuntu-710/">Lees verder &#8594;</a>]]></description>
			<content:encoded><![CDATA[<p>First download the swfmill package (I used the 0.2.12 package and downloaded the Linux source files) from <a href="http://www.swfmill.org/">http://www.swfmill.org</a>. Unpack the files and open a terminal. Navigate to the directory in which the files have been unpacked using the command line. Make sure you have installed the libxml2-dev, libxslt1-dev, libfreetype6-dev, libpng12-dev packages or install them now using <a href="http://www.nongnu.org/synaptic/">Synaptic</a>. Now use the holy trinity of compiling software on *nix:</p>
<p>First:<br />
<code>./configure</code></p>
<p>Second:<br />
<code>make</code></p>
<p>Third:<br />
<code>sudo make install</code></p>
<p>Now swfmill should be properly installed. Check this by typing:</p>
<p><code>swfmill -h</code></p>
<p>It should show you the possible options with sfwmill. </p>
<p><strong>ERROR?</strong><br />
If you get an error message such as: &#8216; swfmill: error while loading shared libraries: libswft.so.0: cannot<br />
open shared object file: No such file or directory&#8217; then there is probably an issue with swfmill not finding a dynamic library due to the path not being set. According to <a href="http://osflash.org/pipermail/swfmill_osflash.org/2007-March/001203.html">this message</a> on the <a href="http://osflash.org/mailman/listinfo/swfmill_osflash.org">swfmill mailinglist</a> you can fix this by running:</p>
<p><code>sudo /sbin/ldconfig -v</code></p>
<p>In my case this solved the issue. Questions, remarks? feel free to leave a comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.burobjorn.nl/blog/2008/04/07/install-swfmill-on-ubuntu-710/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Setting up HaXe on Ubuntu 7.10</title>
		<link>http://www.burobjorn.nl/blog/2008/04/07/setting-up-haxe-on-ubuntu-710/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=setting-up-haxe-on-ubuntu-710</link>
		<comments>http://www.burobjorn.nl/blog/2008/04/07/setting-up-haxe-on-ubuntu-710/#comments</comments>
		<pubDate>Mon, 07 Apr 2008 13:52:19 +0000</pubDate>
		<dc:creator>BjornW</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[open-source]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.burobjorn.nl/blog/?p=322</guid>
		<description><![CDATA[I wrote this small guide so other people might benefit from my experiences. Feel free to leave a comment if you have any questions or remarks. First a quick introduction: haXe is a high-level object-oriented programming language mainly focused on helping programers develop Websites and Web applications. haXe has been designed to be easily portable [...]<br /><a href="http://www.burobjorn.nl/blog/2008/04/07/setting-up-haxe-on-ubuntu-710/">Lees verder &#8594;</a>]]></description>
			<content:encoded><![CDATA[<p>I wrote this small guide so other people might benefit from my experiences. Feel free to leave a comment if you have any questions or remarks. First a quick introduction:</p>
<blockquote><p>haXe is a high-level object-oriented programming language mainly focused on helping programers develop Websites and Web applications. haXe has been designed to be easily portable across several platforms.<br />
source: <a href="http://www.haxe.org">haxe.org</a></p></blockquote>
<p>I downloaded the Linux installer and also the HaXe 1.18 for Linux and Neko VM 1.70 zipped files into one directory. Then started a terminal and navigated to this directory and started the installer:</p>
<p><code>sudo ./hxinst-linux</code></p>
<p>This launched the GUI installer, which used my previous downloaded zipped versions of HaXe and Neko instead of downloading them again. Nice! I closed the window after the installer finished and typed in the terminal:</p>
<p><code>haxe</code></p>
<p>This resulted in a long list of options possible with haxe. Installation succeeded! Next: install swfmill</p>
]]></content:encoded>
			<wfw:commentRss>http://www.burobjorn.nl/blog/2008/04/07/setting-up-haxe-on-ubuntu-710/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

