<?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; Linux</title>
	<atom:link href="http://jorge.fbarr.net/category/linux/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>Rapidshare Linux Script</title>
		<link>http://jorge.fbarr.net/2010/03/26/rapidshare-linux-script/</link>
		<comments>http://jorge.fbarr.net/2010/03/26/rapidshare-linux-script/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 06:44:50 +0000</pubDate>
		<dc:creator>jorge</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jorge.fbarr.net/?p=952</guid>
		<description><![CDATA[A friend tipped me about Rapidshare, and has been working great ever since I bought a premium account. Thing is though, most addons/download clients are specifically for Windows, and I use Fedora Linux. I searched quite a while before I found an option that makes downloading through a Rapidshare Premium Account damn simple; namely making [...]]]></description>
			<content:encoded><![CDATA[<p>A friend tipped me about Rapidshare, and has been working great ever since I bought a premium account. Thing is though, most addons/download clients are specifically for Windows, and I use Fedora Linux. I searched quite a while before I found an option that makes downloading through a Rapidshare Premium Account damn simple; namely making a script. And it&#8217;s really easy!</p>
<p>What we first need to do is to grab and save your Rapidshare cookie. This is luckily something you only need to do once. Execute the following command to do so:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">wget</span> <span style="color: #660033;">--save-cookies</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>.cookies<span style="color: #000000; font-weight: bold;">/</span>rapidshare <span style="color: #660033;">--post-data</span> <span style="color: #ff0000;">&quot;login=USERNAME&amp;password=PASSWORD&quot;</span> <span style="color: #660033;">-O</span> - https:<span style="color: #000000; font-weight: bold;">//</span>ssl.rapidshare.com<span style="color: #000000; font-weight: bold;">/</span>cgi-bin<span style="color: #000000; font-weight: bold;">/</span>premiumzone.cgi <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null</pre></div></div>

<p>..replacing <b>USERNAME</b> and <b>PASSWORD</b> with your Rapidshare account details, and <b>/home/jorge</b> with whatever suits you.</p>
<p>Once that is done, we proceed with the script itself. Now, most pages will recommend using <b>wget</b> for this, but I personally prefer <b>aria2</b>. This is because <b>aria2</b> supports multiple files download and it also splits each file in multiple parts for faster downloading. Moreover you can resume the download any time you want just by typing the same command again.</p>
<p>Either way I will paste a script that uses both <b>wget</b> and <b>aria2</b>, and you can then make your pick.</p>
<p><i><b>wget</b></i></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
<span style="color: #007800;">LIST</span>=<span style="color: #ff0000;">&quot;/home/jorge/Downloads/.url&quot;</span>
<span style="color: #7a0874; font-weight: bold;">cd</span> ~<span style="color: #000000; font-weight: bold;">/</span>Downloads
<span style="color: #000000; font-weight: bold;">for</span> url <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #007800;">$LIST</span><span style="color: #000000; font-weight: bold;">`</span>
<span style="color: #000000; font-weight: bold;">do</span>
    <span style="color: #c20cb9; font-weight: bold;">wget</span> <span style="color: #660033;">-c</span> <span style="color: #660033;">--load-cookies</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>.cookies<span style="color: #000000; font-weight: bold;">/</span>rapidshare <span style="color: #007800;">$url</span>
<span style="color: #000000; font-weight: bold;">done</span></pre></div></div>

<p>Save this file as <b>wrsd.sh</b> and make it executable by doing a:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">chmod</span> +x wrsd.sh</pre></div></div>

<p><i><b>aria2</i></b></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
<span style="color: #7a0874; font-weight: bold;">cd</span> ~<span style="color: #000000; font-weight: bold;">/</span>Downloads
aria2c <span style="color: #660033;">-j</span> <span style="color: #000000;">5</span> <span style="color: #660033;">-c</span> <span style="color: #660033;">--load-cookies</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>.cookies<span style="color: #000000; font-weight: bold;">/</span>rapidshare <span style="color: #660033;">-i</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>.url</pre></div></div>

<p>Save this as <b>arsd.sh</b> and make it executable just like above. Now the file containing the various URLs to download is in my case located in the file <b>~/Downloads/.url</b>. One URL in each line should do the trick. Open the file, paste a few URLs, save and close it, and run either <b>wrsd.sh</b> or <b>arsd.sh</b>, depending on if you want to use <b>wget</b> or <b>aria2</b>.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://jorge.fbarr.net/2010/03/26/rapidshare-linux-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox 3.6 and Java on Linux</title>
		<link>http://jorge.fbarr.net/2010/03/17/firefox-3-6-and-java-on-linux/</link>
		<comments>http://jorge.fbarr.net/2010/03/17/firefox-3-6-and-java-on-linux/#comments</comments>
		<pubDate>Wed, 17 Mar 2010 07:19:55 +0000</pubDate>
		<dc:creator>jorge</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jorge.fbarr.net/?p=937</guid>
		<description><![CDATA[Finding that you&#8217;re lacking Java in Firefox 3.6 on Linux? The steps to install it are easy, but you have to do things a bit differently than you have in previous Firefox-versions. First head over to the Download-section at http://www.java.com. Select to download the file named Linux RPM (self-extracting file) (if you’re using an RPM-based [...]]]></description>
			<content:encoded><![CDATA[<p>Finding that you&#8217;re lacking Java in Firefox 3.6 on Linux? The steps to install it are easy, but you have to do things a bit differently than you have in previous Firefox-versions.</p>
<p>First head over to the Download-section at <a href="http://www.java.com">http://www.java.com</a>. Select to download the file named <b>Linux RPM (self-extracting file)</b> (if you’re using an RPM-based distribution like Fedora). Once it’s downloaded, and assuming it has been downloaded to the folder Downloads, do the following:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">su</span> -
<span style="color: #666666; font-style: italic;"># chmod +x /home/jorge/Downloads/jre-6u18-linux-i586-rpm.bin</span>
<span style="color: #666666; font-style: italic;"># /home/jorge/Downloads/jre-6u18-linux-i586-rpm.bin</span></pre></div></div>

<p>After agreeing to the license terms, just type <b>Yes</b> and press enter. Now making the plugin work with Firefox. I mentioned earlier that you have to do things a bit differently. Whereas we used the file <b>libjavaplugin.so</b> before, now we have to use the next generation Java plugin, namely <b>libnpjp2.so</b>. So execute the following command to make things work:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># ln -s /usr/java/latest/lib/i386/libnpjp2.so /usr/lib/mozilla/plugins/</span></pre></div></div>

<p>Restart your browser, and you should have Java. Verify it at <a href="http://java.com/en/download/installed.jsp?detect=jre&#038;try=1">http://java.com/en/download/installed.jsp?detect=jre&#038;try=1</a>.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://jorge.fbarr.net/2010/03/17/firefox-3-6-and-java-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox 3.6 on Fedora 12</title>
		<link>http://jorge.fbarr.net/2010/03/06/firefox-3-6-on-fedora-12/</link>
		<comments>http://jorge.fbarr.net/2010/03/06/firefox-3-6-on-fedora-12/#comments</comments>
		<pubDate>Sat, 06 Mar 2010 15:19:01 +0000</pubDate>
		<dc:creator>jorge</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jorge.fbarr.net/?p=933</guid>
		<description><![CDATA[Easy peasy: # yum --enablerepo=rawhide install firefox And that should upgrade Firefox fo the newest available in the repositories.]]></description>
			<content:encoded><![CDATA[<p>Easy peasy:</p>

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

<p>And that should upgrade Firefox fo the newest available in the repositories.</p>
]]></content:encoded>
			<wfw:commentRss>http://jorge.fbarr.net/2010/03/06/firefox-3-6-on-fedora-12/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rhythmbox Equalizer Revisited</title>
		<link>http://jorge.fbarr.net/2010/02/18/rhythmbox-equalizer-revisited/</link>
		<comments>http://jorge.fbarr.net/2010/02/18/rhythmbox-equalizer-revisited/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 06:15:42 +0000</pubDate>
		<dc:creator>jorge</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jorge.fbarr.net/?p=918</guid>
		<description><![CDATA[June 30th 2009 I wrote about an equalizer-plugin for Rhythmbox which then was just about the only decent thing available. It now seems that that plugin isn&#8217;t being worked on anymore. Luckily we have people like Christopher Kruse from http://www.cornerofseven.com. :) He has now released version 1.3 of his Rhythmbox equalizer-plugin, which you can find [...]]]></description>
			<content:encoded><![CDATA[<p>June 30th 2009 <a href="http://jorge.fbarr.net/2010/02/18/rhythmbox-equalizer/">I wrote about an equalizer-plugin for Rhythmbox</a> which then was just about the only decent thing available. It now seems that that plugin isn&#8217;t being worked on anymore. Luckily we have people like Christopher Kruse from <a href="http://www.cornerofseven.com">http://www.cornerofseven.com</a>. :) He has now released version 1.3 of his Rhythmbox equalizer-plugin, which you can find at <a href="http://rbeq.googlecode.com/">http://rbeq.googlecode.com/</a>.</p>
<p>The installation:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>rbeq.googlecode.com<span style="color: #000000; font-weight: bold;">/</span>files<span style="color: #000000; font-weight: bold;">/</span>rbeq-1.3.tar.gz
$ <span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-zxvf</span> rbeq-1.3.tar.gz <span style="color: #660033;">-C</span> ~<span style="color: #000000; font-weight: bold;">/</span>.gnome2<span style="color: #000000; font-weight: bold;">/</span></pre></div></div>

<p>Head on over to <a href="http://cornerofseven.com/blog/2010/02/rbeq-1-3-now-with-presets/">http://cornerofseven.com/blog/2010/02/rbeq-1-3-now-with-presets/</a> for the main post. Thanks Christopher!</p>
<p>And of course, a screenshot of the plugin:</p>
<p><a href="http://jorge.fbarr.net/wp-content/uploads/2010/02/rbeq.png"><img class="alignleft size-medium wp-image-920" title="rbeq" src="http://jorge.fbarr.net/wp-content/uploads/2010/02/rbeq-300x230.png" alt="" width="300" height="230" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://jorge.fbarr.net/2010/02/18/rhythmbox-equalizer-revisited/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

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