<?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 Road to Elysium &#187; f11</title>
	<atom:link href="http://jorge.fbarr.net/tag/f11/feed/" rel="self" type="application/rss+xml" />
	<link>http://jorge.fbarr.net</link>
	<description>The life of a geek, father and husband</description>
	<lastBuildDate>Wed, 16 Nov 2011 14:43:15 +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>Fedora 11 on the Acer Aspire One</title>
		<link>http://jorge.fbarr.net/2009/06/11/fedora-11-on-the-acer-aspire-one/</link>
		<comments>http://jorge.fbarr.net/2009/06/11/fedora-11-on-the-acer-aspire-one/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 09:33:34 +0000</pubDate>
		<dc:creator>jorge</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[11]]></category>
		<category><![CDATA[acer]]></category>
		<category><![CDATA[aspire]]></category>
		<category><![CDATA[cd]]></category>
		<category><![CDATA[f11]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[live]]></category>
		<category><![CDATA[one]]></category>
		<category><![CDATA[optimize]]></category>
		<category><![CDATA[ssd]]></category>
		<category><![CDATA[usb]]></category>
		<category><![CDATA[xfce]]></category>

		<guid isPermaLink="false">http://jorge.fbarr.net/?p=635</guid>
		<description><![CDATA[So here we are again! Fedora 11 is finally out, with the new XFCE 4.6 and a lot of other goodies. I recently removed Fedora 10 from my Acer Aspire One, and installed Fedora 11. And let me tell you, it&#8217;s -awesome-. Goes a lot faster than Fedora 10, and pretty much everything works out [...]]]></description>
			<content:encoded><![CDATA[<p>So here we are again! Fedora 11 is finally out, with the new XFCE 4.6 and a lot of other goodies. I recently removed Fedora 10 from my Acer Aspire One, and installed Fedora 11. And let me tell you, it&#8217;s -awesome-. Goes a lot faster than Fedora 10, and pretty much everything works out of the box! Even the camera! Just a few minor tweaks, and pretty much everything is up and running. You can read more about what is new with Fedora 11 at <a href="http://docs.fedoraproject.org/release-notes/f11/en-US/">http://docs.fedoraproject.org/release-notes/f11/en-US/</a>.</p>
<p>Now, a lot of what you read here will pretty much be the same as what I wrote on the Fedora 10-article. The steps are similar, but some things need changing. So instead of having you guys jump back and forth between two posts, I&#8217;ll do it this way. Ready? Here we go.</p>
<h4>Preparing your USB-pen</h4>
<p>Here we are again, preparing our USB-pen for Fedora 11. Unfortunately, the only way you can get hold of the ISO is by downloading it with a torrent, so it might take a while if you don&#8217;t have the right ports opened!</p>
<p>What we need to do is to install the Live CD to a USB-pen/drive. <a title="Fedora 11 XFCE Live" href="http://spins.fedoraproject.org/torrents/Fedora-11-i686-Live-XFCE.torrent">To do that download the torrent from here</a>. With me having a stationary machine using Fedora 10, I&#8217;ll assume that you do as well. :D <strong>su</strong> to root and install the package <strong>livecd-tools</strong>:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># yum install livecd-tools</span></pre></div></div>

<p>Once the package is installed, and the iso has been downloaded, plug in your USB-pen/drive. I will also assume that your USB-pen/drive has been given the name <strong>sdb1</strong>. You can check it with the command <strong>dmesg</strong>, just look at the bottom of output if it has detected it. It should look something like this:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">sd <span style="color: #000000;">10</span>:<span style="color: #000000;">0</span>:<span style="color: #000000;">0</span>:<span style="color: #000000;">0</span>: <span style="color: #7a0874; font-weight: bold;">&#91;</span>sdb<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000;">234441648</span> <span style="color: #000000;">512</span>-byte hardware sectors <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">120034</span> MB<span style="color: #7a0874; font-weight: bold;">&#41;</span>
sd <span style="color: #000000;">10</span>:<span style="color: #000000;">0</span>:<span style="color: #000000;">0</span>:<span style="color: #000000;">0</span>: <span style="color: #7a0874; font-weight: bold;">&#91;</span>sdb<span style="color: #7a0874; font-weight: bold;">&#93;</span> Write Protect is off
sd <span style="color: #000000;">10</span>:<span style="color: #000000;">0</span>:<span style="color: #000000;">0</span>:<span style="color: #000000;">0</span>: <span style="color: #7a0874; font-weight: bold;">&#91;</span>sdb<span style="color: #7a0874; font-weight: bold;">&#93;</span> Mode Sense: 00 00 00 00
sd <span style="color: #000000;">10</span>:<span style="color: #000000;">0</span>:<span style="color: #000000;">0</span>:<span style="color: #000000;">0</span>: <span style="color: #7a0874; font-weight: bold;">&#91;</span>sdb<span style="color: #7a0874; font-weight: bold;">&#93;</span> Assuming drive cache: <span style="color: #c20cb9; font-weight: bold;">write</span> through
sd <span style="color: #000000;">10</span>:<span style="color: #000000;">0</span>:<span style="color: #000000;">0</span>:<span style="color: #000000;">0</span>: <span style="color: #7a0874; font-weight: bold;">&#91;</span>sdb<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000;">234441648</span> <span style="color: #000000;">512</span>-byte hardware sectors <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">120034</span> MB<span style="color: #7a0874; font-weight: bold;">&#41;</span>
sd <span style="color: #000000;">10</span>:<span style="color: #000000;">0</span>:<span style="color: #000000;">0</span>:<span style="color: #000000;">0</span>: <span style="color: #7a0874; font-weight: bold;">&#91;</span>sdb<span style="color: #7a0874; font-weight: bold;">&#93;</span> Write Protect is off
sd <span style="color: #000000;">10</span>:<span style="color: #000000;">0</span>:<span style="color: #000000;">0</span>:<span style="color: #000000;">0</span>: <span style="color: #7a0874; font-weight: bold;">&#91;</span>sdb<span style="color: #7a0874; font-weight: bold;">&#93;</span> Mode Sense: 00 00 00 00
sd <span style="color: #000000;">10</span>:<span style="color: #000000;">0</span>:<span style="color: #000000;">0</span>:<span style="color: #000000;">0</span>: <span style="color: #7a0874; font-weight: bold;">&#91;</span>sdb<span style="color: #7a0874; font-weight: bold;">&#93;</span> Assuming drive cache: <span style="color: #c20cb9; font-weight: bold;">write</span> through
sdb: sdb1
sd <span style="color: #000000;">10</span>:<span style="color: #000000;">0</span>:<span style="color: #000000;">0</span>:<span style="color: #000000;">0</span>: <span style="color: #7a0874; font-weight: bold;">&#91;</span>sdb<span style="color: #7a0874; font-weight: bold;">&#93;</span> Attached SCSI disk</pre></div></div>

<p>Now, with the USB-thingie plugged in, and your iso downloaded, execute the following command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># livecd-iso-to-disk /home/jorge/downloads/Fedora-11-i686-Live-XFCE/Fedora-11-i686-Live-XFCE.iso /dev/sdb1</span></pre></div></div>

<p><strong>Fedora-11-i686-Live-XFCE.iso</strong> being the Live CD iso we just downloaded. This command will copy the Live CD iso to your USB-pen, making that your bootable device.</p>
<h4>Installing Fedora 11</h4>
<p>Now that the USB-pen is ready to go, reboot your Acer Aspire One, and at boot press <strong>F12</strong> to be able to select what boot device to boot from. Your device should pop up in that list. Log in as usual, and double-click the icon that says <strong>Install to Hard Drive</strong>. Follow the process as normal, however, when it gets time to partition the disk, we&#8217;ll do this a little differently. :)</p>
<p>In my former howto we had to manually change from <strong>ext3</strong> to <strong>ext2</strong>, because of the journaling, and how it made the system even slower. Well let me tell you folks, <strong>ext4</strong> is working wonders. It&#8217;s going a lot quicker than everything did on the Fedora 10 system, you&#8217;ll see. :)</p>
<p>Anyway, enough rant from me, let&#8217;s continue.</p>
<p>We should be at the partitioning-screen now. Select <strong>Use Entire Drive</strong> (if you want to remove everything that is on the machine from before), and click the box that says <strong>Review and modify partitioning layout</strong>. When done, click <strong>Next</strong>.</p>
<p>Now we should be in a new screen. We&#8217;ll be modifying things a bit here. Thing is, I don&#8217;t want to use LVM, so I&#8217;m going with that. If you want to use LVM though, try checking out what I wrote on the Fedora 10-article.</p>
<p>Click on the line that says <strong>VolGroup</strong> and click <strong>Delete</strong>. Press <strong>Delete</strong> again to confirm it.</p>
<p>Now click on the line that says <strong>/dev/sda2</strong> and click <strong>Edit</strong>. Change the <strong>Mount Point</strong> to <strong>/</strong>, <strong>File System Type</strong> to <strong>ext4</strong>, and make sure that you have selected <strong>Fill to maximum allowable size</strong>. When done, press <strong>OK</strong>, and then click <strong>Next</strong>. A question will pop up, telling you that you haven&#8217;t selected a swap partition, and if you still want to continue with this partitioning scheme. Select <strong>Yes</strong>, and then select <strong>Write changes to disk</strong>. Now go read a book, watch some TV, or have a cup of joe. When the formatting and installation is done, you can reboot your Acer, answer a few questions, and your system should be up and going.</p>
<h5>Disabling SELinux</h5>
<p>SELinux hasn&#8217;t changed much with Fedora 11. Still the ol&#8217; pain in the butt. So we remove it like we did last time.</p>
<p>Once you&#8217;re in the system, press <strong>Alt-F2</strong>, type <strong>terminal</strong>, <strong>su</strong> to root, and edit the file <strong>/etc/selinux/config</strong> and set the variable <strong>SELINUX</strong> to <strong>disabled</strong>. Save and close the file.</p>
<p>Last time we had a whole section about how we converted from an <strong>ext3</strong> system to <strong>ext2</strong>. Don&#8217;t need to this time, wohoo!</p>
<h4>Optimizing Fedora 11</h4>
<p>I assume that by now you are actually using the Fedora 11 installation. Here&#8217;s how to improve the system performance a bit.</p>
<h5>Optimizing your disk</h5>
<p>Quoting the <a title="Ubuntu Acer Aspire One" href="https://help.ubuntu.com/community/AspireOne">Ubuntu wikipages</a>:</p>
<p><em>Frequent writes to the SSD will cause failure eventually. We can reduce the number of writes to the SSD by moving our logs to a temporary filesystem in RAM that gets destroyed at ever reboot. Now this means your logs will not be persistent across reboots making debugging difficult in some cases. This step is optional of course, so if you need the logs for an extended period of time do not follow these steps.</em></p>
<p>Let&#8217;s assume that you want to do this. su to root, and open up the file <strong>/etc/fstab</strong>, and place these following lines there:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">tmpfs      <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>log        tmpfs        defaults           <span style="color: #000000;">0</span>    <span style="color: #000000;">0</span>
tmpfs      <span style="color: #000000; font-weight: bold;">/</span>tmp            tmpfs        defaults           <span style="color: #000000;">0</span>    <span style="color: #000000;">0</span>
tmpfs      <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>tmp        tmpfs        defaults           <span style="color: #000000;">0</span>    <span style="color: #000000;">0</span></pre></div></div>

<p>Also, modify the first line in <strong>/etc/fstab</strong> to include the options noatime and nodiratime. When done, your <strong>/etc/fstab</strong> should look something like this:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">UUID</span>=6f651dc4-3d50-4a28-b3d0-fc91b41f737c <span style="color: #000000; font-weight: bold;">/</span>boot                   ext3    defaults,noatime,nodiratime        <span style="color: #000000;">1</span> <span style="color: #000000;">2</span>
<span style="color: #007800;">UUID</span>=0dbcdea1-3f91-477a-b730-ea6033c45b5c <span style="color: #000000; font-weight: bold;">/</span>                       ext4    defaults,noatime,nodiratime        <span style="color: #000000;">1</span> <span style="color: #000000;">1</span>
tmpfs                   <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>shm                tmpfs   defaults        <span style="color: #000000;">0</span> <span style="color: #000000;">0</span>
devpts                  <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>pts                devpts  defaults        <span style="color: #000000;">0</span> <span style="color: #000000;">0</span>
sysfs                   <span style="color: #000000; font-weight: bold;">/</span>sys                    sysfs   defaults        <span style="color: #000000;">0</span> <span style="color: #000000;">0</span>
proc                    <span style="color: #000000; font-weight: bold;">/</span>proc                   proc    defaults        <span style="color: #000000;">0</span> <span style="color: #000000;">0</span>
tmpfs      <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>log        tmpfs        defaults           <span style="color: #000000;">0</span>    <span style="color: #000000;">0</span>
tmpfs      <span style="color: #000000; font-weight: bold;">/</span>tmp            tmpfs        defaults           <span style="color: #000000;">0</span>    <span style="color: #000000;">0</span>
tmpfs      <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>tmp        tmpfs        defaults           <span style="color: #000000;">0</span>    <span style="color: #000000;">0</span></pre></div></div>

<p>Save the file, and close it. The next thing we can do is to place the following into your <strong>/etc/rc.d/rc.local</strong>-file:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># Economize the SSD</span>
sysctl <span style="color: #660033;">-w</span> vm.swappiness=<span style="color: #000000;">1</span>               <span style="color: #666666; font-style: italic;"># Strongly discourage swapping</span>
sysctl <span style="color: #660033;">-w</span> vm.vfs_cache_pressure=<span style="color: #000000;">50</span>      <span style="color: #666666; font-style: italic;"># Don't shrink the inode cache aggressively</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># As in the rc.last.ctrl of Linpus</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> ondemand <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>devices<span style="color: #000000; font-weight: bold;">/</span>system<span style="color: #000000; font-weight: bold;">/</span>cpu<span style="color: #000000; font-weight: bold;">/</span>cpu0<span style="color: #000000; font-weight: bold;">/</span>cpufreq<span style="color: #000000; font-weight: bold;">/</span>scaling_governor
<span style="color: #7a0874; font-weight: bold;">echo</span> ondemand <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>devices<span style="color: #000000; font-weight: bold;">/</span>system<span style="color: #000000; font-weight: bold;">/</span>cpu<span style="color: #000000; font-weight: bold;">/</span>cpu1<span style="color: #000000; font-weight: bold;">/</span>cpufreq<span style="color: #000000; font-weight: bold;">/</span>scaling_governor
<span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #000000; font-weight: bold;">/</span>sys<span style="color: #000000; font-weight: bold;">/</span>devices<span style="color: #000000; font-weight: bold;">/</span>system<span style="color: #000000; font-weight: bold;">/</span>cpu<span style="color: #000000; font-weight: bold;">/</span>cpu0<span style="color: #000000; font-weight: bold;">/</span>cpufreq<span style="color: #000000; font-weight: bold;">/</span>ondemand<span style="color: #000000; font-weight: bold;">/</span>sampling_rate_max <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>devices<span style="color: #000000; font-weight: bold;">/</span>system<span style="color: #000000; font-weight: bold;">/</span>cpu<span style="color: #000000; font-weight: bold;">/</span>cpu0<span style="color: #000000; font-weight: bold;">/</span>cpufreq<span style="color: #000000; font-weight: bold;">/</span>ondemand<span style="color: #000000; font-weight: bold;">/</span>sampling_rate
&nbsp;
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #000000;">1500</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>proc<span style="color: #000000; font-weight: bold;">/</span>sys<span style="color: #000000; font-weight: bold;">/</span>vm<span style="color: #000000; font-weight: bold;">/</span>dirty_writeback_centisecs
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #000000;">20</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>proc<span style="color: #000000; font-weight: bold;">/</span>sys<span style="color: #000000; font-weight: bold;">/</span>vm<span style="color: #000000; font-weight: bold;">/</span>dirty_ratio
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #000000;">10</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>proc<span style="color: #000000; font-weight: bold;">/</span>sys<span style="color: #000000; font-weight: bold;">/</span>vm<span style="color: #000000; font-weight: bold;">/</span>dirty_background_ratio
&nbsp;
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #000000;">1</span> <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>devices<span style="color: #000000; font-weight: bold;">/</span>system<span style="color: #000000; font-weight: bold;">/</span>cpu<span style="color: #000000; font-weight: bold;">/</span>sched_smt_power_savings
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #000000;">10</span> <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>module<span style="color: #000000; font-weight: bold;">/</span>snd_hda_intel<span style="color: #000000; font-weight: bold;">/</span>parameters<span style="color: #000000; font-weight: bold;">/</span>power_save
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #000000;">5</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>proc<span style="color: #000000; font-weight: bold;">/</span>sys<span style="color: #000000; font-weight: bold;">/</span>vm<span style="color: #000000; font-weight: bold;">/</span>laptop_mode
&nbsp;
<span style="color: #666666; font-style: italic;">#Decrease power usage of USB while idle</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-w</span> <span style="color: #000000; font-weight: bold;">/</span>sys<span style="color: #000000; font-weight: bold;">/</span>bus<span style="color: #000000; font-weight: bold;">/</span>usb<span style="color: #000000; font-weight: bold;">/</span>devices<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">1</span>-<span style="color: #000000;">5</span><span style="color: #000000; font-weight: bold;">/</span>power<span style="color: #000000; font-weight: bold;">/</span>level <span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #7a0874; font-weight: bold;">echo</span> auto <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>bus<span style="color: #000000; font-weight: bold;">/</span>usb<span style="color: #000000; font-weight: bold;">/</span>devices<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">1</span>-<span style="color: #000000;">5</span><span style="color: #000000; font-weight: bold;">/</span>power<span style="color: #000000; font-weight: bold;">/</span>level
<span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-w</span> <span style="color: #000000; font-weight: bold;">/</span>sys<span style="color: #000000; font-weight: bold;">/</span>bus<span style="color: #000000; font-weight: bold;">/</span>usb<span style="color: #000000; font-weight: bold;">/</span>devices<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">5</span>-<span style="color: #000000;">5</span><span style="color: #000000; font-weight: bold;">/</span>power<span style="color: #000000; font-weight: bold;">/</span>level <span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #7a0874; font-weight: bold;">echo</span> auto <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>bus<span style="color: #000000; font-weight: bold;">/</span>usb<span style="color: #000000; font-weight: bold;">/</span>devices<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">5</span>-<span style="color: #000000;">5</span><span style="color: #000000; font-weight: bold;">/</span>power<span style="color: #000000; font-weight: bold;">/</span>level
&nbsp;
<span style="color: #000000; font-weight: bold;">/</span>sbin<span style="color: #000000; font-weight: bold;">/</span>modprobe sdhci</pre></div></div>

<p>Create a file named <b>blacklist_msreader.conf</b> in <b>/etc/modprobe.d</b>, with the following in it:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">blacklist jmb38x_ms</pre></div></div>

<p>Open up the file <strong>/boot/grub/grub.conf</strong> and add <strong>elevator=noop</strong> to the kernel-line, making this:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">kernel <span style="color: #000000; font-weight: bold;">/</span>vmlinuz-2.6.29.4-<span style="color: #000000;">167</span>.fc11.i586 ro <span style="color: #007800;">root</span>=<span style="color: #007800;">UUID</span>=0dbcdea1-3f91-477a-b730-ea6033c45b5c rhgb quiet</pre></div></div>

<p>Look like this:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">kernel <span style="color: #000000; font-weight: bold;">/</span>vmlinuz-2.6.29.4-<span style="color: #000000;">167</span>.fc11.i586 ro <span style="color: #007800;">root</span>=<span style="color: #007800;">UUID</span>=0dbcdea1-3f91-477a-b730-ea6033c45b5c rhgb quiet <span style="color: #007800;">elevator</span>=noop</pre></div></div>

<p>Proceed with rebooting your machine, and everything should be working fine. :)</p>
<h6>Removing journaling</h6>
<p>Another thing you can do to increase the speed of your disk is disabling journaling of the <b>ext4</b> filesystem. I sure hope you have your USB-pen/drive in hand, because we’re going to need it. Reboot your machine, with your USB-thingie plugged in, and again press F12 at boot, selecting your USB-device as the boot device. When done booting to the Live CD, press Alt-F2 and type terminal, and su to root. Find out what the partition with Linux is named. If you&#8217;ve partitioned things according to this guide, it should be <b>/dev/sdb2</b>.  It&#8217;s basically the partition that holds the root of your Linux.</p>
<p>What we first need to do is to edit the file <b>/etc/fstab</b> on your disk. Why? Some tools have yet to catch up. In particular, the version of <b>e2fsprogs</b> currently in Fedora 11 won&#8217;t read the UUIDs from such filesystems. And because the Fedora installer generates an <b>/etc/fstab</b> which identifies filesystems by UUID, if you just run the <b>tune2fs</b>-command we&#8217;ll be using, the system can&#8217;t find its root filesystem and so doesn&#8217;t get very far through the boot process.</p>
<p>So, in order to edit the <b>/etc/fstab</b>-file, we first mount up the partition <b>/dev/sda2</b>. So remember, Fedora 11 is now installed, but you boot on the LiveCD/LiveUSB, and have a terminal up and going. As root, execute the following commands:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># mkdir /mnt/disk</span>
<span style="color: #666666; font-style: italic;"># mount /dev/sda2 /mnt/disk</span>
<span style="color: #666666; font-style: italic;"># mount /dev/sda1 /mnt/disk/boot</span>
<span style="color: #666666; font-style: italic;"># cd /mnt/disk/etc</span></pre></div></div>

<p>Now open up the file named <b>fstab</b>. The two lines that currently look like this:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">UUID</span>=6f651dc4-3d50-4a28-b3d0-fc91b41f737c <span style="color: #000000; font-weight: bold;">/</span>boot                   ext3    defaults,noatime,nodiratime        <span style="color: #000000;">1</span> <span style="color: #000000;">2</span>
<span style="color: #007800;">UUID</span>=0dbcdea1-3f91-477a-b730-ea6033c45b5c <span style="color: #000000; font-weight: bold;">/</span>                       ext4    defaults,noatime,nodiratime        <span style="color: #000000;">1</span> <span style="color: #000000;">1</span></pre></div></div>

<p>Should look like this:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda1 <span style="color: #000000; font-weight: bold;">/</span>boot                   ext3    defaults,noatime,nodiratime        <span style="color: #000000;">1</span> <span style="color: #000000;">2</span>
<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda2 <span style="color: #000000; font-weight: bold;">/</span>                       ext4    defaults,noatime,nodiratime        <span style="color: #000000;">1</span> <span style="color: #000000;">1</span></pre></div></div>

<p>We simply replaced the UUID-strings with the partitions <b>/dev/sda2</b> and <b>/dev/sda1</b>. Once you&#8217;ve edited the file, save it, and close it.</p>
<p>Now we need to update <b>/boot/grub/grub.conf</b>.</p>
<p>Execute this command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># cd /mnt/disk/boot/grub/</span></pre></div></div>

<p>And open up the file <b>grub.conf</b>. What used to look like this:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">kernel <span style="color: #000000; font-weight: bold;">/</span>vmlinuz-2.6.29.4-<span style="color: #000000;">167</span>.fc11.i586 ro <span style="color: #007800;">root</span>=<span style="color: #007800;">UUID</span>=0dbcdea1-3f91-477a-b730-ea6033c45b5c rhgb quiet <span style="color: #007800;">elevator</span>=noop</pre></div></div>

<p>Should now look like this:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">kernel <span style="color: #000000; font-weight: bold;">/</span>vmlinuz-2.6.29.4-<span style="color: #000000;">167</span>.fc11.i586 ro <span style="color: #007800;">root</span>=<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda2 rhgb quiet <span style="color: #007800;">elevator</span>=noop</pre></div></div>

<p>Save the file, close it, and unmount the partitions like this:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># cd ~/</span>
<span style="color: #666666; font-style: italic;"># umount /mnt/disk/boot/</span>
<span style="color: #666666; font-style: italic;"># umount /mnt/disk/</span></pre></div></div>

<p>Now that they both are unmounted, all we have to do is run the <b>tune2fs</b>-command to disable journaling from the <b>ext4</b>-partition:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># tune2fs -O ^has_journal /dev/sda2</span></pre></div></div>

<p>Reboot your machine, and you should now have an <b>ext4</b> filesystem with journaling disabled.</p>
<h4>Optimizing Firefox</h4>
<p>There are quite a few ways to make your Firefox go faster, one of them being to disable caching completely. Try these out, and let me know how they work. In your Firefox, type <b>about:config</b> as your URL, and press enter. Search for these values, and change them to what I&#8217;ve written up here:</p>
<p><i><b>Select all text when click on the URL bar</b></i></p>
<p>In Windows and Mac, Firefox highlights all text when you click on the URL bar. In Linux, it does not select all the text. Instead, it places the cursor at the insertion point. Regardless which platform you are using, you can now tweak it to either select all or place cursor at insertion point.</p>
<ul>
<li>browser.urlbar.clickSelectsAll: <strong>true</strong></li>
</ul>
<h5>Caching</h5>
<p>When a page is loaded, Firefox will cache it into the hard disk so that it doesn’t need to be download again for redisplaying. The bigger the storage size you cater for Firefox, the more pages it can cache.</p>
<ul>
<li>browser.cache.disk.enable: <strong>false</strong></li>
</ul>
<p><b>false</b> disabled caching completely, <b>true</b> enables it. If you want to modify the amount of cache used though, have a look at <b>browser.cache.disk.capacity</b>.</p>
<h5>Network</h5>
<p>Config name: network.http.pipelining<br />
Default: False<br />
Modified value: <strong>True</strong></p>
<p>Config name: network.http.proxy.pipelining<br />
Default: False<br />
Modified value: <strong>True</strong></p>
<p>Config name: network.http.pipelining.maxrequests<br />
Default: 4<br />
Modified value: <strong>any value higher than 4, but not more than 8</strong></p>
<p>Config name: network.http.max-connections<br />
Default: 30<br />
Modified value: <strong>96</strong></p>
<p>Config name: network.http.max-connections-per-server<br />
Default: 15<br />
Modified value: <strong>32</strong></p>
<h4>Enabling autologin</h4>
<p>Enabling autologin isn&#8217;t too difficult, but it can be a bit tricky if you don&#8217;t know your way around. Word of warning though. There are a lot of things in the background that will break (like the permission to be able to suspend your machine) upon doing this. Haven&#8217;t investigated enough to give the proper permissions yet, but they will come with time.</p>
<p>If you&#8217;re still up for doing this, let&#8217;s execute these following commands. Remember that <b>username</b> is the user you want to automatically log in as:</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: #666666; font-style: italic;"># cp /home/username/.bash_profile ~/username-bash_profile</span>
<span style="color: #666666; font-style: italic;"># cp /etc/inittab ~/inittab.bak</span>
<span style="color: #666666; font-style: italic;"># exit</span></pre></div></div>

<p>At this point you should be logged in as the user you want to automatically log in as. Add the following lines to the file <b>/home/username/.bash_profile</b>:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-z</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$DISPLAY</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> $<span style="color: #7a0874; font-weight: bold;">&#40;</span>tty<span style="color: #7a0874; font-weight: bold;">&#41;</span> == <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>tty1 <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
startxfce4
<span style="color: #000000; font-weight: bold;">fi</span></pre></div></div>

<p>Save and close the file.</p>
<p>Now that we&#8217;ve backed up things, and made that change, become <b>root</b> again, open up <b>/etc/inittab</b> with your favorite editor, and comment out the following line like so:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#id:5:initdefault:</span></pre></div></div>

<p>Save and close the file. Then proceed to opening up <b>/etc/event.d/tty1</b>, and comment out this line like so:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#exec /sbin/mingetty tty1</span></pre></div></div>

<p>and adding the following below:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">exec</span> <span style="color: #000000; font-weight: bold;">/</span>sbin<span style="color: #000000; font-weight: bold;">/</span>mingetty <span style="color: #660033;">--autologin</span> username tty1</pre></div></div>

<p>Remember to replace <b>username</b> with the user you want to login automatically as. Now that we&#8217;re done with that part, open up <b>/etc/sysconfig/desktop</b> and comment out the line there like so:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#PREFERRED=startxfce4</span></pre></div></div>

<p>Adding the following just below it:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">DISPLAYMANAGER</span>=<span style="color: #ff0000;">&quot;console&quot;</span></pre></div></div>

<p>Upon a reboot now you should be automatically logged in as the user you specified! A shutdown/reboot by pressing the <b>Logout</b> button though isn&#8217;t working at the moment, but do the following to get it working. Become <b>root</b> and open up the file <b>/etc/PolicyKit/PolicyKit.conf</b> and add make the whole file look like this:</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;?xml</span> <span style="color: #000066;">version</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span> <span style="color: #000066;">encoding</span>=<span style="color: #ff0000;">&quot;UTF-8&quot;</span><span style="color: #000000; font-weight: bold;">?&gt;</span></span> <span style="color: #808080; font-style: italic;">&lt;!-- -*- XML -*- --&gt;</span>
&nbsp;
<span style="color: #00bbdd;">&lt;!DOCTYPE pkconfig PUBLIC &quot;-//freedesktop//DTD PolicyKit Configuration 1.0//EN&quot;</span>
<span style="color: #00bbdd;">&quot;http://hal.freedesktop.org/releases/PolicyKit/1.0/config.dtd&quot;&gt;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">&lt;!-- See the manual page PolicyKit.conf(5) for file format --&gt;</span>
&nbsp;
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;config</span> <span style="color: #000066;">version</span>=<span style="color: #ff0000;">&quot;0.1&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;match</span> <span style="color: #000066;">action</span>=<span style="color: #ff0000;">&quot;org.freedesktop.hal.storage.mount-removable&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;return</span> <span style="color: #000066;">result</span>=<span style="color: #ff0000;">&quot;yes&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/match<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;match</span> <span style="color: #000066;">action</span>=<span style="color: #ff0000;">&quot;org.freedesktop.hal.power-management.shutdown&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;return</span> <span style="color: #000066;">result</span>=<span style="color: #ff0000;">&quot;yes&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/match<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;match</span> <span style="color: #000066;">action</span>=<span style="color: #ff0000;">&quot;org.freedesktop.hal.power-management.reboot&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;return</span> <span style="color: #000066;">result</span>=<span style="color: #ff0000;">&quot;yes&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/match<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/config<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>That should make a shutdown and reboot work properly through the Logoff button. You will also notice now though that the sound isn&#8217;t working (permission-issues again). The fix to this is by adding the user to the groups <b>audio</b> and <b>video</b>. Open up <b>/etc/group</b> and make the lines with those groups look like so:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">audio:x:<span style="color: #000000;">63</span>:username
video:x:<span style="color: #000000;">39</span>:username</pre></div></div>

<p>Sound should now hopefully be working.</p>
<h4>Ways to extend your battery life</h4>
<p>There are several things you can do to extend the battery life on your Acer Aspire One.</p>
<ul>
<li>Turn the screen brightness down &#8211; your screen is the most power-intensive component in your laptop, and why turn the brightness all the way up if you already can see well enough?</li>
<li>When not in use, turn of the wireless and bluetooth functions.</li>
<li>If you have enough memory on your laptop, disable swapping (we&#8217;ve done it in this case). I would suggest putting in more memory, as swapping writes to virtual memory.</li>
<li>Journaling-filesystem on a SSD-disk = baaad. More writing to disk means more power used. Switch to <strong>ext2</strong> instead.</li>
<li>Disable all services that just aren&#8217;t used. A lot of distributions come with say <strong>httpd</strong> enabled at start up. If you don&#8217;t need it, get rid of it.</li>
<li>When you&#8217;re in no need of sound &#8211; mute it!</li>
</ul>
<p><strong>Jason Farrel</strong> has these following tips to apply as well:</p>
<ul>
<li> Use <strong>powertop</strong> to eliminate more power hogs.</li>
<li> If using mplayer to play video, and you see nasty horizontal tearing, it’s because the fast overlay isn’t being used by default. Edit <strong>~/.mplayer/config</strong> and <strong>gui.conf</strong> to use <strong>vo=xv:port=XX</strong> where <strong>XX</strong> is the port returned from the <strong>xvinfo</strong> util for the overlay adaptor &#8211; this should be 79.</li>
<li> To cut the bootup time almost in half (down to 25 seconds here), disable uneeded services. Here’s a one-liner to disable them (run it as root):</li>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">for</span> s <span style="color: #000000; font-weight: bold;">in</span> atd auditd avahi-daemon bluetooth cups gpm ip6tables kerneloops mdmonitor nfslock portreserve rpcbind rpcgssd rpcidmapd <span style="color: #c20cb9; font-weight: bold;">sendmail</span> setroubleshoot livesys livesys-late microcode_ctl; <span style="color: #000000; font-weight: bold;">do</span> <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;chkconfig <span style="color: #007800;">$s</span> off&quot;</span>; chkconfig <span style="color: #007800;">$s</span> off; <span style="color: #000000; font-weight: bold;">done</span></pre></div></div>

<li> This one makes a big difference: don’t forget to disable firefox’s disk cache or you’ll grind to death.</li>
</ul>
<p>Thanks for the tips <strong>Jason</strong> (from the Fedora 10 post). :)</p>
<p>Now this next bit is VERY important, if you want your AAO to perform as best as it can. Keep in mind that this applied to Fedora 10, and applies to Fedora 11 as well:</p>
<p><em>I installed FC10 like you described. It works fine. I was a bit surprised the AAO appeared rather slow compared to my EEE 1000H. So I ran <strong>cat /proc/cpuinfo</strong>. It appeared the CPU ran at 800 Mhz. I first looked at the BIOS, but the CPU ran at 1600 Mhz over there. Then I looked at services and found <strong>cpuspeed</strong> running. This is for scaling the CPU speed. After disabling this service the <strong>cat /proc/cpuinfo</strong> reported 1600 Mhz CPU speed and the system runs much smoother (and most probably consumes more power!).</em></p>
<p>And he is completely right. <strong>Jaap</strong> (from the Fedora 10 post), thanks a million!</p>
<h4>Minor troubleshooting</h4>
<h5>My Fn-Left/Right not only reduces/increases the brightness, but sends the machine into Suspend-mode. Why?</h5>
<p>First off, a big thank you to <b>Lesley Mitchell</b> for having informed me of this issue. Quoting <b>Lesley</b>:</p>
<p><i>The brightness/suspend thing is a bug in xfce4-powermanager 0.8beta.</p>
<p>There’s a link to the release 0.8.0 version that fixes it here:<br />
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=505414">https://bugzilla.redhat.com/show_bug.cgi?id=505414</a>.</p>
<p>Or you can wait for it to turn up in the updates repository.<br />
</i></p>
<p>If you don&#8217;t want to wait for an update in the repository, do the following:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># wget http://kojipkgs.fedoraproject.org/packages/xfce4-power-manager/0.8.0/1.fc11/i586/xfce4-power-manager-0.8.0-1.fc11.i586.rpm</span>
<span style="color: #666666; font-style: italic;"># yum --nogpgcheck localinstall xfce4-power-manager-0.8.0-1.fc11.i586.rpm</span></pre></div></div>

<p>Reboot once it&#8217;s installed, and that should fix the issue.</p>
<h5>Could not look up internet address for..</h5>
<p>The complete errormessage is:</p>
<p><i>Could not look up internet address for <b>NameOfYourMachine</b>. This will prevent Xfce from operating correctly.<br />
It may be possible to correct the problem by adding <b>NameOfYourMachine</b> to the file /etc/hosts on your system.</i></p>
<p>The solution? Just like it says. If your machine name was <b>howl.fbarr.lan</b>, like mine is, you&#8217;d add the following:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">127.0.0.1 howl.fbarr.lan howl</pre></div></div>

<p>to <b>/etc/hosts</b>.</p>
<h5>Make the sound work properly</h5>
<p>When checking the initial volume-settings, you&#8217;ll notice that you can hear a little bit of sound, but not much, even if you&#8217;ve cranked up the volume to the max. Thing is, we need to specify a little something, just a line really, to make it work properly. Create a file named <strong>/etc/modprobe.d/sound.conf</strong> with the following in it:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">options snd-hda-intel <span style="color: #007800;">model</span>=acer-aspire</pre></div></div>

<p>If you were previously using <strong>options snd-hda-intel model=acer</strong>, change it to <strong>options snd-hda-intel model=acer-aspire</strong>. This should sort out your problem when plugging in a headphone, and the sound would still get out by the normal speaker at the same time. Thanks to <strong>Bruno Malone</strong> (from the Fedora 10 post) for the tip. :)</p>
<p>In my case, I&#8217;ve removed <b>pulseaudio</b> because I tend to play movies over <b>NFS</b> quite a bit, and <b>pulseaudio</b> always makes the sound turn choppy. So after having executed a <b>yum remove pulseaudio</b>, I add a volume-icon on my taskbar by right-clicking on it, selecting <b>Add New Items..</b> and adding the application <b>Mixer</b>.</p>
<p>Reboot, and your sound should be working perfectly fine, even after you&#8217;ve resumed from suspend. :)</p>
<h5>Using Fn-Arrow Up/Down to control the volume</h5>
<p>You&#8217;ll probably come to notice that <strong>Fn-Left</strong>/<strong>Right</strong> works perfectly fine for adjusting the screen brightness. Unfortunately, <strong>Fn-Up</strong>/<strong>Down</strong> doesn&#8217;t work for controlling the volume. But that is easily fixed. :) A program that&#8217;s needed, named <strong>amixer</strong>, isn&#8217;t installed. So as root, install it this way:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># yum -y install alsa-utils</span></pre></div></div>

<p>That should make things peachy again. ;)</p>
<h5>Why is everything so big?</h5>
<p>This is easily fixed. Press the tiny Fedora-icon on your menu, and go to <strong>Preferences</strong>, <strong>Appearance</strong>, go to the tab <strong>Fonts</strong> and click the <strong>Custom DPI Setting</strong>, and type <strong>80</strong>. Done!</p>
<h5>Double tap and scrolling doesn&#8217;t work on my Touchpad!</h5>
<p>The new upstream Synaptics driver disables tapping and vertical edge scrolling by default. In order to fix this, place the following in a file called <b>/etc/hal/fdi/policy/10-synaptics.fdi</b>:</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;?xml</span> <span style="color: #000066;">version</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span> <span style="color: #000066;">encoding</span>=<span style="color: #ff0000;">&quot;ISO-8859-1&quot;</span><span style="color: #000000; font-weight: bold;">?&gt;</span></span>
&nbsp;
<span style="color: #808080; font-style: italic;">&lt;!-- DO NOT EDIT THIS FILE IN PLACE.</span>
<span style="color: #808080; font-style: italic;">     This file will be overwritten with the next update. If you need to add</span>
<span style="color: #808080; font-style: italic;">     custom options, copy the file into /etc/hal/fdi/policy/ first. </span>
&nbsp;
<span style="color: #808080; font-style: italic;">     See https://fedoraproject.org/wiki/Input_device_configuration --&gt;</span>
&nbsp;
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;deviceinfo</span> <span style="color: #000066;">version</span>=<span style="color: #ff0000;">&quot;0.2&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;device<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;match</span> <span style="color: #000066;">key</span>=<span style="color: #ff0000;">&quot;info.capabilities&quot;</span> <span style="color: #000066;">contains</span>=<span style="color: #ff0000;">&quot;input.touchpad&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
        <span style="color: #808080; font-style: italic;">&lt;!-- To add custom options for the touchpad, modify the examples below</span>
<span style="color: #808080; font-style: italic;">             to suit your needs. The available options are listed in the</span>
<span style="color: #808080; font-style: italic;">             &quot;synaptics&quot; man page. After modifyfing this file, you must</span>
<span style="color: #808080; font-style: italic;">             restart HAL. Check the output of lshal whether your modifications</span>
<span style="color: #808080; font-style: italic;">             have been merged successfully.</span>
&nbsp;
<span style="color: #808080; font-style: italic;">             Note: Options must always be type &quot;string&quot;.</span>
<span style="color: #808080; font-style: italic;">             The following examples enable left, right, middle clicks on</span>
<span style="color: #808080; font-style: italic;">             single, double, triple finger tapping, respectively.</span>
&nbsp;
<span style="color: #808080; font-style: italic;">             &lt;merge key=&quot;input.x11_options.TapButton1&quot; type=&quot;string&quot;&gt;1&lt;/merge&gt;</span>
<span style="color: #808080; font-style: italic;">             &lt;merge key=&quot;input.x11_options.TapButton2&quot; type=&quot;string&quot;&gt;3&lt;/merge&gt;</span>
<span style="color: #808080; font-style: italic;">             &lt;merge key=&quot;input.x11_options.TapButton3&quot; type=&quot;string&quot;&gt;2&lt;/merge&gt;</span>
<span style="color: #808080; font-style: italic;">        --&gt;</span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;merge</span> <span style="color: #000066;">key</span>=<span style="color: #ff0000;">&quot;input.x11_driver&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;string&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>synaptics<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/merge<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;merge</span> <span style="color: #000066;">key</span>=<span style="color: #ff0000;">&quot;input.x11_options.TapButton1&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;string&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>1<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/merge<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;merge</span> <span style="color: #000066;">key</span>=<span style="color: #ff0000;">&quot;input.x11_options.VertEdgeScroll&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;string&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>1<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/merge<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
&nbsp;
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/match<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/device<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/deviceinfo<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>Save and close it, and reboot. Double tap should now be working. </p>
<p>If you want regular and circular scrolling enabled, you need to install the package <b>gsynaptics</b>, and running it from <b>Alt-F2</b>. </p>
<p>Enable the settings you want, and click OK. Now go to the XFCE start menu, <strong>Preferences</strong>, <b>Session and Startup</b>, and select the <b>Application Autostart-tab</b>. Add the application <b>/usr/bin/gsynaptics-init</b> to the startup list.</p>
<p>Settings should now be kept when rebooted.</p>
<h5>Making suspend work when closing the lid</h5>
<p>It seems that XFCE 4.6 comes with a native Suspend and Hibernate function, so this should work out of the box! Unfortunately, it doesn&#8217;t quite. Suspend works great, but I haven&#8217;t had success with Hibernate, yet. And thanks to <b>EasyTarget</b>, who commented on this post, I finally know why. Quoting <b>EasyTarget</b>:</p>
<p><i>Jorge, I think the reason your Hibernate fails is that the Swap has been removed (for good reasons, I don’t have swap on my A110 either).. IIRC linux uses the swapfile for it’s hibernate functions, and not having a swapfile (or not having enough free space on the swap for your system ram+currently swapped data!) causes this to fail. Strangely this means you need a Huge swapfile to reliably hibernate your system.. I think it’s simply a no-go for SSD based systems at the moment.</p>
<p>https://lists.linux-foundation.org/pipermail/linux-pm/2007-July/013971.html</p>
<p>You might also be interested in..</p>
<p>http://wiki.debian.org/Hibernation/Hibernate_Without_Swap_Partition</i></p>
<p>Thanks for the information. :)</p>
<h4>Other tips and tricks</h4>
<p>Here are a few other minor tips and tricks.</p>
<h5>Enabling the rpmfusion-repository</h5>
<p>Easily done. su to root, and execute the following command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm</span></pre></div></div>

