<?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; usb</title>
	<atom:link href="http://jorge.fbarr.net/tag/usb/feed/" rel="self" type="application/rss+xml" />
	<link>http://jorge.fbarr.net</link>
	<description>The life of a geek, father and husband</description>
	<lastBuildDate>Sat, 12 Jun 2010 04:34:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Fedora 13 on the Acer Aspire One</title>
		<link>http://jorge.fbarr.net/2010/06/09/fedora-13-on-the-acer-aspire-one/</link>
		<comments>http://jorge.fbarr.net/2010/06/09/fedora-13-on-the-acer-aspire-one/#comments</comments>
		<pubDate>Wed, 09 Jun 2010 06:22:14 +0000</pubDate>
		<dc:creator>jorge</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[13]]></category>
		<category><![CDATA[aa1]]></category>
		<category><![CDATA[aao]]></category>
		<category><![CDATA[acer]]></category>
		<category><![CDATA[aspire]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[format]]></category>
		<category><![CDATA[one]]></category>
		<category><![CDATA[optimize]]></category>
		<category><![CDATA[partition]]></category>
		<category><![CDATA[ssd]]></category>
		<category><![CDATA[usb]]></category>
		<category><![CDATA[xfce]]></category>

		<guid isPermaLink="false">http://jorge.fbarr.net/?p=969</guid>
		<description><![CDATA[Back in the game after a while, I proudly present to you a little tale of Fedora 13 on the Acer Aspire One. Some important additions to the system are: Automatic print driver installation Automatic language pack installation Redesigned user account tool Color management to calibrate monitors and scanners Experimental 3D support for NVIDIA video [...]]]></description>
			<content:encoded><![CDATA[<p>Back in the game after a while, I proudly present to you a little tale of Fedora 13 on the Acer Aspire One. Some important additions to the system are:</p>
<ul>
<li>Automatic print driver installation</li>
<li>Automatic language pack installation</li>
<li>Redesigned user account tool</li>
<li>Color management to calibrate monitors and scanners</li>
<li>Experimental 3D support for NVIDIA video cards</li>
</ul>
<p>You can check out further details at <a href="http://docs.fedoraproject.org/en-US/Fedora/13/html/Release_Notes/index.html#sect-Release_Notes-Fedora_Overview">http://docs.fedoraproject.org/en-US/Fedora/13/html/Release_Notes/index.html#sect-Release_Notes-Fedora_Overview</a>.</p>
<p>Time to start installing Fedora 13.</p>
<h4>Preparing your USB-pen</h4>
<p>Prepare your USB-pen! This time around we don&#8217;t have to download the XFCE-spin through torrents, it seems they&#8217;ve made the ISO-file available!</p>
<p>What we need to do is to install the Live CD to a USB-pen/drive. <a title="Fedora 13 XFCE Live" href="http://download.fedoraproject.org/pub/alt/spins/linux/releases/13/Spins/i686/Fedora-13-i686-Live-XFCE.iso">To do that download the ISO from here</a>. With me having a stationary machine using Fedora 12, 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;">yum <span style="color: #c20cb9; font-weight: bold;">install</span> livecd-tools</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;">9</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;">1974272</span> <span style="color: #000000;">512</span>-byte logical blocks: <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">1.01</span> GB<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">964</span> MiB<span style="color: #7a0874; font-weight: bold;">&#41;</span>
sd <span style="color: #000000;">9</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;">9</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;">9</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;">9</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;">9</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;">9</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 removable disk</pre></div></div>

<p>If your USB-pen has previously had another operating system running on it, the <b>M</b>aster <b>B</b>oot <b>R</b>ecord (<b>MBR</b>) might already have some data on it that crashes with what we&#8217;re about to do. So to clear the <b>MBR</b> (excluding the partition table), you can do one of the two following things; Use the flag <b>&#8211;reset-mbr</b> when running <b>livecd-iso-to-disk</b> or using the <b>dd</b> command. I recommend using the first option, and if that fails, try the second one.</p>
<p>With your iso downloaded, execute the following command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">livecd-iso-to-disk <span style="color: #660033;">--reset-mbr</span> <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>jorge<span style="color: #000000; font-weight: bold;">/</span>downloads<span style="color: #000000; font-weight: bold;">/</span>Fedora-<span style="color: #000000;">13</span>-i686-Live-XFCE.iso <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sdb1</pre></div></div>

<p><strong>Fedora-13-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>
<p>Now, if the <b>MBR</b> is still causing problems (like the USB-pen not booting), try the following:</p>
<p><b>Warning:</b> This command can render your system useless, so be <b>CAUTIOUS</b> and sure before you use it. Make sure that <b>/dev/sdb</b> is in fact your USB-pen, and not some other device. You have been warned!</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">dd</span> <span style="color: #007800;"><span style="color: #000000; font-weight: bold;">if</span></span>=<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>zero <span style="color: #007800;">of</span>=<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sdb <span style="color: #007800;">bs</span>=<span style="color: #000000;">446</span> <span style="color: #007800;">count</span>=<span style="color: #000000;">1</span></pre></div></div>

<p>And run the <b>livecd-iso-to-disk</b>-command above again.</p>
<p>For more information about how to create and use a Live USB device, check out <a href="https://fedoraproject.org/wiki/FedoraLiveCD/USBHowTo">https://fedoraproject.org/wiki/FedoraLiveCD/USBHowTo</a>.</p>
<h4>Installing Fedora 13</h4>
<p>Now that the USB-pen is ready to go, reboot your Acer Aspire One, and at boot press <strong>F13</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, and just select <b>Basic Storage Devices</b> when you get to that option. When you get at the screen that asks you to check the drive you&#8217;d like to install the operating system on, check the one that says <b>ATA</b> (should be around 7.5GB big). If you can&#8217;t uncheck your USB-device, don&#8217;t worry. </p>
<p>When selecting what type of installation you&#8217;d like, select <b>Use All Space</b>, and check the box at the bottom that says <b>Review and modify partition layout</b>. Click <b>Next</b>.</p>
<p>Next select the Acer&#8217;s drive, and click the arrow to the right to move it to <b>Install Target Devices</b>, leaving the USB-device under <b>Data Storage Devices (to be mounted only)</b>. Click <b>Next</b>.</p>
<p>We&#8217;ll be using the <b>ext4</b> filesystem on our Acer Aspire One.</p>
<p>Now we should be in a new screen. We don&#8217;t want LVM on an SSD-disk, so we remove it.</p>
<p>Click on the line that says <strong>vol_MACHINENAME</strong> and click <strong>Delete</strong>. In my case it&#8217;s called <b>vg_howl</b>, since I named my machine <b>howl</b>.</p>
<p>Now click on the line that says <strong>/dev/sda2</strong> and click <strong>Edit</strong>. Change the <b>File System Type</b> to <b>ext4</b> and then change the <strong>Mount Point</strong> to <strong>/</strong>. Make sure that you have checked the box <b>sda</b> (and <b>ONLY sda</b>) in <b>Allowable Drives</b> and 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>. When a question about a boot loader comes up, simply press <b>Next</b>. </p>
<p>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>Things haven&#8217;t changed, SELinux will haunt us forever.</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>
<h4>Optimizing Fedora 13</h4>
<p>I assume that by now you are actually using the Fedora 13 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 <strong>noatime</strong> and <strong>nodiratime</strong>. 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>=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>
<span style="color: #007800;">UUID</span>=6f651dc4-3d50-4a28-b3d0-fc91b41f737c <span style="color: #000000; font-weight: bold;">/</span>boot                   ext4    defaults,noatime,nodiratime        <span style="color: #000000;">1</span> <span style="color: #000000;">2</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/sysctl.conf</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>
<span style="color: #666666; font-style: italic;"># Strongly discourage swapping (default 60)</span>
vm.swappiness = <span style="color: #000000;">1</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Don't shrink the inode cache aggressively (default 100)</span>
vm.vfs_cache_pressure = <span style="color: #000000;">50</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># (default 499)</span>
vm.dirty_writeback_centisecs = <span style="color: #000000;">1500</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># (default 10)</span>
vm.dirty_ratio = <span style="color: #000000;">20</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># (default 5)</span>
vm.dirty_background_ratio = <span style="color: #000000;">10</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># (default 0)</span>
vm.laptop_mode = <span style="color: #000000;">5</span></pre></div></div>

<p>..and this to your <b>/etc/rc.d/rc.local</b>:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><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;">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
&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</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.31.6-145.fc12.i686 ro <span style="color: #007800;">root</span>=<span style="color: #007800;">UUID</span>=0dbcdea1-3f91-477a-b730-ea6033c45b5c noiswmd <span style="color: #007800;">LANG</span>=en_US.UTF-<span style="color: #000000;">8</span> <span style="color: #007800;">SYSFONT</span>=latarcyrheb-sun16 <span style="color: #007800;">KEYBOARDTYPE</span>=pc <span style="color: #007800;">KEYTABLE</span>=no 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.31.5-127.fc12.i686 ro <span style="color: #007800;">root</span>=<span style="color: #007800;">UUID</span>=0dbcdea1-3f91-477a-b730-ea6033c45b5c noiswmd <span style="color: #007800;">LANG</span>=en_US.UTF-<span style="color: #000000;">8</span> <span style="color: #007800;">SYSFONT</span>=latarcyrheb-sun16 <span style="color: #007800;">KEYBOARDTYPE</span>=pc <span style="color: #007800;">KEYTABLE</span>=no 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 13 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 13 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: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>disk
<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>sda2 <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>disk
<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>sda1 <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>disk<span style="color: #000000; font-weight: bold;">/</span>boot
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>disk<span style="color: #000000; font-weight: bold;">/</span>etc</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>                   ext4    defaults,noatime,nodiratime        <span style="color: #000000;">1</span> <span style="color: #000000;">1</span>
<span style="color: #007800;">UUID</span>=0dbcdea1-3f91-477a-b730-ea6033c45b5c <span style="color: #000000; font-weight: bold;">/</span>boot                       ext4    defaults,noatime,nodiratime        <span style="color: #000000;">1</span> <span style="color: #000000;">2</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>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>
<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            ext4    defaults,noatime,nodiratime        <span style="color: #000000;">1</span> <span style="color: #000000;">2</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: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>disk<span style="color: #000000; font-weight: bold;">/</span>boot<span style="color: #000000; font-weight: bold;">/</span>grub<span style="color: #000000; font-weight: bold;">/</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.33.3-85.fc13.i686 ro <span style="color: #007800;">root</span>=<span style="color: #007800;">UUID</span>=0dbcdea1-3f91-477a-b730-ea6033c45b5c noiswmd <span style="color: #007800;">LANG</span>=en_US.UTF-<span style="color: #000000;">8</span> <span style="color: #007800;">SYSFONT</span>=latarcyrheb-sun16 <span style="color: #007800;">KEYBOARDTYPE</span>=pc <span style="color: #007800;">KEYTABLE</span>=no 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.33.3-85.fc13.i686 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 noiswmd <span style="color: #007800;">LANG</span>=en_US.UTF-<span style="color: #000000;">8</span> <span style="color: #007800;">SYSFONT</span>=latarcyrheb-sun16 <span style="color: #007800;">KEYBOARDTYPE</span>=pc <span style="color: #007800;">KEYTABLE</span>=no 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: #7a0874; font-weight: bold;">cd</span> ~<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">umount</span> <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>disk<span style="color: #000000; font-weight: bold;">/</span>boot<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">umount</span> <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>disk<span style="color: #000000; font-weight: bold;">/</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;">tune2fs <span style="color: #660033;">-O</span> ^has_journal <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda2</pre></div></div>

<p>Reboot your machine, and you should now have an <b>ext4</b> filesystem with journaling disabled.</p>
<p>Now should be the time to update all of your packages before proceeding. So when you are logged back into your system again, open up a terminal, su to root, and do a:</p>

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

<p>Brace yourself, this might take a while. :)</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 (instead of disabling it), 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 auto-login</h4>
<p>As of Fedora 13, enabling automatic login on XFCE is a LOT easier. First, we need to have the packages <b>accountsdialog</b> and <b>accountsservice</b> installed. So execute the following command as root:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #660033;">-y</span> <span style="color: #c20cb9; font-weight: bold;">install</span> accountsdialog accountsservice</pre></div></div>

<p>Once the packages are installed, press <b>Alt-F2</b> to get the run-dialog, and enter <b>accounts-dialog</b>.</p>
<p>You will get up a little box with your current user listed. Click on the shield-icon to the bottom left to allow changes to details. Enter your root-password, and proceed to click <b>Login Options</b>.</p>
<p>Now you have a new box up. Click on the shield again, enter the root-password again, and select the user you want to automatically log in as under <b>Automatic login</b>.</p>
<p>That is pretty much it. Exit the program, reboot, and you should be able to log in automatically as the user you specified. :)</p>
<p>That is one method you can use. The other one is as follows.</p>
<p>First, a huge thanks to the user <b>mjc</b> for this great tip which allows you to enable auto-login as well!</p>
<p>Edit the file <b>/etc/gdm/custom.conf</b> to make it look something like:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>daemon<span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #007800;">TimedLoginEnable</span>=<span style="color: #c20cb9; font-weight: bold;">true</span>
<span style="color: #007800;">AutomaticLoginEnable</span>=<span style="color: #c20cb9; font-weight: bold;">true</span>
<span style="color: #007800;">AutomaticLogin</span>=jorge
<span style="color: #007800;">TimedLogin</span>=jorge
<span style="color: #007800;">TimedLoginDelay</span>=<span style="color: #000000;">0</span></pre></div></div>

