<?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>The _khAttAm_ blog &#187; Ubuntu</title>
	<atom:link href="http://www.khattam.info/category/linux/ubuntu-linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.khattam.info</link>
	<description>Sharing views and experiences</description>
	<lastBuildDate>Sat, 22 Oct 2011 06:18:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>[HOWTO] Install GPaste clipboard manager in Ubuntu 11.10 Oneiric Ocelot (Gnome-Shell)</title>
		<link>http://www.khattam.info/howto-install-gpaste-clipboard-manager-in-ubuntu-11-10-oneiric-ocelot-gnome-shell-2011-10-22.html</link>
		<comments>http://www.khattam.info/howto-install-gpaste-clipboard-manager-in-ubuntu-11-10-oneiric-ocelot-gnome-shell-2011-10-22.html#comments</comments>
		<pubDate>Sat, 22 Oct 2011 03:57:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Oneiric Ocelot 11.10]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[clipboard manager]]></category>
		<category><![CDATA[gnome-shell]]></category>
		<category><![CDATA[gpaste]]></category>

		<guid isPermaLink="false">http://www.khattam.info/?p=1989</guid>
		<description><![CDATA[I am a programmer and I can&#8217;t do without a clipboard manager. If you have never used a clipboard manager before, you don&#8217;t know what a great tool you are missing. GPaste is an excellent clipboard tool for Gnome-Shell, however it is neither available in Ubuntu repository, nor in any PPA (as of now). Here [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>I am a programmer and I can&#8217;t do without a clipboard manager. If you have never used a clipboard manager before, you don&#8217;t know what a great tool you are missing. GPaste is an excellent clipboard tool for Gnome-Shell, however it is neither available in Ubuntu repository, nor in any PPA (as of now). Here is how you can compile it. Open up the terminal and get going.</p>
<p><span id="more-1989"></span></p>
<p><strong>Install Dependencies</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><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> libgtk-<span style="color: #000000;">3</span>-dev libglib2.0-dev intltool <span style="color: #c20cb9; font-weight: bold;">automake</span> <span style="color: #c20cb9; font-weight: bold;">autoconf</span> valac <span style="color: #c20cb9; font-weight: bold;">git</span> libdee-dev gnome-tweak-tool</pre></div></div>

<p><strong>Download Source</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span>; <span style="color: #c20cb9; font-weight: bold;">git</span> clone https:<span style="color: #000000; font-weight: bold;">//</span>github.com<span style="color: #000000; font-weight: bold;">/</span>Keruspe<span style="color: #000000; font-weight: bold;">/</span>GPaste.git</pre></div></div>

<p><strong>Compile and Install</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span>;<span style="color: #7a0874; font-weight: bold;">cd</span> GPaste
.<span style="color: #000000; font-weight: bold;">/</span>autogen.sh
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>usr
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p><strong>Restart Gnome-Shell</strong><br />
To restart, press Alt+F2, enter ‘r’ (without quotes) and press enter.</p>
<p><strong>Enable GPaste Extension</strong><br />
To enable extension, open up Alt+F2>gnome-tweak-tool (or Activities>Applications>Other>Advanced Settings) and enable GPaste under Shell Extensions.<br />
<a href="http://www.khattam.info/wp-content/uploads/gnome-tweak-tool.png"><img src="http://www.khattam.info/wp-content/uploads/gnome-tweak-tool.png" alt="gnome tweak tool [HOWTO] Install GPaste clipboard manager in Ubuntu 11.10 Oneiric Ocelot (Gnome Shell)" title="gnome-tweak-tool" width="642" height="510" class="alignnone size-full wp-image-1995" /></a></p>
<p>You should now see GPaste icon in the top panel. However, it may give the following error message:</p>
<blockquote><p>(Couldn&#8217;t connect to GPaste daemon)</p></blockquote>
<p>For this, add the GPaste daemon in startup as &#8220;gpaste &#8211;daemon&#8221; in StartUP applications and reboot.<br />
<a href="http://www.khattam.info/wp-content/uploads/GPaste.png"><img src="http://www.khattam.info/wp-content/uploads/GPaste.png" alt="GPaste [HOWTO] Install GPaste clipboard manager in Ubuntu 11.10 Oneiric Ocelot (Gnome Shell)" title="GPaste" width="611" height="488" class="alignnone size-full wp-image-2012" /></a></p>
<div class="shr-publisher-1989"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.khattam.info/howto-install-gpaste-clipboard-manager-in-ubuntu-11-10-oneiric-ocelot-gnome-shell-2011-10-22.html/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>[HOWTO] Enable Maximize, Minimize buttons on the title bar in Gnome 3 Gnome-Shell (Ubuntu 11.10 Oneiric Ocelot)</title>
		<link>http://www.khattam.info/howto-enable-maximize-minimize-buttons-on-the-title-bar-in-gnome-3-gnome-shell-ubuntu-11-10-oneiric-ocelot-2011-10-22.html</link>
		<comments>http://www.khattam.info/howto-enable-maximize-minimize-buttons-on-the-title-bar-in-gnome-3-gnome-shell-ubuntu-11-10-oneiric-ocelot-2011-10-22.html#comments</comments>
		<pubDate>Sat, 22 Oct 2011 03:36:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Oneiric Ocelot 11.10]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[close]]></category>
		<category><![CDATA[control box]]></category>
		<category><![CDATA[gnome 3]]></category>
		<category><![CDATA[gnome-shell]]></category>
		<category><![CDATA[maximize]]></category>
		<category><![CDATA[minimize]]></category>

		<guid isPermaLink="false">http://www.khattam.info/?p=1979</guid>
		<description><![CDATA[I have just installed Gnome 3 in Ubuntu 11.10 Onieric Ocelot. In Gnome-Shell interface, there are no title bar controls for minimize, maximize/restore. To enable them, open up the terminal and type in (or copy/paste) the following command: gconftool-2 --set /desktop/gnome/shell/windows/button_layout --type string close,minimize,maximize: Now, press Alt+F2, type in &#8220;r&#8221; without quotes and press enter. [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>I have just <a href="http://www.khattam.info/howto-install-gnome-shell-gnome-3-in-ubuntu-11-10-oneiric-ocelot-2011-10-22.html">installed Gnome 3 in Ubuntu 11.10 Onieric Ocelot</a>. In Gnome-Shell interface, there are no title bar controls for minimize, maximize/restore. To enable them, open up the terminal and type in (or copy/paste) the following command:<span id="more-1979"></span></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">gconftool-<span style="color: #000000;">2</span> <span style="color: #660033;">--set</span> <span style="color: #000000; font-weight: bold;">/</span>desktop<span style="color: #000000; font-weight: bold;">/</span>gnome<span style="color: #000000; font-weight: bold;">/</span>shell<span style="color: #000000; font-weight: bold;">/</span>windows<span style="color: #000000; font-weight: bold;">/</span>button_layout <span style="color: #660033;">--type</span> string close,minimize,maximize:</pre></div></div>

<p>Now, press Alt+F2, type in &#8220;r&#8221; without quotes and press enter. This will reload Gnome-Shell and the changes will come into effect.<br />
<a href="http://www.khattam.info/wp-content/uploads/r.png"><img src="http://www.khattam.info/wp-content/uploads/r.png" alt="r [HOWTO] Enable Maximize, Minimize buttons on the title bar in Gnome 3 Gnome Shell (Ubuntu 11.10 Oneiric Ocelot)" title="r" width="371" height="75" class="alignnone size-full wp-image-1986" /></a></p>
<p>Note: The above will set the buttons in left side as in Ubuntu default theme (or Mac OS X). To place them in the right (like Gnome 2 default, Windows), use the following command instead:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">gconftool-<span style="color: #000000;">2</span> <span style="color: #660033;">--set</span> <span style="color: #000000; font-weight: bold;">/</span>desktop<span style="color: #000000; font-weight: bold;">/</span>gnome<span style="color: #000000; font-weight: bold;">/</span>shell<span style="color: #000000; font-weight: bold;">/</span>windows<span style="color: #000000; font-weight: bold;">/</span>button_layout <span style="color: #660033;">--type</span> string :minimize,maximize,close</pre></div></div>

<p>Hope this helps.</p>
<div class="shr-publisher-1979"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.khattam.info/howto-enable-maximize-minimize-buttons-on-the-title-bar-in-gnome-3-gnome-shell-ubuntu-11-10-oneiric-ocelot-2011-10-22.html/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>[HOWTO] Install Gnome-Shell (Gnome 3) in Ubuntu 11.10 Oneiric Ocelot</title>
		<link>http://www.khattam.info/howto-install-gnome-shell-gnome-3-in-ubuntu-11-10-oneiric-ocelot-2011-10-22.html</link>
		<comments>http://www.khattam.info/howto-install-gnome-shell-gnome-3-in-ubuntu-11-10-oneiric-ocelot-2011-10-22.html#comments</comments>
		<pubDate>Sat, 22 Oct 2011 03:21:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Oneiric Ocelot 11.10]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[gnome 3]]></category>
		<category><![CDATA[gnome-shell]]></category>

		<guid isPermaLink="false">http://www.khattam.info/?p=1980</guid>
		<description><![CDATA[I have installed Ubuntu 11.10 Oneiric Ocelot on my laptop. I had been using Ubuntu 11.04 Natty Narwhal on it and since I use this PC for work, I was reluctant in installing Gnome-Shell from PPA. But since Gnome-Shell is available in official repositories, I decided to give it a go. To install, just open [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>I have installed Ubuntu 11.10 Oneiric Ocelot on my laptop. I had been using Ubuntu 11.04 Natty Narwhal on it and since I use this PC for work, I was reluctant in installing Gnome-Shell from PPA. But since Gnome-Shell is available in official repositories, I decided to give it a go. To install, just open Ubuntu Software Center, search for Gnome-Shell and click &#8220;Install&#8221;. After installation is complete, log out and when logging back in, select Gnome (see screenshot below).<br />
<a href="http://www.khattam.info/wp-content/uploads/login-select-Gnome-Shell.png"><img src="http://www.khattam.info/wp-content/uploads/login-select-Gnome-Shell.png" alt="login select Gnome Shell [HOWTO] Install Gnome Shell (Gnome 3) in Ubuntu 11.10 Oneiric Ocelot" title="login select Gnome-Shell" width="576" height="416" class="alignnone size-full wp-image-1981" /></a></p>
<div class="shr-publisher-1980"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.khattam.info/howto-install-gnome-shell-gnome-3-in-ubuntu-11-10-oneiric-ocelot-2011-10-22.html/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>[SOLVED] &#8220;Warning:  Could not find package list for PPA: ppa:some/ppa&#8221; while trying to use ppa-purge in Ubuntu</title>
		<link>http://www.khattam.info/solved-warning-could-not-find-package-list-for-ppa-ppasomeppa-while-trying-to-use-ppa-purge-in-ubuntu-2011-09-06.html</link>
		<comments>http://www.khattam.info/solved-warning-could-not-find-package-list-for-ppa-ppasomeppa-while-trying-to-use-ppa-purge-in-ubuntu-2011-09-06.html#comments</comments>
		<pubDate>Tue, 06 Sep 2011 01:38:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[gnome3]]></category>
		<category><![CDATA[ppa]]></category>
		<category><![CDATA[ppa-purge]]></category>

		<guid isPermaLink="false">http://www.khattam.info/?p=1958</guid>
		<description><![CDATA[When trying to purge Gnome3 PPA, I had to cancel the ppa-purge process and when I tried to run the same, I got the following message: Updating packages lists PPA to be removed: gnome3-team gnome3 Warning: Could not find package list for PPA: gnome3-team gnome3 I had to add the PPA again to be able [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>When trying to purge Gnome3 PPA, I had to cancel the ppa-purge process and when I tried to run the same, I got the following message:<span id="more-1958"></span></p>
<blockquote><p>Updating packages lists<br />
PPA to be removed: gnome3-team gnome3<br />
Warning:  Could not find package list for PPA: gnome3-team gnome3</p></blockquote>
<p>I had to add the PPA again to be able to successfully run ppa-purge. For example, if your ppa is ppa:gnome3-team/gnome3, you should run the following:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">apt-add-repository ppa:gnome3-team<span style="color: #000000; font-weight: bold;">/</span>gnome3</pre></div></div>

<p>Then you should be able to run ppa-purge again. </p>
<p>Note: In my case, I also got the following error after adding the PPA again:</p>
<blockquote><p>
E: Type &#8216;ain&#8217; is not known on line 3 in source list /etc/apt/sources.list.d/gnome3-team-gnome3-natty.list<br />
E: The list of sources could not be read.<br />
Warning:  apt-get update failed for some reason<br />
PPA to be removed: gnome3-team gnome3<br />
Warning:  Could not find package list for PPA: gnome3-team gnome3</p></blockquote>
<p>This seems to be some bug. I had to manually edit /etc/apt/sources.list.d/gnome3-team-gnome3-natty.list and remove the line containing &#8216;ain&#8217;. This should not be required in your case.</p>
<p>If this does not work, you should check if the PPA exists at all and if you have packages installed from that PPA.</p>
<div class="shr-publisher-1958"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.khattam.info/solved-warning-could-not-find-package-list-for-ppa-ppasomeppa-while-trying-to-use-ppa-purge-in-ubuntu-2011-09-06.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[SOLVED] Netbeans svn error &#8220;Duplicate extensions not allowed, OPTIONS request failed on &#8216;path&#8217;&#8221;</title>
		<link>http://www.khattam.info/solved-netbeans-svn-error-duplicate-extensions-not-allowed-options-request-failed-on-path-2011-09-03.html</link>
		<comments>http://www.khattam.info/solved-netbeans-svn-error-duplicate-extensions-not-allowed-options-request-failed-on-path-2011-09-03.html#comments</comments>
		<pubDate>Fri, 02 Sep 2011 21:36:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Natty Narwhal 11.04]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[netbeans]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.khattam.info/?p=1950</guid>
		<description><![CDATA[I have installed sun-java-jre/jdk on my Ubuntu and Fedora. I am using svn for my project and have been running it well with my old Fedora 15 installation on my old PC. However, recently I installed Fedora on my other machine and installed Netbeans 7.0.1 on top of sun-java. Fedora did not handle graphics very [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>I have installed sun-java-jre/jdk on my Ubuntu and Fedora. I am using svn for my project and have been running it well with my old Fedora 15 installation on my old PC. However, recently I installed Fedora on my other machine and installed Netbeans 7.0.1 on top of sun-java. Fedora did not handle graphics very well, so I installed Ubuntu alongside as well. But every time I tried to access subversion functionality from Netbeans, I got the following error:<span id="more-1950"></span></p>
<blockquote><p>org.tigris.subversion.javahl.ClientException: java.io.IOException: Duplicate extensions not allowed<br />
OPTIONS request failed on &#8216;/relative/path/to/some/project/directory&#8217;</p></blockquote>
<p>This happened in both of my newer installations, Fedora 15 and Ubuntu 11.04, both with Netbeans 7.0.1. I tried several things but all in vain. Finally, when searching for installed Java related packages in my old machine (where subversion always worked), I found the required package. The cryptic error message will simply stop appearing and Netbeans subversion will start working after the installation of svn client adapter for Netbeans. Here is how you can do it from the terminal:</p>
<p>For Fedora:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">su</span> <span style="color: #660033;">-c</span> <span style="color: #ff0000;">'yum install netbeans-svnclientadapter'</span></pre></div></div>

<p>For Ubuntu:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><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> libnb-svnclientadapter-java</pre></div></div>

<p>Hope this helps.</p>
<div class="shr-publisher-1950"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.khattam.info/solved-netbeans-svn-error-duplicate-extensions-not-allowed-options-request-failed-on-path-2011-09-03.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[SOLVED] Blank dark screen after installing ATI Proprietary Drivers (fglrx) in Ubuntu 11.04 Natty Narwhal</title>
		<link>http://www.khattam.info/solved-blank-dark-screen-after-installing-ati-proprietary-drivers-fglrx-in-ubuntu-11-04-natty-narwhal-2011-09-02.html</link>
		<comments>http://www.khattam.info/solved-blank-dark-screen-after-installing-ati-proprietary-drivers-fglrx-in-ubuntu-11-04-natty-narwhal-2011-09-02.html#comments</comments>
		<pubDate>Thu, 01 Sep 2011 19:57:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Natty Narwhal 11.04]]></category>
		<category><![CDATA[ati radeon]]></category>
		<category><![CDATA[fglrx]]></category>
		<category><![CDATA[plymouth]]></category>

		<guid isPermaLink="false">http://www.khattam.info/?p=1944</guid>
		<description><![CDATA[Having video and sound issues with Fedora 15, I decided to try out Natty on my HP Pavilion G4 1009tx. Surprisingly, sound and 3D effects ran great with Intel onboard graphics so I installed it onto the Hard drive. In all excitement, I decided to try out proprietary ATI drivers for the switchable dedicated AMD [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Having video and sound issues with Fedora 15, I decided to try out Natty on my HP Pavilion G4 1009tx. Surprisingly, sound and 3D effects ran great with Intel onboard graphics so I installed it onto the Hard drive. In all excitement, I decided to try out proprietary ATI drivers for the switchable dedicated AMD Radeon HD 6470M graphics. However, when I rebooted, it would not boot. It seems that plymouth crashes and system ends up with a black screen. So, I decided to remove fglrx and keep on using Intel card but it seems that I can&#8217;t even boot into recovery mode. So, I had to remove fglrx and make the system usable again using the Live CD and chroot. Here is how I did it.</p>
<p><span id="more-1944"></span></p>
<p><strong>Note:</strong> If you are trying to get the fglrx to work, you should look somewhere else. I just removed fglrx and decided not to use it (for now at least).</p>
<p>First, I booted into the Live Ubuntu Desktop. Then, I opened the terminal and created a directory for mounting everything:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>root</pre></div></div>

<p>Then I mounted the root partition.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda7 <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>root</pre></div></div>

<p>Please note that my installation&#8217;s root partition is /dev/sda7. In your case, it can be something else. Since I have a separate home partition (/dev/sda8), I mounted it too, just in case. You can skip this if you don&#8217;t have a dedicated home partition.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda8 <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>root<span style="color: #000000; font-weight: bold;">/</span>home</pre></div></div>

<p>You should also mount other drives if you have dedicated partitions for other directories (for /boot perhaps?).</p>
<p>Then, I mounted other required directories.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #660033;">-o</span> <span style="color: #7a0874; font-weight: bold;">bind</span> <span style="color: #000000; font-weight: bold;">/</span>dev <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>root<span style="color: #000000; font-weight: bold;">/</span>dev
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #660033;">-o</span> <span style="color: #7a0874; font-weight: bold;">bind</span> <span style="color: #000000; font-weight: bold;">/</span>proc <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>root<span style="color: #000000; font-weight: bold;">/</span>proc
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #660033;">-o</span> <span style="color: #7a0874; font-weight: bold;">bind</span> <span style="color: #000000; font-weight: bold;">/</span>sys <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>root<span style="color: #000000; font-weight: bold;">/</span>sys</pre></div></div>

<p>Then, I chrooted to the mounted root:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">chroot</span> <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>root</pre></div></div>

<p>Now, I got into the root of my installed Ubuntu. Then I just had to run the following to remove fglrx:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get</span> remove fglrx</pre></div></div>

<p>UPDATE 1:<br />
(ignore this, see UPDATE 2 below)<br />
After upgrading xserver-xorg-video-all, xserver-xorg-video-ati and xserver-xorg-video-radeon, the screen went blank again after reboot. So, I had to downgrade the packages by downloading from repos. Here is how you can do it too (I have included the packages in an archive, please note that you need an active Internet connection for the following):</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">dhclient
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>tmp
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>www.khattam.info<span style="color: #000000; font-weight: bold;">/</span>wp-content<span style="color: #000000; font-weight: bold;">/</span>uploads<span style="color: #000000; font-weight: bold;">/</span>xserver-ati-old.tar.gz
<span style="color: #c20cb9; font-weight: bold;">tar</span> xzvf xserver-ati-old.tar.gz
<span style="color: #c20cb9; font-weight: bold;">dpkg</span> <span style="color: #660033;">-i</span> xserver-xorg-video-radeon_6.14.0-0ubuntu4_i386.deb xserver-xorg-video-ati_6.14.0-0ubuntu4_i386.deb xserver-xorg-video-all_1<span style="color: #000000; font-weight: bold;">%</span>3a7.6+4ubuntu3_i386.deb</pre></div></div>

<p>UPDATE 2:<br />
This blank screen issue would still reappear once in a while and the laptop would get very hot over prolonged usage, so I decided to go for a slightly different solution. I removedxserver-xorg-video-radeon and xserver-xorg-video-ati, blacklisted the radeon module and disabled it via vgaswitcheroo. Here is how I did it:<br />
<strong>Remove ATI Radeon drivers:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get</span> remove xserver-xorg-video-ati xserver-xorg-video-radeon</pre></div></div>

<p><strong>Blacklist kernel module:</strong><br />
To disable kernel module, I opened the file /etc/modeprobe.d/blacklist.conf and add a line &#8216;blacklist radeon&#8217;. You can use nano to do this:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">nano</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>modprobe.d<span style="color: #000000; font-weight: bold;">/</span>blacklist.conf</pre></div></div>

<p>Ctrl+O to save and Ctrl+X to exit nano.<br />
<strong>Re-enable kernel module after startup and switch the card off:</strong><br />
To do this, I just added two lines before the line &#8216;exit 0&#8242; in /etc/rc.local (you can use nano for this too) so that the file looks like the following:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/sh -e</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># rc.local</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># This script is executed at the end of each multiuser runlevel.</span>
<span style="color: #666666; font-style: italic;"># Make sure that the script will &quot;exit 0&quot; on success or any other</span>
<span style="color: #666666; font-style: italic;"># value on error.</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># In order to enable or disable this script just change the execution</span>
<span style="color: #666666; font-style: italic;"># bits.</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># By default this script does nothing.</span>
&nbsp;
modprobe radeon
<span style="color: #c20cb9; font-weight: bold;">chown</span> USERNAME <span style="color: #000000; font-weight: bold;">/</span>sys<span style="color: #000000; font-weight: bold;">/</span>kernel<span style="color: #000000; font-weight: bold;">/</span>debug<span style="color: #000000; font-weight: bold;">/</span>vgaswitcheroo<span style="color: #000000; font-weight: bold;">/</span>switch
<span style="color: #7a0874; font-weight: bold;">echo</span> OFF <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>sys<span style="color: #000000; font-weight: bold;">/</span>kernel<span style="color: #000000; font-weight: bold;">/</span>debug<span style="color: #000000; font-weight: bold;">/</span>vgaswitcheroo<span style="color: #000000; font-weight: bold;">/</span>switch
&nbsp;
<span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">0</span></pre></div></div>

<p>In the file above, USERNAME is my login username. Don&#8217;t forget to replace USERNAME with your username before saving the file. (If you are not sure what your username is, just do this: ls /home/, you should see it in the name of the directory.)</p>
<p>When done, I just exited from the chrooted environment:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">exit</span></pre></div></div>

<p>Then, I unmounted everything:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">umount</span> <span style="color: #660033;">-a</span></pre></div></div>

<p>(You&#8217;ll see some error messages, like device is busy, just ignore them)</p>
<p>Now, I am able to boot into the installed Ubuntu again. Hope this helps.</p>
<div class="shr-publisher-1944"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.khattam.info/solved-blank-dark-screen-after-installing-ati-proprietary-drivers-fglrx-in-ubuntu-11-04-natty-narwhal-2011-09-02.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[SOLVED] No package &#8216;gtk+-3.0&#8242; found</title>
		<link>http://www.khattam.info/solved-no-package-gtk-3-0-found-2011-06-26.html</link>
		<comments>http://www.khattam.info/solved-no-package-gtk-3-0-found-2011-06-26.html#comments</comments>
		<pubDate>Sun, 26 Jun 2011 08:10:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[gnome 3]]></category>
		<category><![CDATA[gtk3]]></category>

		<guid isPermaLink="false">http://www.khattam.info/?p=1857</guid>
		<description><![CDATA[If you are trying to compile a gtk-3 application and if you don&#8217;t have development package installed here is the error you can get: configure: error: Package requirements (gtk+-3.0 >= 3.0.0) were not met: No package &#8216;gtk+-3.0&#8242; found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>If you are trying to compile a gtk-3 application and if you don&#8217;t have development package installed here is the error you can get:<span id="more-1857"></span></p>
<blockquote><p>configure: error: Package requirements (gtk+-3.0 >= 3.0.0) were not met:</p>
<p>No package &#8216;gtk+-3.0&#8242; found</p>
<p>Consider adjusting the PKG_CONFIG_PATH environment variable if you<br />
installed software in a non-standard prefix.</p>
<p>Alternatively, you may set the environment variables GTK_CFLAGS<br />
and GTK_LIBS to avoid the need to call pkg-config.<br />
See the pkg-config man page for more details.
</p></blockquote>
<p>If you encounter this error in Fedora, you should install gtk3-devel. In terminal, type in the following:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">su</span> <span style="color: #660033;">-c</span> <span style="color: #ff0000;">'yum install gtk3-devel'</span></pre></div></div>

<p>If you encounter this in Ubuntu, you should install libgtk-3-dev. To do so, type in the following in terminal:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><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> libgtk-<span style="color: #000000;">3</span>-dev</pre></div></div>

<p>Hope this helps.</p>
<div class="shr-publisher-1857"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.khattam.info/solved-no-package-gtk-3-0-found-2011-06-26.html/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>[HOWTO] Install Linux Kernel 3.0 in Ubuntu 11.04 Natty Narwhal</title>
		<link>http://www.khattam.info/howto-install-linux-kernel-3-0-in-ubuntu-11-04-natty-narwhal-2011-06-03.html</link>
		<comments>http://www.khattam.info/howto-install-linux-kernel-3-0-in-ubuntu-11-04-natty-narwhal-2011-06-03.html#comments</comments>
		<pubDate>Fri, 03 Jun 2011 06:36:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Natty Narwhal 11.04]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Kernel]]></category>
		<category><![CDATA[kernel 3.0]]></category>
		<category><![CDATA[Oneiric Ocelot 11.10]]></category>

		<guid isPermaLink="false">http://www.khattam.info/?p=1803</guid>
		<description><![CDATA[Linux Kernel 3.0 RC 1 was recently released. Although it does not have real changes to anything, but is just a renaming of 2.6.40, however, you may want to install it for testing and using it if it works good for you in your Ubuntu Natty installation. It has bug fixes and additional drivers so [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Linux Kernel 3.0 RC 1 was recently released. Although it does not have real changes to anything, but is just a renaming of 2.6.40, however, you may want to install it for testing and using it if it works good for you in your Ubuntu Natty installation. It has bug fixes and additional drivers so it may solve problems. However, it may also introduce new problems, so be careful not to remove the other kernel (2.6.38) after installing it. This tutorial also contains instructions to remove it safely, so read along. Ubuntu 11.10 Oneiric Ocelot will be released with kernel 3.0.</p>
<p><span id="more-1803"></span></p>
<p>As of writing this, only amd64 (64 bit version) of the kernel is available in <a href="http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.0.1-oneiric/" onclick="pageTracker._trackPageview('/outgoing/kernel.ubuntu.com/_kernel-ppa/mainline/v3.0.1-oneiric/?referer=');">Kernel PPA</a>, so if you are using 32-bit, it will not work for you. However, if you find i386 builds in the kernel ppa, you can install it. (<strong>UPDATE:</strong> Now both 32-bit and 64-bit versions are available) </p>
<p>First of all, download the debs from <a href="http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.0.1-oneiric/" onclick="pageTracker._trackPageview('/outgoing/kernel.ubuntu.com/_kernel-ppa/mainline/v3.0.1-oneiric/?referer=');">Kernel PPA</a>. Then install in this order:<br />
linux-headers<br />
linux-headers-generic<br />
linux-image</p>
<p>Once installation is done, reboot and Ubuntu should boot into 3.0 by default. If everything works right, you may want to keep it, however, if it does not, don&#8217;t worry, just reboot and select one of the previous versions and boot into it. Then open up synaptic, search for linux-headers-3 and linux-image-3 and remove the 3.0 versions.</p>
<p>If you are reading this after other versions are released, you may want to check out <a href="http://kernel.ubuntu.com/~kernel-ppa/mainline/" onclick="pageTracker._trackPageview('/outgoing/kernel.ubuntu.com/_kernel-ppa/mainline/?referer=');">kernel ppa</a>.</p>
<div class="shr-publisher-1803"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.khattam.info/howto-install-linux-kernel-3-0-in-ubuntu-11-04-natty-narwhal-2011-06-03.html/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>[HOWTO] Install Firefox 4 in Ubuntu 10.04 Lucid Lynx and 10.10 Maverick Meerkat</title>
		<link>http://www.khattam.info/howto-install-firefox-4-in-ubuntu-10-04-lucid-lynx-and-10-10-maverick-meerkat-2-2011-04-07.html</link>
		<comments>http://www.khattam.info/howto-install-firefox-4-in-ubuntu-10-04-lucid-lynx-and-10-10-maverick-meerkat-2-2011-04-07.html#comments</comments>
		<pubDate>Wed, 06 Apr 2011 23:57:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Lucid Lynx 10.04]]></category>
		<category><![CDATA[Maverick Meerkat 10.10]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[firefox 4]]></category>
		<category><![CDATA[lucid lynx]]></category>
		<category><![CDATA[Maverick Meerkat]]></category>

		<guid isPermaLink="false">http://www.khattam.info/?p=1683</guid>
		<description><![CDATA[Firefox 4 has been released recently and it is not available via update manager in Ubuntu 10.04 Lucid Lynx and 10.10 Maverick Meerkat. The Ubuntu Mozilla Daily Build PPA provides it but it always the latest daily build and not the stable version. For stable version, you can use Firefox Stable PPA. To install the [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Firefox 4 has been released recently and it is not available via update manager in Ubuntu 10.04 Lucid Lynx and 10.10 Maverick Meerkat. The <a href="https://launchpad.net/~ubuntu-mozilla-daily/+archive/ppa" onclick="pageTracker._trackPageview('/outgoing/launchpad.net/_ubuntu-mozilla-daily/+archive/ppa?referer=');">Ubuntu Mozilla Daily Build PPA</a> provides it but it always the latest daily build and not the stable version.</p>
<p><span id="more-1683"></span></p>
<p>For stable version, you can use <a href="https://launchpad.net/~mozillateam/+archive/firefox-stable" onclick="pageTracker._trackPageview('/outgoing/launchpad.net/_mozillateam/+archive/firefox-stable?referer=');">Firefox Stable PPA</a>. To install the PPA in Lucid or Maverick, just launch Synaptic (System>Administration>Synaptic Package Manager) and then go to Settings>Repositories>Other Software. Now click Add and paste in the following:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">ppa:mozillateam/firefox-stable</pre></div></div>

<p>Close the Repositories window and then click reload. When it is done, search for firefox-4.0-gnome-support and mark it for installation. It should mark other required packages. Apply and wait for installation to finish.</p>
<div class="shr-publisher-1683"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.khattam.info/howto-install-firefox-4-in-ubuntu-10-04-lucid-lynx-and-10-10-maverick-meerkat-2-2011-04-07.html/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>[HOWTO] Remount /cdrom as Read-Write in a Live Unetbootin Setup</title>
		<link>http://www.khattam.info/howto-remount-cdrom-as-read-write-in-a-live-unetbootin-setup-2010-12-17.html</link>
		<comments>http://www.khattam.info/howto-remount-cdrom-as-read-write-in-a-live-unetbootin-setup-2010-12-17.html#comments</comments>
		<pubDate>Fri, 17 Dec 2010 09:52:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[unetbootin]]></category>

		<guid isPermaLink="false">http://www.khattam.info/?p=1546</guid>
		<description><![CDATA[If you have used Unetbootin to setup a Live Ubuntu Environment, you will find that the partition containing the Unetbootin files will be mounted on /cdrom as read-only, which means, even if you launch nautilus with gksu or sudo, you will not be able to make changes to the file-system. There is however, an easy [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>If you have used Unetbootin to setup a Live Ubuntu Environment, you will find that the partition containing the Unetbootin files will be mounted on /cdrom as read-only, which means, even if you launch nautilus with gksu or sudo, you will not be able to make changes to the file-system. There is however, an easy workaround which involves remounting the filesystem with a single command. Open up the terminal and type in the following:<span id="more-1546"></span></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #000000; font-weight: bold;">/</span>cdrom  <span style="color: #660033;">-o</span> rw,remount</pre></div></div>

<p>Now, you should be able to write into the filesystem.</p>
<div class="shr-publisher-1546"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.khattam.info/howto-remount-cdrom-as-read-write-in-a-live-unetbootin-setup-2010-12-17.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