<p>And that&#8217;s it! Search for a package by executing:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># yum search &lt;packagename&gt;</span></pre></div></div>

<h5>Installing yum-presto</h5>
<p>The presto plugin for yum adds support for downloading deltarpms and using them to generate new packages. If user enables this plugin, it will make a substantial dent in the amount of data having to be downloaded for updates.  In other words, normally if you need to upgrade a package, yum will remove the complete package, and download the complete new package, even if a lot of the content is just the same. By enabling <b>yum-presto</b> it will only download the difference between those packages, making it faster and goes easier on the bandwidth by up to 80%, in some cases. Simply enable it by installing the <b>yum-presto</b> package:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># yum install yum-presto</span></pre></div></div>

<p>And you&#8217;re set.</p>
<h5>Installing Flash</h5>
<p>As always, we need Flash for our browser. Thing is though, there&#8217;s an Adobe-repository we can use. If someone is bound to release a new version of Flash first, it&#8217;s them. So do the following as root:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># wget http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm</span>
<span style="color: #666666; font-style: italic;"># yum --nogpgcheck localinstall adobe-release-i386-1.0-1.noarch.rpm</span>
<span style="color: #666666; font-style: italic;"># yum -y install flash-plugin</span></pre></div></div>

<p>That&#8217;s it. Restart your browser, and you should now have Flash enabled.</p>
<h4>Final words</h4>
<p>So, that was it! This post will be constantly updated with new things I stumble upon, or suggestions from people posting comments. Anything you&#8217;d like to add to this post? Get in touch, I&#8217;ll look it over!</p>
<p>And so, we end this post with another screenshot. This time, Fedora 11 with XFCE:</p>
<p><a href="http://jorge.fbarr.net/wp-content/uploads/2009/06/fedora-11-with-xfce.png"><img src="http://jorge.fbarr.net/wp-content/uploads/2009/06/fedora-11-with-xfce-300x175.png" alt="fedora-11-with-xfce" title="fedora-11-with-xfce" width="300" height="175" class="alignnone size-medium wp-image-641" /></a></p>
<p>As always, comments and feedback is always appreciated.</p>
<p>Good luck, and enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://jorge.fbarr.net/2009/06/11/fedora-11-on-the-acer-aspire-one/feed/</wfw:commentRss>
		<slash:comments>75</slash:comments>
		</item>
	</channel>
</rss>