<p>Replacing <b>jorge</b> with the username you want to automatically log in as. When done, save and exit the file. </p>
<p>Now you have to remove the keyring password. Yes, that does mean that your keys and passwords will be unprotected.</p>
<p>To change/remove the keyring password:</p>
<ol>
<li>Open <b>Passwords and Encryption Keys</b> in <b>Accessories</b></li>
<li>Go to the <b>Passwords</b>-tab</li>
<li>Right-click the <b>Passwords:login</b>-keyring and select <b>Change Password</b>.</li>
</ol>
<p>Enter in your password in the top field and leave the new password fields (<b>Password</b> and <b>Confirm password</b>) empty to remove the keyring password. Click <b>Change</b>. Reboot your machine and you should log in automatically!</p>
<p>Thanks again <b>mjc</b>!</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. In this howto we&#8217;re using <b>ext4</b> without journaling, but just wanted to remind you. :)</li>
<li>Disable all services that 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 bit of code to disable the services (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 ip6tables \
mdmonitor <span style="color: #c20cb9; font-weight: bold;">sendmail</span> livesys livesys-late; \
<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 Acer Aspire One to perform as best as it can. Keep in mind that this applied to Fedora 11, and applies to Fedora 12 as well as Fedora 13:</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>So start/stop the service:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">service cpuspeed <span style="color: #7a0874; font-weight: bold;">&#91;</span>start<span style="color: #000000; font-weight: bold;">|</span>stop<span style="color: #7a0874; font-weight: bold;">&#93;</span></pre></div></div>

<p>Throw in a:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">chkconfig cpuspeed <span style="color: #7a0874; font-weight: bold;">&#91;</span>on<span style="color: #000000; font-weight: bold;">|</span>off<span style="color: #7a0874; font-weight: bold;">&#93;</span></pre></div></div>

<p>To disable the service at boot-time.</p>
<p>Thanks to <strong>Jaap</strong> (from the Fedora 10 post) for the tip. :)</p>
<h4>Minor troubleshooting</h4>
<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>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:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum remove pulseaudio</pre></div></div>

