<?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>KADIMI &#187; Linux</title>
	<atom:link href="http://www.kadimi.com/en/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kadimi.com/en</link>
	<description>[Web developper, Linux addict, Technical translator...]</description>
	<lastBuildDate>Tue, 08 May 2012 17:46:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Super key / Alt+F2 not working in Ubuntu 11.10</title>
		<link>http://www.kadimi.com/en/ubuntu-alt-f2-2-851</link>
		<comments>http://www.kadimi.com/en/ubuntu-alt-f2-2-851#comments</comments>
		<pubDate>Thu, 20 Oct 2011 12:19:23 +0000</pubDate>
		<dc:creator>Nabil</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.kadimi.com/en/?p=851</guid>
		<description><![CDATA[<a href="http://www.kadimi.com/en/ubuntu-alt-f2-2-851"><img align="left" hspace="5" width="150" src="http://www.kadimi.com/en/wp-content/uploads/compiz-unity-300x194.png" class="alignleft wp-post-image tfe" alt="Compiz &gt; Unity" title="Compiz &gt; Unity" /></a>This happened to me in Ubuntu 11.10 (Oneiric Ocelot) when I was playing with some Compiz settings. To have your shortcuts back, go to the CompizConfig Settings Manager, to do that bring up a terminal window with the shortcut ctrl+alt+t the type ccsm: imame@meta:~$ ccsm If you are using Unity open Desktop > Ubuntu Unity [...]]]></description>
			<content:encoded><![CDATA[<p>This happened to me in Ubuntu 11.10 (Oneiric Ocelot) when I was playing with some Compiz settings. To have your shortcuts back, go to the CompizConfig Settings Manager, to do that bring up a terminal window with the shortcut ctrl+alt+t the type ccsm:</p>

<div class="wp_syntax"><div class="code"><pre class="shell" style="font-family:monospace;">imame@meta:~$ ccsm</pre></div></div>

<p>If you are using Unity open Desktop > Ubuntu Unity Plugin but if you are using Gnome shell choose General > Gnome Compatibily &#8211; anyways, choose whichever is already checked, one the next window check that the shortcuts are enabled and configured correctly<br />
<div id="attachment_853" class="wp-caption alignnone" style="width: 310px"><a href="http://www.kadimi.com/en/wp-content/uploads/compiz-unity.png"><img src="http://www.kadimi.com/en/wp-content/uploads/compiz-unity-300x194.png" alt="Compiz &gt; Unity" title="Compiz &gt; Unity" width="300" height="194" class="size-medium wp-image-853" /></a><p class="wp-caption-text">Compiz &gt; Unity</p></div> <div id="attachment_852" class="wp-caption alignnone" style="width: 310px"><a href="http://www.kadimi.com/en/wp-content/uploads/compiz-gnome.png"><img src="http://www.kadimi.com/en/wp-content/uploads/compiz-gnome-300x194.png" alt="Compiz &gt; Gnome Compatibility" title="Compiz &gt; Gnome Compatibility" width="300" height="194" class="size-medium wp-image-852" /></a><p class="wp-caption-text">Compiz &gt; Gnome Compatibility</p></div></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kadimi.com/en/ubuntu-alt-f2-2-851/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Classical Gnome in Ubuntu 11.10 (Oneiric Ocelot)</title>
		<link>http://www.kadimi.com/en/ubuntu-oneiric-gnome-837</link>
		<comments>http://www.kadimi.com/en/ubuntu-oneiric-gnome-837#comments</comments>
		<pubDate>Wed, 19 Oct 2011 13:39:13 +0000</pubDate>
		<dc:creator>Nabil</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.kadimi.com/en/?p=837</guid>
		<description><![CDATA[Install necessary packages In order to have Gnome classical appearance on Ubuntu 11.10 you need to install gnome-shell and gnome-panel, a following reboot -from my experience &#8211; is preferable. imame@meta:~$ sudo apt-get install gnome-shell gnome-panel imame@meta:~$ # blabla while packages are being installed imame@meta:~$ sudo reboot Log in using Gnome Classical Before opening your session, [...]]]></description>
			<content:encoded><![CDATA[<h2>Install necessary packages</h2>
<p>In order to have Gnome classical appearance on Ubuntu 11.10 you need to install gnome-shell and gnome-panel, a following reboot -from my experience &#8211; is preferable.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">imame<span style="color: #000000; font-weight: bold;">@</span>meta:~$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> gnome-shell gnome-panel
imame<span style="color: #000000; font-weight: bold;">@</span>meta:~$ <span style="color: #666666; font-style: italic;"># blabla while packages are being installed</span>
imame<span style="color: #000000; font-weight: bold;">@</span>meta:~$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> reboot</pre></div></div>

<h2>Log in using Gnome Classical</h2>
<p>Before opening your session, clear the gear next to your name and choose Gnome Classical.</p>
<h2>Tweak with Gnome Tweak Tool</h2>
<p>You can personalize you desktop with the Gnome Tweak Tool:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">imame<span style="color: #000000; font-weight: bold;">@</span>meta:~$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> gnome-tweak-tool</pre></div></div>

<p>The launcher is located here: Applications > Others > Advanced Settings</p>
<h2>Where is &#8220;Add to panel&#8221; and others?</h2>
<p>Now in order to have the penel related options a simple right click won&#8217;t work, you need to Alt+ right click</p>
<p>Thanks for reading!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kadimi.com/en/ubuntu-oneiric-gnome-837/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP with IMAP on CentOS</title>
		<link>http://www.kadimi.com/en/centos-php-imap-506</link>
		<comments>http://www.kadimi.com/en/centos-php-imap-506#comments</comments>
		<pubDate>Mon, 15 Mar 2010 10:46:35 +0000</pubDate>
		<dc:creator>Nabil</dc:creator>
				<category><![CDATA[CentOs]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[httpd]]></category>
		<category><![CDATA[imap]]></category>

		<guid isPermaLink="false">http://www.kadimi.com/en/?p=506</guid>
		<description><![CDATA[I was playing with Drupal 6 and some UberCart ticket module when I came across an error message where Drupal told me that it needed the IMAP PHP extension to be installed. Because I&#8217;m a nice guy I will share this command with you: 1 &#91;me@it ~&#93;# yum install php-imap Now it&#8217;s installed, proof: 1 [...]]]></description>
			<content:encoded><![CDATA[<p>I was playing with Drupal 6 and some UberCart ticket module when I came across an error message where Drupal told me that it needed the IMAP PHP extension to be installed.</p>
<p>Because I&#8217;m a nice guy I will share this command with you:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="powershell" style="font-family:monospace;"><span style="color: #000000;">&#91;</span>me<span style="color: pink;">@</span>it ~<span style="color: #000000;">&#93;</span><span style="color: #008000;"># yum install php-imap</span></pre></td></tr></table></div>

<p>Now it&#8217;s installed, proof:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code"><pre class="powershell" style="font-family:monospace;"><span style="color: #000000;">&#91;</span>me<span style="color: pink;">@</span>it ~<span style="color: #000000;">&#93;</span><span style="color: #008000;"># php --ri imap</span>
&nbsp;
imap
&nbsp;
IMAP c<span style="color: pink;">-</span>Client Version <span style="color: pink;">=&gt;</span> <span style="color: #804000;">2004</span>
SSL Support <span style="color: pink;">=&gt;</span> enabled
Kerberos Support <span style="color: pink;">=&gt;</span> enabled
<span style="color: #000000;">&#91;</span>me<span style="color: pink;">@</span>it ~<span style="color: #000000;">&#93;</span><span style="color: #008000;">#</span></pre></td></tr></table></div>

<p>If it wasn&#8217;t installed it would have shown you:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="powershell" style="font-family:monospace;"><span style="color: #000000;">&#91;</span>me<span style="color: pink;">@</span>it ~<span style="color: #000000;">&#93;</span><span style="color: #008000;"># php --ri imap</span>
Extension <span style="color: #800000;">'imap'</span> not present.</pre></td></tr></table></div>

<p>But of course it isn&#8217;t working&#8230; yet, untill you restart the Apache server daemon</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="powershell" style="font-family:monospace;"><span style="color: #000000;">&#91;</span>me<span style="color: pink;">@</span>it ~<span style="color: #000000;">&#93;</span><span style="color: #008000;"># service httpd restart</span></pre></td></tr></table></div>

<p>And because I&#8217;m a nice guy I will tell you where I found the first command before even you ask: <a href="http://www.php.net/manual/en/imap.setup.php">http://www.php.net/manual/en/imap.setup.php</a></p>
<p>The PHP manual is always a good place to start, oh&#8230; and don&#8217;t underestimate comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kadimi.com/en/centos-php-imap-506/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vsftpd: 500 OOPS: unrecognised variable in config file</title>
		<link>http://www.kadimi.com/en/vsftpd-500-oops-unrecognised-variable-in-config-file-478</link>
		<comments>http://www.kadimi.com/en/vsftpd-500-oops-unrecognised-variable-in-config-file-478#comments</comments>
		<pubDate>Thu, 18 Feb 2010 21:10:57 +0000</pubDate>
		<dc:creator>Nabil</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[vsftpd]]></category>

		<guid isPermaLink="false">http://www.kadimi.com/en/?p=478</guid>
		<description><![CDATA[Question When I start vsftpd on my CentOs machine I get this error: Starting vsftpd for vsftpd: 500 OOPS: unrecognised variable in config file:  anonymous_enable How can I fix it? Answer The option &#8220;anonymous_enable&#8221; is a valid vsftpd option, but as you can see on the error message, there is an extra white space before the [...]]]></description>
			<content:encoded><![CDATA[<h2>Question</h2>
<p>When I start vsftpd on my CentOs machine I get this error:</p>
<blockquote><p><code>Starting vsftpd for vsftpd: 500 OOPS: unrecognised variable in config file:  anonymous_enable</code></p></blockquote>
<p>How can I fix it?</p>
<h2>Answer</h2>
<p>The option &#8220;anonymous_enable&#8221; is a valid vsftpd option, but as you can see on the error message, there is an extra white space before the variable definition, I suspect that the line was there, commented, and that when you uncommented it you forgot to remove the white space after the &#8220;#&#8221;, check your vsftpd.conf file make sure that &#8220;anonymous_enable=YES&#8221; or &#8220;anonymous_enable=NO&#8221; stands on a single line without any preceding spaces then start vsftpd:</p>
<blockquote><p><code>service vsftpd start</code></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.kadimi.com/en/vsftpd-500-oops-unrecognised-variable-in-config-file-478/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to upgrade Ubuntu from 8.10 to 9.04 using the command line and the Internet?</title>
		<link>http://www.kadimi.com/en/cli-internet-upgrade-301</link>
		<comments>http://www.kadimi.com/en/cli-internet-upgrade-301#comments</comments>
		<pubDate>Sat, 08 Aug 2009 01:19:49 +0000</pubDate>
		<dc:creator>Nabil</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.kadimi.com/en/?p=301</guid>
		<description><![CDATA[You can upgrade your linux system using the package manager APT which is available on debian based distributions: First we have to update all the packages installed: $ sudo apt-get update $ sudo apt-get upgrade Now we make sure that we have the update-manager-core package installed with: sudo apt-get install update-manager-core Then we start the [...]]]></description>
			<content:encoded><![CDATA[<p>You can upgrade your linux system using the package manager <strong>APT</strong> which is available on debian based distributions:</p>
<p>First we have to update all the packages installed:</p>
<blockquote><p><code>$ sudo apt-get update<br />
$ sudo apt-get upgrade</code></p></blockquote>
<p>Now we make sure that we have the  update-manager-core package installed with:</p>
<blockquote><p><code>sudo apt-get install update-manager-core</code></p></blockquote>
<p>Then we start the upgrade</p>
<blockquote><p><code>sudo do-release-upgrade</code></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.kadimi.com/en/cli-internet-upgrade-301/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install PHP 5.2.6 on CentOs 5.x</title>
		<link>http://www.kadimi.com/en/centos-php-5-2-6-174</link>
		<comments>http://www.kadimi.com/en/centos-php-5-2-6-174#comments</comments>
		<pubDate>Wed, 24 Jun 2009 10:27:22 +0000</pubDate>
		<dc:creator>Nabil</dc:creator>
				<category><![CDATA[CentOs]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.kadimi.com/en/?p=174</guid>
		<description><![CDATA[Oddly enough, PHP 5.2.6 is still not available on the default CentOS repositories ([base], [updates], [addons], and [extras]), the latest PHP version available in those repos is PHP 5.1.6! In order to install PHP 5.2.6 you can add the CentOS testing repository and enable it then install or update PHP. To add the CentOS testing [...]]]></description>
			<content:encoded><![CDATA[<p>Oddly enough, <strong>PHP 5.2.6</strong> is still not available on the default CentOS repositories ([base], [updates], [addons], and [extras]), the latest PHP version available in those repos is PHP 5.1.6!</p>
<p>In order to install PHP 5.2.6 you can add the CentOS testing repository and enable it then install or update PHP.</p>
<p>To add the CentOS testing directory, create a file /etc/yum.repos.d/centos-test.repo and add this line:</p>
<blockquote><p><code>[c5-testing]<br />
name=CentOS-5 Testing<br />
baseurl=http://dev.centos.org/centos/5/testing/$basearch/<br />
enabled=1<br />
gpgcheck=1<br />
gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing<br />
</code></p></blockquote>
<p>Then install or update PHP:</p>
<blockquote><p><code>[root@server ~]# yum install php</code></p></blockquote>
<p>or</p>
<blockquote><p><code>[root@server ~]# yum update php</code></p></blockquote>
<p>Then you can disable the testing repo by editing the file and setting the option &#8220;enabled&#8221; to &#8220;0&#8243;</p>
<blockquote><p><code>[c5-testing]<br />
name=CentOS-5 Testing<br />
baseurl=http://dev.centos.org/centos/5/testing/$basearch/<br />
enabled=0<br />
gpgcheck=1<br />
gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing<br />
</code></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.kadimi.com/en/centos-php-5-2-6-174/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to read .chm files in Ubuntu</title>
		<link>http://www.kadimi.com/en/read-chm-files-138</link>
		<comments>http://www.kadimi.com/en/read-chm-files-138#comments</comments>
		<pubDate>Sat, 20 Jun 2009 23:33:59 +0000</pubDate>
		<dc:creator>Nabil</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[CHM]]></category>
		<category><![CDATA[gnome]]></category>

		<guid isPermaLink="false">http://www.kadimi.com/en/?p=138</guid>
		<description><![CDATA[<a href="http://www.kadimi.com/en/read-chm-files-138"><img align="left" hspace="5" width="150" height="150" src="http://www.kadimi.com/en/wp-content/uploads/xchm-inst-150x150.gif" class="alignleft wp-post-image tfe" alt="xchm installation" title="xchm installation" /></a>This tutorial assumes that you are a sudoer running Gnome What is .chm Wikipedia says: Microsoft Compiled HTML Help is a proprietary format for online help files, developed by Microsoft and first released in 1997 as a successor to the Microsoft WinHelp format. It was first introduced with the release of Windows 98, and is [...]]]></description>
			<content:encoded><![CDATA[<p><em>This tutorial assumes that you are a sudoer running Gnome</em></p>
<h2>What is .chm</h2>
<p>Wikipedia says:</p>
<blockquote><p>Microsoft Compiled HTML Help is a proprietary format for online help files, developed by Microsoft and first released in 1997 as a successor to the Microsoft WinHelp format. It was first introduced with the release of Windows 98, and is still supported and distributed through Windows XP and Vista platforms.</p></blockquote>
<h2>Install Xchm</h2>
<p>The default installation of Ubuntu doesn&#8217;t include any reader for CHM help files, but you can add one easily.<span id="more-138"></span></p>
<p>I personally prefer <strong>Xchm</strong> which is lightweight and very user friendly, here is the command to install it:</p>
<blockquote><p><code>user@computer:~$ <strong>sudo apt-get install xchm</strong></code></p></blockquote>
<p>You may be asked to enter your password.<br />
<img class="size-full wp-image-141" title="xchm installation" src="http://www.kadimi.com/en/wp-content/uploads/xchm-inst.gif" alt="xchm installation" width="496" height="193" /></p>
<h2>Set default application</h2>
<p>Now you need to associate files with the .chm extension with Xchm, so next time when you (double)click  a CHM help file, it will automatically open it in  Xchm:</p>
<ul>
<li>Right-click on any file with the .chm extension then click &#8220;Properties&#8221;</li>
<li>Select the &#8220;Open With&#8221; tab and click &#8220;+ Add&#8221;</li>
<li>Choose xchm and click &#8220;Add<br />
<em>(!) Hint: if you can&#8217;t find xchm easily, type it on your keyboard and it will be highlighted</em></li>
</ul>
<p><img class="size-full wp-image-140" title="gnome files associations" src="http://www.kadimi.com/en/wp-content/uploads/ss-assoc.jpg" alt="gnome files associations" width="313" height="350" /></p>
<h2>Demo</h2>
<p>Here&#8217;s a screenshot of what <strong>Xchm</strong> looks like<br />
<img class="size-full wp-image-142" title="xchm demo" src="http://www.kadimi.com/en/wp-content/uploads/xchm-ss.jpg" alt="xchm demo" width="398" height="300" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kadimi.com/en/read-chm-files-138/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

