<?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's Blog &#187; Linux</title>
	<atom:link href="http://blog.al-shami.net/index.php/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>Thu, 13 May 2010 06:15:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Ubuntu 10.04</title>
		<link>http://blog.al-shami.net/index.php/ubuntu-10-04/</link>
		<comments>http://blog.al-shami.net/index.php/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[lucid]]></category>
		<category><![CDATA[lucid lynx]]></category>
		<category><![CDATA[lynx]]></category>
		<category><![CDATA[position]]></category>
		<category><![CDATA[right]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu lucid]]></category>
		<category><![CDATA[ubuntu lucid lynx]]></category>
		<category><![CDATA[ubuntu lynx]]></category>
		<category><![CDATA[window icons]]></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 are [...]]]></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/index.php/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/index.php/speeding-up-firefox-under-ubuntu/</link>
		<comments>http://blog.al-shami.net/index.php/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>

		<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/index.php/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/index.php/cleaning-up-your-boot-partition-with-ubuntu/</link>
		<comments>http://blog.al-shami.net/index.php/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 Synaptic [...]]]></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/index.php/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/index.php/empathy-the-new-kid-on-the-block/</link>
		<comments>http://blog.al-shami.net/index.php/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>

		<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/index.php/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/index.php/google-chrome-on-ubuntu/</link>
		<comments>http://blog.al-shami.net/index.php/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>

		<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/index.php/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/index.php/slow-browsing-under-ubuntu/</link>
		<comments>http://blog.al-shami.net/index.php/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[ipv6]]></category>
		<category><![CDATA[slow]]></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 a [...]]]></description>
			<content:encoded><![CDATA[<h3>EDIT: This post only covers IPv6, please check the <a href="/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/index.php/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/index.php/microsoft-keyboard-function-key-fix/</link>
		<comments>http://blog.al-shami.net/index.php/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[f lock]]></category>
		<category><![CDATA[function lock]]></category>
		<category><![CDATA[keyboard]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[Microsoft MultiMedia Keyboard 1.0A]]></category>
		<category><![CDATA[microsoft natural keyboard]]></category>
		<category><![CDATA[MultiMedia]]></category>
		<category><![CDATA[MultiMedia keyboard]]></category>
		<category><![CDATA[natural]]></category>
		<category><![CDATA[natural keyboard]]></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/index.php/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/index.php/surround-sound-under-ubuntu-hardy-heron/</link>
		<comments>http://blog.al-shami.net/index.php/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[8.04]]></category>
		<category><![CDATA[audigy]]></category>
		<category><![CDATA[audigy 2]]></category>
		<category><![CDATA[creative]]></category>
		<category><![CDATA[creative audigy]]></category>
		<category><![CDATA[creative audigy 2]]></category>
		<category><![CDATA[hardy heron]]></category>
		<category><![CDATA[pulse]]></category>
		<category><![CDATA[pulseaudio]]></category>
		<category><![CDATA[sound]]></category>
		<category><![CDATA[surround]]></category>
		<category><![CDATA[surround sound]]></category>
		<category><![CDATA[ubuntu]]></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/index.php/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/index.php/booting-windows-and-linux-using-the-nt-loader/</link>
		<comments>http://blog.al-shami.net/index.php/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[boot]]></category>
		<category><![CDATA[bootpart]]></category>
		<category><![CDATA[dual]]></category>
		<category><![CDATA[dual boot]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[grub4dos]]></category>
		<category><![CDATA[hard drive]]></category>
		<category><![CDATA[multiple]]></category>
		<category><![CDATA[multiple hard drives]]></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? [...]]]></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/index.php/booting-windows-and-linux-using-the-nt-loader/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Some Gnome key binding tips</title>
		<link>http://blog.al-shami.net/index.php/tips-for-keyboard-shortcuts-under-gnome/</link>
		<comments>http://blog.al-shami.net/index.php/tips-for-keyboard-shortcuts-under-gnome/#comments</comments>
		<pubDate>Tue, 08 Apr 2008 01:20:19 +0000</pubDate>
		<dc:creator>Mohammad Al-Shami</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.al-shami.net/?p=33</guid>
		<description><![CDATA[A few days ago I decided to bite the bullet and upgrade from Ubuntu 7.04 to 8.04. I&#8217;ve been using IceWM for a while and thought I should give Gnome a try. I&#8217;m used to Win+Something shortcuts so I wanted to implement those under Gnome. Here is a list of shortcuts that should cover the [...]]]></description>
			<content:encoded><![CDATA[<p>A few days ago I decided to bite the bullet and upgrade from Ubuntu 7.04 to 8.04. I&#8217;ve been using IceWM for a while and thought I should give Gnome a try. I&#8217;m used to Win+Something shortcuts so I wanted to implement those under Gnome. Here is a list of shortcuts that should cover the concepts:</p>
<p>Win+Q: Terminal (With some specific options)<br />
Control+Alt+W: Amarok (The W is from my Windows days, from Winamp <img src='http://blog.al-shami.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  )<br />
Alt+F5: Toggle window maximized mode<br />
Win+[ZXCVB]: Playback controls for Amarok<br />
Win+R: Run dialog</p>
<p>Let&#8217;s begin</p>
<ul>
<li>Open <a href="/images/gnome_shortcuts/gconf-editor.jpg" rel="thumbnail" rel="lightbox[33]">gconf-editor</a> and go to global_keybindings.As you can see the format isn&#8217;t hard</li>
<li>Set the value of run_command_1 to &#8220;&#060;Super&#062;q&#8221; and the value of run_command_2 to &#8220;&#060;Alt&#062;&#060;Control&#062;w&#8221; without the quotes (Those correspond to Win+Q and Control+Alt+W)</li>
<li>Now go to keybinding_commands</li>
<li>Set the value of command_1 to &#8220;xterm -ls -fg white -bg black -cc 33:48,37:48,45-47:48,38:48,58:48&#8243; and the value of command_2 to &#8220;amarok&#8221; without the quotes. Now test Win+Q and Control+Alt+W</li>
<li>Go to windows_keybindings</li>
<li>Set the value of toggle_maximized to &#8220;&#060;Alt&#062;F5&#8243;. Now test</li>
<li>Run dialog is set using panel_run_dialog under global_keybindings, I set it to &#8220;&#060;Super&#062;r&#8221;. Amarok sets the playback keys by default, but you&#8217;ll notice that both Win+R and Win+V don&#8217;t work. This happens because Compiz is the default window manager now. To fix this install compizconfig-settings-manager, go to &#8220;Advanced Desktop Effects Settings&#8221; and disable &#8220;Enhanced Zoom Desktop&#8221; or change the key bindings. This will free both key bindings so you can use them here</li>
</ul>
<p>Edit: A weird thing happened to me today, I set the &#8220;Visual Effects&#8221; in appearance to &#8220;None&#8221; and suddenly my shortcuts stopped working. The solution to this is simple, make sure you use &#8220;&#060;Super&#062;r&#8221;, not &#8220;&#060;Super&#062; R&#8221;; Note the extra space before the &#8220;R&#8221;. Omitting this space works in both cases, something to keep in mind.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.al-shami.net/index.php/tips-for-keyboard-shortcuts-under-gnome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