<p>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>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>Quoting <a href="http://www.fedoraproject.org">http://www.fedoraproject.org</a>:</p>
<p><i>Beginning with Fedora 13, the X server uses udev instead of HAL for input device detection and xorg.conf InputClass configuration. Thus, any HAL-specific configuration is deprecated and users with custom configurations in fdi files need to change these configurations to conform to the new format.</i></p>
<p>This means that the HAL-configuration we used in Fedora 12 no longer applies for Fedora 13. Instead we have to create configuration-files in <b>/etc/X11/xorg.conf.d/</b>. Go to that directory, create a file named <b>01-system-setup-mouse.conf</b>, and place the following in it:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># Enables tapping on the Acer Aspire One</span>
&nbsp;
Section <span style="color: #ff0000;">&quot;InputClass&quot;</span>
       Identifier <span style="color: #ff0000;">&quot;tap-by-default&quot;</span>
       MatchIsTouchpad <span style="color: #ff0000;">&quot;on&quot;</span>
       Option <span style="color: #ff0000;">&quot;TapButton1&quot;</span> <span style="color: #ff0000;">&quot;1&quot;</span>
EndSection</pre></div></div>

<p>Save the file, reboot, and the tapping should be working. :)</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>
<p>To enable suspend upon closing the lid, go to the XFCE-menu, <b>Preferences</b> -> <b>XFCE 4 Power Manager</b> -> <b>On AC</b>, and select <b>Suspend</b> on <b>When the laptop lid is closed</b>.</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;">rpm <span style="color: #660033;">-Uvh</span> http:<span style="color: #000000; font-weight: bold;">//</span>download1.rpmfusion.org<span style="color: #000000; font-weight: bold;">/</span>free<span style="color: #000000; font-weight: bold;">/</span>fedora<span style="color: #000000; font-weight: bold;">/</span>rpmfusion-free-release-stable.noarch.rpm http:<span style="color: #000000; font-weight: bold;">//</span>download1.rpmfusion.org<span style="color: #000000; font-weight: bold;">/</span>nonfree<span style="color: #000000; font-weight: bold;">/</span>fedora<span style="color: #000000; font-weight: bold;">/</span>rpmfusion-nonfree-release-stable.noarch.rpm</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;">yum search <span style="color: #000000; font-weight: bold;">&lt;</span>packagename<span style="color: #000000; font-weight: bold;">&gt;</span></pre></div></div>

