<?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>Shami&#039;s Blog &#187; Linux</title>
	<atom:link href="http://blog.al-shami.net/category/technical/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.al-shami.net</link>
	<description>A Mushroom A Day Keeps The Koopas Away</description>
	<lastBuildDate>Wed, 03 Aug 2011 18:39:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Using the @ZainJo HSPA Dongle With Ubuntu Linux</title>
		<link>http://blog.al-shami.net/2011/04/using-the-zainjo-hspa-dongle-with-ubuntu-linux/</link>
		<comments>http://blog.al-shami.net/2011/04/using-the-zainjo-hspa-dongle-with-ubuntu-linux/#comments</comments>
		<pubDate>Mon, 04 Apr 2011 20:35:17 +0000</pubDate>
		<dc:creator>Mohammad Al-Shami</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[10.10]]></category>
		<category><![CDATA[E367]]></category>
		<category><![CDATA[Huawei]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.al-shami.net/?p=388</guid>
		<description><![CDATA[After my experience with Zain&#8217;s WiMAX, I didn&#8217;t think I&#8217;d be using their service again. But Zain gave me a 21Mbps dongle (The Huawei E367) for free as to see how much better the new service is and I thought I might as well try it. I&#8217;ll be writing on my experience with the service [...]]]></description>
			<content:encoded><![CDATA[<p>After my experience with Zain&#8217;s WiMAX, I didn&#8217;t think I&#8217;d be using their service again. But Zain gave me a 21Mbps dongle (The Huawei E367) for free as to see how much better the new service is and I thought I might as well try it. I&#8217;ll be writing on my experience with the service in a separate post inshalla.</p>
<p>I&#8217;m a big Ubuntu fan and been using it as my primary desktop since 2007, and Linux compatibility has always been absent in the mobile Internet world. I wasn&#8217;t gonna switch my primary OS just to use a USB dongle.</p>
<p>After plugging it in nothing happened, didn&#8217;t see a notice on the screen, no pop-pups or anything to show that something happened. After a quick lsusb I found this:</p>
<p>Bus 002 Device 005: ID 12d1:14ac Huawei Technologies Co., Ltd.</p>
<p>Kudos Huawei on showing us Linux users some love. Zain gets extra points for this choice.</p>
<p>Ok let&#8217;s get this bad boy configured. I got the settings from Zain&#8217;s Windows application. The following was done on Ubuntu 10.10, other distributions might vary.</p>
<p style="text-align: left;">1) If the dongle was unplugged when you booted your computer, restart Network Manager (sudo service network-manager restart), wait a few seconds, then right click the Network Manager icon and choose &#8220;Edit Connections&#8230;&#8221;<br />
<img class="size-full wp-image-403 aligncenter" title="Screenshot-1" src="http://blog.al-shami.net/wp-content/uploads/2011/04/Screenshot-1.png" alt="" width="223" height="185" /><br />
2) Go to the &#8220;Mobile Broadband&#8221; tab and click &#8220;Add&#8221; (You will not see &#8220;Zain Jordan&#8221; on your screen)<br />
<img class="aligncenter size-full wp-image-391" title="Screenshot-2" src="http://blog.al-shami.net/wp-content/uploads/2011/04/Screenshot-2.png" alt="" width="484" height="335" />3) The following screen will show up, if you didn&#8217;t restart Network Manager you will not see the Huawei modem, click &#8220;Forward&#8221;<br />
<img class="aligncenter size-full wp-image-392" title="Screenshot-3" src="http://blog.al-shami.net/wp-content/uploads/2011/04/Screenshot-3.png" alt="" width="621" height="467" />4) Choose &#8220;United States&#8221; then click &#8220;Forward&#8221;, don&#8217;t bother looking for Jordan, you won&#8217;t find it<br />
<img class="aligncenter size-full wp-image-393" title="Screenshot-4" src="http://blog.al-shami.net/wp-content/uploads/2011/04/Screenshot-4.png" alt="" width="620" height="463" />5) Choose &#8220;I can&#8217;t find my provider and I wish to enter it manually&#8221;, then enter any name you desire, I chose &#8220;Zain Jordan&#8221;<br />
<img class="aligncenter size-full wp-image-394" title="Screenshot-5" src="http://blog.al-shami.net/wp-content/uploads/2011/04/Screenshot-5.png" alt="" width="618" height="466" />6) Choose &#8220;My plan is not listed&#8230;&#8221; and for &#8220;Selected plan APN (Access Point Name)&#8221; enter &#8220;zain&#8221;, all lower case letters, without the quotes, then click &#8220;Forward&#8221;<br />
<img class="aligncenter size-full wp-image-395" title="Screenshot-6" src="http://blog.al-shami.net/wp-content/uploads/2011/04/Screenshot-6.png" alt="" width="620" height="468" />7) Click &#8220;Apply&#8221;<br />
<img class="aligncenter size-full wp-image-396" title="Screenshot-7" src="http://blog.al-shami.net/wp-content/uploads/2011/04/Screenshot-7.png" alt="" width="621" height="466" />8 ) The following window appears, don&#8217;t change anything except &#8220;Username&#8221; and &#8220;Password&#8221;, set them to &#8220;Zain&#8221;, all lower case except for the Z, then click on &#8220;Apply&#8221;<br />
<img class="aligncenter size-full wp-image-397" title="Screenshot-8" src="http://blog.al-shami.net/wp-content/uploads/2011/04/Screenshot-8.png" alt="" width="485" height="574" />9) You&#8217;re all set, to connect, left click on your Network Manager icon and choose your connection name<br />
<img class="aligncenter size-full wp-image-404" title="Screenshot-9" src="http://blog.al-shami.net/wp-content/uploads/2011/04/Screenshot-9.png" alt="" width="230" height="220" />If you face any issues, just remove the dongle, reconnect, then restart Network Manager.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.al-shami.net/2011/04/using-the-zainjo-hspa-dongle-with-ubuntu-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 10.04</title>
		<link>http://blog.al-shami.net/2010/05/ubuntu-10-04/</link>
		<comments>http://blog.al-shami.net/2010/05/ubuntu-10-04/#comments</comments>
		<pubDate>Sun, 02 May 2010 06:29:50 +0000</pubDate>
		<dc:creator>Mohammad Al-Shami</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Google Talk]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.al-shami.net/?p=239</guid>
		<description><![CDATA[When Ubuntu 9.10 came out I was very eager to try it, but sadly I was very disappointed. So when I was downloading 10.04 I wasn&#8217;t really expecting anything. I&#8217;m glad I was wrong. So far it appears the sound and flash issues have been fixed. Empathy seems to have gotten some improvements. Most noticeable [...]]]></description>
			<content:encoded><![CDATA[<p>When Ubuntu 9.10 came out I was very eager to try it, but sadly I was very disappointed. So when I was downloading 10.04 I wasn&#8217;t really expecting anything. I&#8217;m glad I was wrong.</p>
<p>So far it appears the sound and flash issues have been fixed. Empathy seems to have gotten some improvements. Most noticeable are the fact it now saves the window position of the contact list, and gives you an indication when the person you&#8217;re chatting with on Google Talk is typing something on the keyboard.</p>
<p>If you hate the new window button placement, like I do, here&#8217;s how to fix it:</p>
<ol>
<li>Open gconf-editor</li>
<li>Got to /apps/metacity/general</li>
<li>Change &#8220;button_layout&#8221; to &#8220;menu:minimize,maximize,close&#8221;</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.al-shami.net/2010/05/ubuntu-10-04/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Speeding up Firefox under Ubuntu</title>
		<link>http://blog.al-shami.net/2010/02/speeding-up-firefox-under-ubuntu/</link>
		<comments>http://blog.al-shami.net/2010/02/speeding-up-firefox-under-ubuntu/#comments</comments>
		<pubDate>Sun, 14 Feb 2010 09:16:08 +0000</pubDate>
		<dc:creator>Mohammad Al-Shami</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[disable]]></category>
		<category><![CDATA[Karmic Koala]]></category>
		<category><![CDATA[Tell Firefox]]></category>
		<category><![CDATA[Tweak Firefox]]></category>

		<guid isPermaLink="false">http://blog.al-shami.net/?p=220</guid>
		<description><![CDATA[Ever wonder why browsing under Ubuntu is slower than Windows even on the same network? Well, it has to do with Ubuntu enabling IPv6 by default. This means Ubuntu will try IPv4 only after IPv6 times out. Also, Firefox comes built with Pango by default which makes it slower than it should be. I&#8217;ve fixed [...]]]></description>
			<content:encoded><![CDATA[<p>Ever wonder why browsing under Ubuntu is slower than Windows even on the same network? Well, it has to do with Ubuntu enabling IPv6 by default. This means Ubuntu will try IPv4 only after IPv6 times out. Also, Firefox comes built with Pango by default which makes it slower than it should be. I&#8217;ve fixed that on Karmic Koala, other versions should be similar. Here&#8217;s how to do it:</p>
<p>
<h3>Disable IPv6 globally:</h3>
<pre><code>sudo vi /etc/default/grub</code></pre>
<p> then find
<pre><code>GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"</code></pre>
<p> and replace it with
<pre><code>GRUB_CMDLINE_LINUX_DEFAULT=”ipv6.disable=1 quiet splash”</code></pre>
<p> Then update grub from the command line
<pre><code>sudo update-grub</code></pre>
</p>
<h3>Tell Firefox not to load Pango:</h3>
<pre><code>vi ~/.bashrc</code></pre>
<p> and add
<pre><code>MOZ_DISABLE_PANGO=1</code></pre>
<p>at the end</p>
<h3>Tweak Firefox&#8217;s about:config settings:</h3>
<pre><code>network.http.pipelining -> True
- network.http.pipelining.maxrequests -> 8 or 10
- network.http.proxy.pipelining -> True
- network.dns.disableIPv6 -> True</code></pre>
<p>Enjoy</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.al-shami.net/2010/02/speeding-up-firefox-under-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cleaning up your boot partition with Ubuntu</title>
		<link>http://blog.al-shami.net/2009/12/cleaning-up-your-boot-partition-with-ubuntu/</link>
		<comments>http://blog.al-shami.net/2009/12/cleaning-up-your-boot-partition-with-ubuntu/#comments</comments>
		<pubDate>Fri, 25 Dec 2009 13:20:51 +0000</pubDate>
		<dc:creator>Mohammad Al-Shami</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://blog.al-shami.net/?p=208</guid>
		<description><![CDATA[If you haven&#8217;t reinstalled Ubuntu in a while, the /boot partition will eventually fill up with all the updated kernels, and you&#8217;ll get an error when trying update. At first I used to uninstall the old kernels manually but being lazy I think it&#8217;s too much work. When you get the error with update-manager or [...]]]></description>
			<content:encoded><![CDATA[<p>If you haven&#8217;t reinstalled Ubuntu in a while, the /boot partition will eventually fill up with all the updated kernels, and you&#8217;ll get an error when trying update.</p>
<p>At first I used to uninstall the old kernels manually but being lazy I think it&#8217;s too much work. When you get the error with update-manager or Synaptic try this:</p>
<pre><code>
sudo aptitude search linux -w 160 | egrep '(image|headers|restricted)' | egrep '^i' | grep -v 'KERNEL_VERSION' | grep -v -P '[^d]-generic' | grep -v linux-restricted-modules-common | sed 's/i A/i  /' | awk '{print $2}' | xargs sudo aptitude remove
</code></pre>
<p>Replace &#8220;KERNEL_VERSION&#8221; with your currently running kernel.</p>
<p>This might break your grub configuration but update-manager will fix that for you so no need to worry. Just make sure you run this BEFORE update-manager does the update.</p>
<p>To be honest I didn&#8217;t try this without &#8220;grep -v &#8216;KERNEL_VERSION&#8217;&#8221; so I&#8217;m not sure if removing it would break something. Just leave it there to be safe.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.al-shami.net/2009/12/cleaning-up-your-boot-partition-with-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Empathy, the new kid on the block</title>
		<link>http://blog.al-shami.net/2009/02/empathy-the-new-kid-on-the-block/</link>
		<comments>http://blog.al-shami.net/2009/02/empathy-the-new-kid-on-the-block/#comments</comments>
		<pubDate>Thu, 05 Feb 2009 07:26:35 +0000</pubDate>
		<dc:creator>Mohammad Al-Shami</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[IMHO]]></category>
		<category><![CDATA[IP]]></category>
		<category><![CDATA[MSN]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://blog.al-shami.net/?p=69</guid>
		<description><![CDATA[If you&#8217;ve used Linux as a desktop, you&#8217;ll know it&#8217;s only playing catch-up when it comes to instant messaging. I&#8217;ve been using Pidgin since was called Gaim, I think I started using it back in 2003. I love how minimalistic it is. Sadly the developers are going nowhere with it, at least that&#8217;s my (as [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve used Linux as a desktop, you&#8217;ll know it&#8217;s only playing catch-up when it comes to instant messaging. I&#8217;ve been using Pidgin since was called Gaim, I think I started using it back in 2003. I love how minimalistic it is. Sadly the developers are going nowhere with it, at least that&#8217;s my (as well as a few others) humble opinion.</p>
<p>I stumbled upon <a href="http://ubuntuforums.org/showthread.php?t=876847">this post</a> which mentions a new (or maybe just new to me) client called <a href="http://live.gnome.org/Empathy">Empathy</a>. After playing with it for a few days now I think it has great potential. It&#8217;s still pretty basic but also under heavy development. It&#8217;s very minimalistic and uses the Telepathy library, which IMHO is a better approach than Pidgin&#8217;s libpurple.</p>
<p>It still doesn&#8217;t have proxy support, but you can work around that, at least for MSN and Gtalk, the protocols that I use. Here is how I did it it:</p>
<p>Gtalk: Just create a tunnel with SSH</p>
<pre>
<code>
ssh -C -q -f -M 0 -N -L 5223:209.85.137.125:5223
</code>
</pre>
<p>Where 209.85.137.125 is the IP address of talk.google.com, then set the account to use localhost as a server</p>
<p>MSN is a little different, this trick didn&#8217;t work because the client connects to a login server, which redirects the client to a different server. MSN is implemented using the telepathy-butterfly executable. Just use a socks server like this:</p>
<pre>
<code>
mv /usr/lib/telepathy/telepathy-butterfly /usr/lib/telepathy/telepathy-butterfly-old
vi /usr/lib/telepathy/telepathy-butterfly

#!/bin/bash
exec /usr/bin/tsocks /usr/lib/telepathy/telepathy-butterfly-old

chmod +x /usr/lib/telepathy/telepathy-butterfly
</code>
</pre>
<p>Enjoy <img src='http://blog.al-shami.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.al-shami.net/2009/02/empathy-the-new-kid-on-the-block/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Chrome on Ubuntu</title>
		<link>http://blog.al-shami.net/2008/09/google-chrome-on-ubuntu/</link>
		<comments>http://blog.al-shami.net/2008/09/google-chrome-on-ubuntu/#comments</comments>
		<pubDate>Thu, 04 Sep 2008 22:37:35 +0000</pubDate>
		<dc:creator>Mohammad Al-Shami</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Google Chrome]]></category>

		<guid isPermaLink="false">http://blog.al-shami.net/?p=51</guid>
		<description><![CDATA[I came across this guide about installing Google Chrome under Ubuntu. It is somewhat slow, slower than Windows and much slower than Firefox but it still works, well, kinda. You have a few problems with fonts, as well as sites that don&#8217;t work properly with Chrome yet. I&#8217;m sticking with Firefox for the time being, [...]]]></description>
			<content:encoded><![CDATA[<p>I came across <a href="http://www.myscienceisbetter.info/2008/09/install-google-chrome-on-linux-using-wine.html">this guide</a> about installing Google Chrome under Ubuntu. It is somewhat slow, slower than Windows and much slower than Firefox but it still works, well, kinda. You have a few problems with fonts, as well as sites that don&#8217;t work properly with Chrome yet. I&#8217;m sticking with Firefox for the time being, but at least I have an option for those sites that aren&#8217;t compatible with it.</p>
<p>I wrote this post from Chrome, so yeah, it does work <img src='http://blog.al-shami.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.al-shami.net/2008/09/google-chrome-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Slow Browsing Under Ubuntu</title>
		<link>http://blog.al-shami.net/2008/08/slow-browsing-under-ubuntu/</link>
		<comments>http://blog.al-shami.net/2008/08/slow-browsing-under-ubuntu/#comments</comments>
		<pubDate>Sat, 23 Aug 2008 19:35:23 +0000</pubDate>
		<dc:creator>Mohammad Al-Shami</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[disable]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[EDIT]]></category>
		<category><![CDATA[Firefox Today]]></category>
		<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.al-shami.net/?p=50</guid>
		<description><![CDATA[EDIT: This post only covers IPv6, please check the update post which covers IPv6 and Firefox Today when I rebooted to my Windows installation which I very rarely do, I noticed that browsing under Windows feels much faster than under Ubuntu. After booting back to Ubuntu I noticed the &#8220;looking up domain.tld&#8221; part was taking [...]]]></description>
			<content:encoded><![CDATA[<h3>EDIT: This post only covers IPv6, please check the <a href="http://blog.al-shami.net/index.php/speeding-up-firefox-under-ubuntu/">update post</a> which covers IPv6 and Firefox</h3>
<p>Today when I rebooted to my Windows installation which I very rarely do, I noticed that browsing under Windows feels much faster than under Ubuntu. After booting back to Ubuntu I noticed the &#8220;looking up domain.tld&#8221; part was taking a lot of time, which seemed a little odd.</p>
<p>Anyways, after some googling I found out that Debian enables IPv6 by default and uses that before and uses it before IPv4. A quick remedy was:</p>
<pre><code>sudo vi /etc/modprobe.d/bad_list

#Add this line
alias net-pf-10 off</code></pre>
<p>After which you should reboot your system. Now browsing feels much faster. To speed it up a little I installed a local caching DNS server which works like a charm. A quick HOWTO can be found <a href="http://ubuntu.wordpress.com/2006/08/02/local-dns-cache-for-faster-browsing/">here</a></p>
<p>Hope this helps.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.al-shami.net/2008/08/slow-browsing-under-ubuntu/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Microsoft Keyboard Function Key Fix</title>
		<link>http://blog.al-shami.net/2008/07/microsoft-keyboard-function-key-fix/</link>
		<comments>http://blog.al-shami.net/2008/07/microsoft-keyboard-function-key-fix/#comments</comments>
		<pubDate>Mon, 14 Jul 2008 17:18:36 +0000</pubDate>
		<dc:creator>Mohammad Al-Shami</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Fwd F8]]></category>
		<category><![CDATA[Save F11]]></category>
		<category><![CDATA[Send F9]]></category>
		<category><![CDATA[Spell F10]]></category>

		<guid isPermaLink="false">http://blog.al-shami.net/?p=49</guid>
		<description><![CDATA[I&#8217;ve owned a Microsoft MultiMedia Keyboard 1.0A for years now. It&#8217;s a well belt keyboard to say the least. Only one problem though, the &#8220;F Lock&#8221; key. As a Linux user I have no use for the &#8220;Special&#8221; keys Microsoft added to the keyboard, and the button always starts turned off, no way to fix [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve owned a Microsoft MultiMedia Keyboard 1.0A for years now. It&#8217;s a well belt keyboard to say the least. Only one problem though, the &#8220;F Lock&#8221; key. As a Linux user I have no use for the &#8220;Special&#8221; keys Microsoft added to the keyboard, and the button always starts turned off, no way to fix it.</p>
<p>I used to keep my PC on at all times so I only needed to press that button every couple of months, or when I want to take a screenshot, but now I started to turn it off at night, and having to press that stupid button every time I boot my system is a huge pain in the butt.</p>
<p>I found a fix for it <a href="http://www.linuxquestions.org/questions/linuxanswers-discussion-27/discussion-microsoft-keyboard-function-key-fix-248618/" target="_blank">here</a> and thought I should share</p>
<pre><code>vi /usr/local/bin/f_lock_fix
setkeycodes bb 59 # Help  -&gt; F1
setkeycodes 88 60 # Undo  -&gt; F2
setkeycodes 87 61 # Redo  -&gt; F3
setkeycodes be 62 # New   -&gt; F4
setkeycodes bf 63 # Open  -&gt; F5
setkeycodes c0 64 # Close -&gt; F6
setkeycodes c1 65 # Reply -&gt; F7
setkeycodes c2 66 # Fwd   -&gt; F8
setkeycodes c3 67 # Send  -&gt; F9
setkeycodes a3 68 # Spell -&gt; F10
setkeycodes d7 87 # Save  -&gt; F11
setkeycodes d8 88 # Print -&gt; F12
chmod 700 /usr/local/bin/f_lock_fix</code></pre>
<p>Now add this to your startup file &#8220;/etc/rc.local&#8221; or equivalent</p>
<pre><code>if [ -x /usr/local/bin/f_lock_fix ]; then
	echo "Fixing the F-Lock scan codes for F1-F12 keys...";
	/usr/local/bin/f_lock_fix;
fi</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.al-shami.net/2008/07/microsoft-keyboard-function-key-fix/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Surround sound under Ubuntu Hardy Heron</title>
		<link>http://blog.al-shami.net/2008/04/surround-sound-under-ubuntu-hardy-heron/</link>
		<comments>http://blog.al-shami.net/2008/04/surround-sound-under-ubuntu-hardy-heron/#comments</comments>
		<pubDate>Sun, 27 Apr 2008 20:50:18 +0000</pubDate>
		<dc:creator>Mohammad Al-Shami</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Creative Audigy]]></category>
		<category><![CDATA[Desktop Linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[Ubuntu Hardy Heron]]></category>

		<guid isPermaLink="false">http://blog.al-shami.net/?p=38</guid>
		<description><![CDATA[Been using Ubuntu Hardy Heron for about a month now, and I have to say it rocks, the best Desktop Linux so far. Anyways, I have a Creative Audigy 2 card since I&#8217;m not a fan of software mixing under Linux, which is connected to an old creative 4.1 set. Since I don&#8217;t have any [...]]]></description>
			<content:encoded><![CDATA[<p>Been using Ubuntu Hardy Heron for about a month now, and I have to say it rocks, the best Desktop Linux so far. </p>
<p>Anyways, I have a Creative Audigy 2 card since I&#8217;m not a fan of software mixing under Linux, which is connected to an old creative 4.1 set. Since I don&#8217;t have any space I hooked only the front speakers and use the rear channels with a headset. After upgrading to Hardy I couldn&#8217;t get the headset to work. I just found the solution on the <a href="http://ubuntuforums.org/showthread.php?t=595412&#038;page=2">Ubuntu forums</a> and thought I should document.</p>
<p>The new Ubuntu uses PulseAudio as it&#8217;s default sound engine, you can set volume levels for each application separately which is cool if you ask me. PulseAudio uses 2 channels by default. All you have to do is change:</p>
<pre><code>; default-sample-channels = 2</code></pre>
<p>To:</p>
<pre><code> default-sample-channels = 6</code></pre>
<p>In /etc/pulse/daemon.conf, then restart gdm and you&#8217;re done</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.al-shami.net/2008/04/surround-sound-under-ubuntu-hardy-heron/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Booting Windows and Linux using the NT loader</title>
		<link>http://blog.al-shami.net/2008/04/booting-windows-and-linux-using-the-nt-loader/</link>
		<comments>http://blog.al-shami.net/2008/04/booting-windows-and-linux-using-the-nt-loader/#comments</comments>
		<pubDate>Sat, 19 Apr 2008 22:48:12 +0000</pubDate>
		<dc:creator>Mohammad Al-Shami</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Install Linux]]></category>
		<category><![CDATA[NT]]></category>
		<category><![CDATA[PC]]></category>

		<guid isPermaLink="false">http://blog.al-shami.net/?p=36</guid>
		<description><![CDATA[I recently decided to install Windows on my home PC since I wanted to play some games, it&#8217;s been about 3 years since I started using Linux exclusively but thought a change would be nice. Since I didn&#8217;t find good guides I decided to write my own Why would you want to do that? Well, [...]]]></description>
			<content:encoded><![CDATA[<p>I recently decided to install Windows on my home PC since I wanted to play some games, it&#8217;s been about 3 years since I started using Linux exclusively but thought a change would be nice. Since I didn&#8217;t find good guides I decided to write my own <img src='http://blog.al-shami.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Why would you want to do that? Well, back when I used to dual boot on a single drive I used to re-install Windows very frequently. Windows wipes out grub during installation so I needed to keep grub on a separate partition.</p>
<p>This guide assumes you have 2 hard drives; one for Linux and the other for Windows, you can do the same with a single drive but with minor changes.</p>
<p>Install Windows on the first hard drive<br />
Install Linux on the second drive, and install grub on the master boot record of that drive<br />
Download <a href="http://grub4dos.sourceforge.net/">Grub4Dos</a><br />
Save grldr and menu.lst to C:<br />
Edit menu.lst and put the following:</p>
<pre><code>title Linux
chainloader (hd1)+1
rootnoverify (hd1)</code></pre>
<p>Edit your boot.ini and add the following line:</p>
<pre><code>C:GRLDR="Linux"</code></pre>
<p>Another way to do this is using <a href="http://www.winimage.com/bootpart.htm">bootpart</a>. Make sure to install grub on the first sector of the boot partition because bootpart can&#8217;t read master boot records.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.al-shami.net/2008/04/booting-windows-and-linux-using-the-nt-loader/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- This Quick Cache file was built for (  blog.al-shami.net/category/technical/linux/feed/ ) in 0.41063 seconds, on Feb 5th, 2012 at 3:48 pm UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 5th, 2012 at 4:48 pm UTC -->