<h5>Disabling 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. The downside to this is that the disk has to work a LOT, which means a lot of write operations, which again means that SSD is not the best thing to have. I personally disable the plugin, and would recommend you to do it as well if you have a good internet connection. Do it by executing the following command as <b>root</b>:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum remove yum-presto</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;">rpm <span style="color: #660033;">-Uvh</span> http:<span style="color: #000000; font-weight: bold;">//</span>linuxdownload.adobe.com<span style="color: #000000; font-weight: bold;">/</span>adobe-release<span style="color: #000000; font-weight: bold;">/</span>adobe-release-i386-<span style="color: #000000;">1.0</span>-1.noarch.rpm
yum <span style="color: #660033;">-y</span> <span style="color: #c20cb9; font-weight: bold;">install</span> flash-plugin</pre></div></div>

<p>That&#8217;s it. Restart your browser, and you should now have Flash enabled.</p>
<h4>Final words</h4>
<p>Tada! That&#8217;s pretty much it. If you have any comments or suggestions to this post, feel free to post a comment, I&#8217;ll look it over! Good luck enjoying Fedora 13 with your Acer Aspire One!</p>
<p>And once again, we can&#8217;t end this post without a screenshot of Fedora 13, and my always-charming smile. ;)</p>
<p><a href="http://jorge.fbarr.net/wp-content/uploads/2010/06/fedora-13-on-the-acer-aspire-one.png"><img src="http://jorge.fbarr.net/wp-content/uploads/2010/06/fedora-13-on-the-acer-aspire-one-300x175.png" alt="" title="fedora-13-on-the-acer-aspire-one" width="300" height="175" class="aligncenter size-medium wp-image-994" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://jorge.fbarr.net/2010/06/09/fedora-13-on-the-acer-aspire-one/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Fedora 12 on the Acer Aspire One</title>
		<link>http://jorge.fbarr.net/2009/12/01/fedora-12-on-the-acer-aspire-one/</link>
		<comments>http://jorge.fbarr.net/2009/12/01/fedora-12-on-the-acer-aspire-one/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 10:14:26 +0000</pubDate>
		<dc:creator>jorge</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[12]]></category>
		<category><![CDATA[acer]]></category>
		<category><![CDATA[aspire]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[iso]]></category>
		<category><![CDATA[one]]></category>
		<category><![CDATA[optimize]]></category>
		<category><![CDATA[partition]]></category>
		<category><![CDATA[sound]]></category>
		<category><![CDATA[ssd]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[usb]]></category>
		<category><![CDATA[xfce]]></category>

		<guid isPermaLink="false">http://jorge.fbarr.net/?p=828</guid>
		<description><![CDATA[Another round of an Acer Aspire One tale, this time with Fedora 12 in play. Some of the newest additions to Fedora 12 are: Support for Bluetooth devices Improved NetworkManager Improved PackageKit Empathy, the new default IM-client (not in XFCE, you need to install it) Midori, a lightweight browser And many other things. For more [...]]]></description>
			<content:encoded><![CDATA[<p>Another round of an Acer Aspire One tale, this time with Fedora 12 in play. Some of the newest additions to Fedora 12 are:</p>
<ul>
<li>Support for Bluetooth devices</li>
<li>Improved NetworkManager</li>
<li>Improved PackageKit</li>
<li>Empathy, the new default IM-client (not in XFCE, you need to install it)</li>
<li>Midori, a lightweight browser</li>
</ul>
<p>And many other things. For more detailed information check out <a href="http://docs.fedoraproject.org/release-notes/f12/en-US/html-single/">http://docs.fedoraproject.org/release-notes/f12/en-US/html-single/</a>.</p>
<p>Let&#8217;s get down to business and install Fedora 12 on our Acer Aspire One, shall we?</p>
<h4>Preparing your USB-pen</h4>
<p>Here we are again, preparing our USB-pen for Fedora 12. 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 12 XFCE Live" href="http://torrent.fedoraproject.org/spins/Fedora-12-i686-Live-XFCE.torrent">To do that download the torrent from here</a>. With me having a stationary machine using Fedora 11, 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;">9</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;">1974272</span> <span style="color: #000000;">512</span>-byte logical blocks: <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">1.01</span> GB<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">964</span> MiB<span style="color: #7a0874; font-weight: bold;">&#41;</span>
sd <span style="color: #000000;">9</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;">9</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;">9</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;">9</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;">9</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;">9</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 removable disk</pre></div></div>

<p>If your USB-pen has previously had another operating system running on it, the <b>M</b>aster <b>B</b>oot <b>R</b>ecord (<b>MBR</b>) might already have some data on it that crashes with what we&#8217;re about to do. So to clear the <b>MBR</b> (excluding the partition table), you can do one of the two following things; Use the flag <b>&#8211;reset-mbr</b> when running <b>livecd-iso-to-disk</b> or using the <b>dd</b> command. I recommend using the first option, and if that fails, try the second one.</p>
<p>With 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 --reset-mbr /home/jorge/downloads/Fedora-12-i686-Live-XFCE/Fedora-12-i686-Live-XFCE.iso /dev/sdb1</span></pre></div></div>

<p><strong>Fedora-12-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>
<p>Now, if the <b>MBR</b> is still causing problems (like the USB-pen not booting), try the following:</p>
<p><b>Warning:</b> This command can render your system useless, so be <b>CAUTIOUS</b> and sure before you use it. Make sure that <b>/dev/sdb</b> is in fact your USB-pen, and not some other device. You have been warned!</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># dd if=/dev/zero of=/dev/sdb bs=446 count=1</span></pre></div></div>

<p>And run the <b>livecd-iso-to-disk</b>-command above again.</p>
<p>For more information about how to create and use a Live USB device, check out <a href="https://fedoraproject.org/wiki/FedoraLiveCD/USBHowTo">https://fedoraproject.org/wiki/FedoraLiveCD/USBHowTo</a>.</p>
<h4>Installing Fedora 12</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, there are a few changes we need to make.</p>
<p>We&#8217;ll be using the <b>ext4</b> filesystem on our Acer Aspire One.</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>. Remember to click the box next to the device that says <b>sda</b>! If you select <b>sdb</b>, which should be your USB-pen, you&#8217;ll most likely wipe everything there. When done, click <strong>Next</strong>.</p>
<p>Now we should be in a new screen. We don&#8217;t want LVM on an SSD-disk, so we remove it.</p>
<p>Click on the line that says <strong>vol_MACHINENAME</strong> and click <strong>Delete</strong>.</p>
<p>Now click on the line that says <strong>/dev/sda2</strong> and click <strong>Edit</strong>. Change the <b>File System Type</b> to <b>ext4</b> and then change the <strong>Mount Point</strong> to <strong>/</strong>. Make sure that you have checked the box <b>sda</b> (and <b>ONLY sda</b>) in <b>Allowable Drives</b> and 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>. When a question about a boot loader comes up, simply press <b>Next</b>. </p>
<p>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>As usual, SELinux remains the same pain as before. So we remove it like we&#8217;ve done so many times before.</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>
<h4>Optimizing Fedora 12</h4>
<p>I assume that by now you are actually using the Fedora 12 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>=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>
<span style="color: #007800;">UUID</span>=6f651dc4-3d50-4a28-b3d0-fc91b41f737c <span style="color: #000000; font-weight: bold;">/</span>boot                   ext4    defaults,noatime,nodiratime        <span style="color: #000000;">1</span> <span style="color: #000000;">2</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.31.6-145.fc12.i686 ro <span style="color: #007800;">root</span>=<span style="color: #007800;">UUID</span>=0dbcdea1-3f91-477a-b730-ea6033c45b5c noiswmd <span style="color: #007800;">LANG</span>=en_US.UTF-<span style="color: #000000;">8</span> <span style="color: #007800;">SYSFONT</span>=latarcyrheb-sun16 <span style="color: #007800;">KEYBOARDTYPE</span>=pc <span style="color: #007800;">KEYTABLE</span>=no 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.31.5-127.fc12.i686 ro <span style="color: #007800;">root</span>=<span style="color: #007800;">UUID</span>=0dbcdea1-3f91-477a-b730-ea6033c45b5c noiswmd <span style="color: #007800;">LANG</span>=en_US.UTF-<span style="color: #000000;">8</span> <span style="color: #007800;">SYSFONT</span>=latarcyrheb-sun16 <span style="color: #007800;">KEYBOARDTYPE</span>=pc <span style="color: #007800;">KEYTABLE</span>=no 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 12 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 12 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>                   ext4    defaults,noatime,nodiratime        <span style="color: #000000;">1</span> <span style="color: #000000;">1</span>
<span style="color: #007800;">UUID</span>=0dbcdea1-3f91-477a-b730-ea6033c45b5c <span style="color: #000000; font-weight: bold;">/</span>boot                       ext4    defaults,noatime,nodiratime        <span style="color: #000000;">1</span> <span style="color: #000000;">2</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>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>
<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            ext4    defaults,noatime,nodiratime        <span style="color: #000000;">1</span> <span style="color: #000000;">2</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.31.6-145.fc12.i686 ro <span style="color: #007800;">root</span>=<span style="color: #007800;">UUID</span>=0dbcdea1-3f91-477a-b730-ea6033c45b5c noiswmd <span style="color: #007800;">LANG</span>=en_US.UTF-<span style="color: #000000;">8</span> <span style="color: #007800;">SYSFONT</span>=latarcyrheb-sun16 <span style="color: #007800;">KEYBOARDTYPE</span>=pc <span style="color: #007800;">KEYTABLE</span>=no 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.31.6-145.fc12.i686 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 noiswmd <span style="color: #007800;">LANG</span>=en_US.UTF-<span style="color: #000000;">8</span> <span style="color: #007800;">SYSFONT</span>=latarcyrheb-sun16 <span style="color: #007800;">KEYBOARDTYPE</span>=pc <span style="color: #007800;">KEYTABLE</span>=no 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>
<p>Now should be the time to update all of your packages before proceeding. So when you are logged back into your system again, open up a terminal, su to root, and do a:</p>

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

<p>Brace yourself, this might take a while. :)</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 (instead of disabling it), 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 auto-login</h4>
<p>First off, a huge thanks to the user <b>mjc</b> for this great tip which allows you to enable auto-login!</p>
<p>Edit the file <b>/etc/gdm/custom.conf</b> to make it look something like:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>daemon<span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #007800;">TimedLoginEnable</span>=<span style="color: #c20cb9; font-weight: bold;">true</span>
<span style="color: #007800;">AutomaticLoginEnable</span>=<span style="color: #c20cb9; font-weight: bold;">true</span>
<span style="color: #007800;">AutomaticLogin</span>=jorge
<span style="color: #007800;">TimedLogin</span>=jorge
<span style="color: #007800;">TimedLoginDelay</span>=<span style="color: #000000;">0</span></pre></div></div>

<p>Replacing <b>jorge</b> with the username you want to automatically log in as. When done, save and exit the file. </p>
<p>Now you have to remove the keyring password. Yes, that does mean that your keys and passwords will be unprotected.</p>
<p>To change/remove the keyring password:</p>
<ol>
<li>Open <b>Passwords and Encryption Keys</b> in <b>Accessories</b></li>
<li>Go to the <b>Passwords</b>-tab</li>
<li>Right-click the <b>Passwords:login</b>-keyring and select <b>Change Password</b>.</li>
</ol>
<p>Enter in your password in the top field and leave the new password fields (<b>Password</b> and <b>Confirm password</b>) empty to remove the keyring password. Click <b>Change</b>. Reboot your machine and you should log in automatically!</p>
<p>Thanks again <b>mjc</b>!</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. In this howto we&#8217;re using <b>ext4</b> without journaling, but just wanted to remind you. :)</li>
<li>Disable all services that 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 bit of code to disable the services (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 ip6tables \
mdmonitor <span style="color: #c20cb9; font-weight: bold;">sendmail</span> 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 Acer Aspire One to perform as best as it can. Keep in mind that this applied to Fedora 10, and applies to Fedora 11 as well as Fedora 12:</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>So start/stop the service:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># service cpuspeed [start|stop]</span></pre></div></div>

<p>Throw in a:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># chkconfig cpuspeed [on|off]</span></pre></div></div>

<p>To disable the service at boot-time.</p>
<p>Thanks to <strong>Jaap</strong> (from the Fedora 10 post) for the tip. :)</p>
<h4>Minor troubleshooting</h4>
<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>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:</p>

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

<p>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>Disabling Nouveau and using Intel</h5>
<p>For me at least the driver Nouveau seems a bit choppy. So I decided to stick with Intel instead. Do the following to disable Nouveau and start using Intel:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># echo &quot;blacklist nouveau&quot; &gt;&gt; /etc/modprobe.d/blacklist.conf</span></pre></div></div>

<p>Proceed with opening up the file <b>/boot/grub/grub.conf</b> and add the following to the end of the <b>kernel</b>-line:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">nouveau.modeset=<span style="color: #000000;">0</span></pre></div></div>

<p>Reboot and voila, you should be using Intel instead of Nouveau.</p>
<h5>Using Fn-Arrow Up/Down to control the volume</h5>
<p>If you come to notice that <strong>Fn-Up</strong>/<strong>Down</strong> doesn&#8217;t work for controlling the volume, it can easily be 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, first install the package <b>xorg-x11-drv-synaptics</b> like this:</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 xorg-x11-drv-synaptics</span></pre></div></div>

<p>And 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>
<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><b>Note:</b> This section applies only to people who have a bad internet connection. This will increase the disk activity of the Acer Aspire One, so only use if you have a slow internet connection.</p>
<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;"># rpm -Uvh http://linuxdownload.adobe.com/adobe-release/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 for this round! 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>Can&#8217;t end this post without a screenshot of Fedora 12 on the Acer Aspire One, can we? What you see below is the IM-client Empathy, along with the browser Midori, a file opened within the terminal with vim and the Eye of Gnome-program showing a picture taken with Cheese.</p>
<p><a href="http://jorge.fbarr.net/wp-content/uploads/2009/12/fedora-12-xfce.png"><img src="http://jorge.fbarr.net/wp-content/uploads/2009/12/fedora-12-xfce-300x175.png" alt="fedora-12-xfce" title="fedora-12-xfce" width="300" height="175" class="aligncenter size-medium wp-image-847" /></a></p>
<p>As always, comments and feedback is always appreciated.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://jorge.fbarr.net/2009/12/01/fedora-12-on-the-acer-aspire-one/feed/</wfw:commentRss>
		<slash:comments>54</slash:comments>
		</item>
		<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-167.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-167.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-167.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-167.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>

<!-- Dynamic Page Served (once) in 3.214 seconds -->
