<?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>I Can Has Linux? &#187; ubuntu</title>
	<atom:link href="http://icanhaslinux.com/category/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://icanhaslinux.com</link>
	<description>Invisible Patent Infringement!</description>
	<lastBuildDate>Mon, 29 Aug 2011 13:37:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>HOWTO: Install Citrix ICA Client on Ubuntu 8.10 64-bit</title>
		<link>http://icanhaslinux.com/2009/02/02/howto-install-citrix-ica-client-on-ubuntu-810-64-bit/</link>
		<comments>http://icanhaslinux.com/2009/02/02/howto-install-citrix-ica-client-on-ubuntu-810-64-bit/#comments</comments>
		<pubDate>Mon, 02 Feb 2009 16:22:05 +0000</pubDate>
		<dc:creator>LightningCrash</dc:creator>
				<category><![CDATA[citrix]]></category>
		<category><![CDATA[ica]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://icanhaslinux.com/2009/02/02/howto-install-citrix-ica-client-on-ubuntu-810-64-bit/</guid>
		<description><![CDATA[First off, go ahead and install some libraries: sudo apt-get install libxaw7 libmotif3 Go to http://www.citrix.com , click on &#8220;Downloads&#8221;, then click on &#8220;Citrix XenApp&#8221;, then select Linux clients. Download the tarball for Motif in your preferred language. Place it on your Desktop, and open a terminal. cd ~/Desktop mkdir citrix &#38;&#38; mv ./en.linuxx86.tar.gz ./citrix [...]]]></description>
			<content:encoded><![CDATA[<p>First off, go ahead and install some libraries:</p>
<p><code>sudo apt-get install libxaw7 libmotif3</code></p>
<p>Go to http://www.citrix.com , click on &#8220;Downloads&#8221;, then click on &#8220;Citrix XenApp&#8221;, then select Linux clients. Download the tarball for Motif in your preferred language. Place it on your Desktop, and open a terminal.</p>
<p><code>cd ~/Desktop<br />
mkdir citrix &amp;&amp; mv ./en.linuxx86.tar.gz ./citrix &amp;&amp; cd ./citrix<br />
tar xvzf en.linuxx86.tar.gz</code></p>
<p>sudo ./setupwfc</p>
<p>The install prompts should accept default input.</p>
<p>Now we&#8217;re going to need to go grab a 32-bit copy of libmotif3. Click <a href="http://packages.ubuntu.com/intrepid/i386/libmotif3/download">here</a> and select a mirror. Download the file to your Desktop.</p>
<p>Open up a terminal again, we&#8217;re going to pluck out the 32-bit motif libraries that we need.<br />
<code>cd ~/Desktop<br />
mkdir motif<br />
mv libmotif* ./motif/ &amp;&amp; cd ./motif<br />
ar -x ./libmotif*<br />
tar xvzf data.tar.gz<br />
cd ./usr/lib/<br />
cp * /usr/lib32/</code></p>
<p>Now go on and run <em>wfcmgr</em>!</p>
<p><a href="http://icanhaslinux.com/wp-content/uploads/2009/02/citrixon64.png" title="Citrix ICA Client running on Ubuntu 8.10 64-bit"><img src="http://icanhaslinux.com/wp-content/uploads/2009/02/citrixon64.png" alt="Citrix ICA Client running on Ubuntu 8.10 64-bit" /></a></p>
<p>Ta-da!</p>
<p>-LightningCrash</p>
]]></content:encoded>
			<wfw:commentRss>http://icanhaslinux.com/2009/02/02/howto-install-citrix-ica-client-on-ubuntu-810-64-bit/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Making Ubuntu boot in 19 seconds, pt2</title>
		<link>http://icanhaslinux.com/2007/09/14/making-ubuntu-boot-in-19-seconds-pt2/</link>
		<comments>http://icanhaslinux.com/2007/09/14/making-ubuntu-boot-in-19-seconds-pt2/#comments</comments>
		<pubDate>Fri, 14 Sep 2007 17:24:52 +0000</pubDate>
		<dc:creator>LightningCrash</dc:creator>
				<category><![CDATA[boot]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://icanhaslinux.com/2007/09/14/making-ubuntu-boot-in-19-seconds-pt2/</guid>
		<description><![CDATA[I wrote before about my experiments in Ubuntu boot times and mentioned doing a fresh install and just disabling the dhcp and network manager. I got a lot of good input and wanted to expand upon that. Setup My secondary workstation is a Dell GX270 with a 3.0GHz P4 processor, 1GB of RAM and a [...]]]></description>
			<content:encoded><![CDATA[<p>I wrote before about my <a href="http://icanhaslinux.com/2007/08/28/making-ubuntu-boot-in-19-seconds/">experiments in Ubuntu boot times</a> and mentioned doing a fresh install and just disabling the dhcp and network manager. I got a lot of good input and wanted to expand upon that.</p>
<p><span style="font-weight: bold; color: #000000; font-size: 130%">Setup</span><br />
My secondary workstation is a Dell GX270 with a 3.0GHz P4 processor, 1GB of RAM and a 40GB Seagate ST340014A hard drive. I blew away the existing install <strong>again</strong>, reinstalled Feisty with the default settings, specified my static IP, and updated via apt-get. The current kernel version is 2.6.20-16-generic i686.</p>
<p><span style="font-weight: bold; color: #000000; font-size: 130%">Getting started</span><br />
I installed bootchart via <code>sudo apt-get install bootchart</code> and rebooted. My boot time was 29 seconds.<br />
My /etc/network/interfaces file again contained entries for eth1, eth2, ath0 and wlan0. I deleted all of these.<br />
Again, the if-up, if-down, and pre and post-up had entries for wireless and avahi stuff i didn&#8217;t want, so I removed the following<br />
<code>sudo -s<br />
rm /etc/network/if-down.d/avahi-autoipd<br />
rm /etc/network/if-post-down.d/wireless-tools<br />
rm /etc/network/if-pre-up.d/wireless-tools<br />
rm /etc/network/if-up.d/avahi-autoipd<br />
rm /etc/network/if-up.d/avahi-daemon<br />
exit<br />
</code></p>
<p>I rebooted and checked my boot time again</p>
<p>I <a href="http://ubuntuforums.org/showthread.php?t=254263">reprofiled my boot sequence</a>, then rebooted: 23 seconds.</p>
<p><span style="font-weight: bold; color: #000000; font-size: 130%">Sysv-rc-conf</span><br />
At this point I installed and fired up sysv-rc-conf   (sudo apt-get install sysv-rc-conf)<br />
I disabled the following:</p>
<blockquote><p> bluetooth<br />
cupsys<br />
hotkey-setup<br />
hplip<br />
powernowd<br />
rsync<br />
wpa-ifupdown</p></blockquote>
<p>Boot time after removing the services: 22 seconds</p>
<p>At this point, bootchart seems to be limited by a few particular processes:<br />
Disk-related:<br />
khubd<br />
scsi_eh 1<br />
modprobe<br />
rc</p>
<p>CPU Related:<br />
udevd<br />
ckbcomp<br />
hald<br />
Xorg</p>
<p>It looks like udevd is still loading wacom junk<br />
<code>sudo find /etc -name '*wacom*' -type f -delete</code><br />
hehe, took care of that.<br />
I also <a href="http://tvease.net/wiki/index.php?title=Tweak_ubuntu_for_speed#Concurrent_Booting">enabled concurrent shell scripts</a> while I was at it.<br />
Still at 22 seconds.<br />
I cleaned up /etc/acpi, as there were a ton of modules loaded that I didn&#8217;t use: 22 seconds.<br />
I installed prelinking and then rebooted: 22 seconds.<br />
I blacklisted ipv6 and a handful of other modules that were loaded for no reason whatsoever: 22 seconds.<br />
I reprofiled and rebooted: 20 seconds.<br />
At this point it looks like readahead itself takes up about 5 seconds of uninterruptable I/O.</p>
<p>Now to try out some of the stuff that my readers posted.<br />
mgarces said to try initNG. So I grabbed the deb files for initng and the initng ifiles from initng.org and did a dpkg -i initng*.deb<br />
But it didn&#8217;t boot&#8230;&#8230;so I googled and ran <a href="http://ubuntuforums.org/showthread.php?t=80423&amp;highlight=modules">across this page</a>. I followed the directions there and got it to boot. HAL is complaining and I don&#8217;t feel like troubleshooting it right now.<br />
But wait, bootchart isn&#8217;t working either. Crap.<br />
Oh, even better, eth0 didn&#8217;t come up.<br />
sudo dpkg -r initng<br />
sudo dpkg -r initng-ifiles<br />
Bye-bye initng!</p>
<p>So I figured, why not play with the schedulers?<br />
CFQ=22 seconds<br />
deadline=23 seconds<br />
noop=23 seconds<br />
as=23 seconds</p>
<p>So, even now, nothing really helps.</p>
<p>Well, I&#8217;m really getting burned out, maybe there will be a part 3 for this sometime.</p>
<p>Until next time!<br />
-LightningCrash</p>
]]></content:encoded>
			<wfw:commentRss>http://icanhaslinux.com/2007/09/14/making-ubuntu-boot-in-19-seconds-pt2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Digg.com Ubuntu popular headline analysis</title>
		<link>http://icanhaslinux.com/2007/09/08/diggcom-ubuntu-popular-headline-analysis/</link>
		<comments>http://icanhaslinux.com/2007/09/08/diggcom-ubuntu-popular-headline-analysis/#comments</comments>
		<pubDate>Sat, 08 Sep 2007 18:08:36 +0000</pubDate>
		<dc:creator>LightningCrash</dc:creator>
				<category><![CDATA[digg]]></category>
		<category><![CDATA[headlines]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://icanhaslinux.com/2007/09/08/diggcom-ubuntu-popular-headline-analysis/</guid>
		<description><![CDATA[I was curious what the most popular keywords were in the Ubuntu headlines, since it seemed like some of them seemed identical. So I saved the top 10 pages of results for the search term Ubuntu, sorted by Most Diggs. With all of the pages in a directory, I cut out the headlines and stripped [...]]]></description>
			<content:encoded><![CDATA[<p>I was curious what the most popular keywords were in the Ubuntu headlines, since it seemed like some of them seemed identical.<br />
So I saved the top 10 pages of results for the search term Ubuntu, sorted by Most Diggs.<br />
With all of the pages in a directory, I cut out the headlines and stripped the HTML with the following command:</p>
<p><code>$ cat *.html|grep news-body|sed -e 's/&lt;[^&lt;&gt;]*&gt;//g'  &gt; diggubuntuheadlines.txt</code></p>
<p>Now I have a list of each headline. Unfortunately, though, this also returns headlines from articles that just mention Ubuntu, so I killed the lines that didn&#8217;t have Ubuntu.</p>
<p><code>$ grep -i ubuntu diggubuntuheadlines.txt &gt; diggubuntuheadlines2.txt  </code></p>
<p>Now I want to pull out a list of unique words in the file, the number of occurences of each word, sorted by the most occurences descending.  Thanks to <a href="http://www.perlmonks.org/?node_id=457784" target="_blank">this short perl script posted</a> by planetscape, I have a solution.</p>
<p>I paste the contents into a file, change the first line to read /usr/bin/perl, save it, then chmod +x the file.</p>
<p>Next I pipe the contents of the file into the script, and save the output.</p>
<p><code>$ cat diggubuntuheadlines2.txt | ./countwords.pl &gt; diggheadlinecount.txt</code></p>
<p>Well, I guess that&#8217;s enough foreplay, what&#8217;s the verdict?</p>
<blockquote><p>117    ubuntu<br />
25    to<br />
22    linux<br />
20    windows<br />
19    a<br />
14    in<br />
14    dell<br />
12    with<br />
12    on<br />
12    for<br />
11    the<br />
9    and<br />
8    install<br />
7    vista<br />
7    of<br />
7    how<br />
6    your<br />
6    you<br />
6    from<br />
5    released<br />
5    pcs<br />
5    out<br />
5    new<br />
5    is<br />
5    guide<br />
5    feisty<br />
5    by<br />
4    without<br />
4    what<br />
4    users<br />
4    than<br />
4    s<br />
4    has<br />
4    free<br />
4    best<br />
3    xp<br />
3    video<br />
3    ultimate<br />
3    time<br />
3    switching<br />
3    should<br />
3    running<br />
3    run<br />
3    over<br />
3    os<br />
3    official<br />
3    mythtv<br />
3    more<br />
3    microsoft<br />
3    media<br />
3    logo<br />
3    like<br />
3    know<br />
3    installing<br />
3    get<br />
3    fawn<br />
3    fast<br />
3    edition<br />
3    edgy<br />
3    dock<br />
3    boot<br />
3    based<br />
3    as<br />
3    anything<br />
3    about<br />
2    x<br />
2    world<br />
2    will<br />
2    way<br />
2    vs<br />
2    vote<br />
2    using<br />
2    up<br />
2    tutorial<br />
2    top<br />
2    this<br />
2    there<br />
2    t<br />
2    support<br />
2    studio<br />
2    stickers<br />
2    side<br />
2    shuttleworth<br />
2    review<br />
2    read<br />
2    powered<br />
2    pic<br />
2    pc<br />
2    password<br />
2    osx<br />
2    online<br />
2    one<br />
2    officially<br />
2    now<br />
2    need<br />
2    multimedia<br />
2    mount<br />
2    mce<br />
2    mark<br />
2    make<br />
2    magazine<br />
2    looks<br />
2    look<br />
2    laptop<br />
2    it<br />
2    installed<br />
2    gifting<br />
2    full<br />
2    eye<br />
2    ever<br />
2    dual<br />
2    distribution<br />
2    desktop<br />
2    days<br />
2    core<br />
2    completely<br />
2    compiz<br />
2    cheap<br />
2    center<br />
2    cd<br />
2    candy<br />
2    breezy<br />
2    box<br />
2    books<br />
2    beryl<br />
2    be<br />
2    are<br />
2    applications<br />
2    almost<br />
1    year<br />
1    xps<br />
1    xorg<br />
1    xgl<br />
1    write<br />
1    writabable<br />
1    wpics<br />
1    would<br />
1    working<br />
1    wireless<br />
1    winxp<br />
1    wins<br />
1    wine<br />
1    why<br />
1    whole<br />
1    while<br />
1    wga<br />
1    wep<br />
1    welcome<br />
1    web<br />
1    weapons<br />
1    we<br />
1    was<br />
1    warranty<br />
1    warcraft<br />
1    want<br />
1    wall<br />
1    voted<br />
1    vmware<br />
1    virus<br />
1    victorious<br />
1    versus<br />
1    validates<br />
1    uses<br />
1    user<br />
1    useful<br />
1    us<br />
1    unmount<br />
1    ui<br />
1    ugly<br />
1    tweaks<br />
1    tweaking<br />
1    tutorials<br />
1    try<br />
1    truth<br />
1    triple<br />
1    tricks<br />
1    transparent<br />
1    transform<br />
1    today<br />
1    tips<br />
1    tier<br />
1    thursday<br />
1    thinks<br />
1    things<br />
1    their<br />
1    ten<br />
1    technical<br />
1    tad<br />
1    system<br />
1    switches<br />
1    switch<br />
1    supported<br />
1    super<br />
1    sun<br />
1    strip<br />
1    story<br />
1    still<br />
1    sticker<br />
1    steps<br />
1    stable<br />
1    squad<br />
1    spread<br />
1    spotted<br />
1    spiffing<br />
1    software<br />
1    smoke<br />
1    single<br />
1    simple<br />
1    shrink<br />
1    shirt<br />
1    shift<br />
1    shell<br />
1    server<br />
1    searched<br />
1    seamless<br />
1    screwup<br />
1    screenshots<br />
1    screen<br />
1    satanic<br />
1    root<br />
1    rom<br />
1    rising<br />
1    right<br />
1    reviewit<br />
1    repository<br />
1    reported<br />
1    release<br />
1    redesign<br />
1    really<br />
1    readable<br />
1    ran<br />
1    ram<br />
1    quietly<br />
1    purchase<br />
1    progress<br />
1    products<br />
1    preview<br />
1    prettier<br />
1    preinstalled<br />
1    prebuilt<br />
1    pre<br />
1    posters<br />
1    possibly<br />
1    popularity<br />
1    popular<br />
1    pm<br />
1    player<br />
1    picture<br />
1    physics<br />
1    photoshop<br />
1    performance<br />
1    perfectly<br />
1    partition<br />
1    part<br />
1    parliament<br />
1    or<br />
1    onto<br />
1    office<br />
1    offers<br />
1    offering<br />
1    ntfs<br />
1    nrg<br />
1    notebooks<br />
1    not<br />
1    non<br />
1    next<br />
1    network<br />
1    n<br />
1    mod<br />
1    million<br />
1    might<br />
1    mdf<br />
1    mcgee<br />
1    mcdonalds<br />
1    marketplace<br />
1    manufacturers<br />
1    makes<br />
1    macbook<br />
1    mac<br />
1    looking<br />
1    links<br />
1    lifehacker<br />
1    life<br />
1    less<br />
1    just<br />
1    issue<br />
1    iso<br />
1    introducing<br />
1    internet<br />
1    interface<br />
1    instlux<br />
1    installer<br />
1    installation<br />
1    insane<br />
1    inaccurate<br />
1    impressed<br />
1    immediately<br />
1    images<br />
1    image<br />
1    if<br />
1    i<br />
1    hungry<br />
1    howto<br />
1    house<br />
1    hours<br />
1    hot<br />
1    holy<br />
1    hippo<br />
1    heron<br />
1    hell<br />
1    hardy<br />
1    happen<br />
1    guy<br />
1    gui<br />
1    growing<br />
1    great<br />
1    gnu<br />
1    gnome<br />
1    glass<br />
1    girl<br />
1    getting<br />
1    gets<br />
1    genuine<br />
1    fusion<br />
1    french<br />
1    forces<br />
1    followup<br />
1    fixed<br />
1    first<br />
1    firefox<br />
1    finally<br />
1    few<br />
1    father<br />
1    faster<br />
1    fantastic<br />
1    extended<br />
1    explains<br />
1    explained<br />
1    expensive<br />
1    expect<br />
1    existing<br />
1    excellent<br />
1    exactly<br />
1    everything<br />
1    everyone<br />
1    engine<br />
1    embargo<br />
1    eft<br />
1    easyubuntu<br />
1    easy<br />
1    easier<br />
1    dvddecrypter<br />
1    dvd<br />
1    dualview<br />
1    drops<br />
1    drivers<br />
1    download<br />
1    door<br />
1    doesn<br />
1    does<br />
1    do<br />
1    disturbing<br />
1    distributing<br />
1    dismissed<br />
1    diggers<br />
1    demo<br />
1    debian<br />
1    customs<br />
1    customization<br />
1    cst<br />
1    cs<br />
1    cracking<br />
1    could<br />
1    converts<br />
1    controls<br />
1    confirmed<br />
1    conf<br />
1    computers<br />
1    complete<br />
1    comparison<br />
1    community<br />
1    commercial<br />
1    coming<br />
1    com<br />
1    colors<br />
1    click<br />
1    cleartext<br />
1    cleaning<br />
1    circle<br />
1    choose<br />
1    card<br />
1    canonical<br />
1    building<br />
1    build<br />
1    bug<br />
1    booting<br />
1    black<br />
1    bittorrent<br />
1    billboard<br />
1    better<br />
1    been<br />
1    beautiful<br />
1    basics<br />
1    badger<br />
1    awesome<br />
1    award<br />
1    available<br />
1    at<br />
1    artwork<br />
1    arrives<br />
1    arrived<br />
1    april<br />
1    apps<br />
1    any<br />
1    an<br />
1    american<br />
1    amd<br />
1    amazing<br />
1    alumni<br />
1    after<br />
1    advantages<br />
1    administrator</p></blockquote>
<p>No surprises here, but it may be helpful when you go to write your next Digg headline. <img src='http://icanhaslinux.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Until next time</p>
<p>-LightningCrash</p>
]]></content:encoded>
			<wfw:commentRss>http://icanhaslinux.com/2007/09/08/diggcom-ubuntu-popular-headline-analysis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Making Ubuntu boot in 19 seconds</title>
		<link>http://icanhaslinux.com/2007/08/28/making-ubuntu-boot-in-19-seconds/</link>
		<comments>http://icanhaslinux.com/2007/08/28/making-ubuntu-boot-in-19-seconds/#comments</comments>
		<pubDate>Tue, 28 Aug 2007 17:05:00 +0000</pubDate>
		<dc:creator>LightningCrash</dc:creator>
				<category><![CDATA[boot]]></category>
		<category><![CDATA[readahead]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://icanhaslinux.com/2007/08/28/making-ubuntu-boot-in-19-seconds/</guid>
		<description><![CDATA[ForewordI started to take it upon myself to speed up the boot process of my secondary workstation, but I decided I needed a way to quantitatively measure the boot process. I wanted to document my results in a way that could be reproduced, and I wanted to be very methodical in the process. SetupMy secondary [...]]]></description>
			<content:encoded><![CDATA[<p><span style="font-weight:bold;color:rgb(0, 0, 0);font-size:130%;">Foreword<br /></span><span style="color:rgb(0, 0, 0);">I started to take it upon myself to speed up the boot process of my secondary workstation, but I decided I needed a way to quantitatively measure the boot process. I wanted to document my results in a way that could be reproduced, and I wanted to be very methodical in the process.</span></p>
<p><span style="font-weight:bold;color:rgb(0, 0, 0);font-size:130%;">Setup<br /></span><span style="color:rgb(0, 0, 0);">My secondary workstation is a Dell GX270 with a 3.0GHz P4 processor, 1GB of RAM and a 40GB Seagate ST340014A hard drive. I blew away the existing install, reinstalled Feisty with the default settings, specified my static IP, and updated via apt-get. The kernel is 2.6.20-16-generic  #2 SMP i686.</span><br /><span style="color:rgb(0, 0, 0);">To measure the boot times, I turned </span><a href="http://ubuntuguide.org/wiki/Ubuntu:Feisty#How_to_automatic_login_into_GNOME">Automatic Login</a><span style="color:rgb(0, 0, 0);"> on for my user account. Then I made a file called imup.sh in my home directory, with the following contents, and put it in my session startup:</span><br /> <span style="color:rgb(0, 0, 0);"><span style="color:rgb(255, 153, 0);">nc mymaindesktop 89 -z</span><span style="color:rgb(0, 0, 0);"></p>
<p>This meant that when GNOME was up and running, my secondary desktop would attempt a TCP connection to my primary desktop. This I can quantify. First, I got a root shell by executing &#8216;<span style="color:rgb(255, 153, 0);">sudo -s</span>,&#8217;   and then I  typed the following command into my console:<br /><span style="color:rgb(255, 153, 0);">time nc -l -p 89 -vvn</p>
<p><span style="color:rgb(0, 0, 0);">I don&#8217;t execute it just yet. I hit the power button on my test machine and the Enter key on my primary desktop simultaneously. When the test machine hits the desktop, I&#8217;m presented with output similar to the following on my main desktop:</p>
<p><span style="color:rgb(255, 0, 0);">listening on [any] 89 &#8230;</span> <span style="color:rgb(255, 0, 0);">connect to [10.1.1.1] from (UNKNOWN) [10.1.1.2] 30958</span> <span style="color:rgb(255, 0, 0);"> sent 0, rcvd 0</span>  <span style="color:rgb(255, 0, 0);">real    0m46.919s</span> <span style="color:rgb(255, 0, 0);"><br />user    0m0.000s</span> <span style="color:rgb(255, 0, 0);"><br />sys     0m0.004s</span><br /></span></span>So at this point, I know it took about 47 seconds to boot all the way to the GNOME desktop from a cold start. I repeat all my tests 3 times to make sure that the number is accurate. In the descriptions of each boot, save the Base Install, I&#8217;ll try to link to a page detailing how to replicate my process.<br /></span></span><span style="color:rgb(0, 0, 0);"><span style="color:rgb(0, 0, 0);"><br /><span style="font-weight:bold;font-size:130%;">Some Results</span><br />Base Install (Fresh install, updated via apt-get):</span></span><span style="color:rgb(255, 153, 0);"><span style="color:rgb(0, 0, 0);"><span style="color:rgb(0, 0, 0);"> 47 seconds<br /></span><a href="http://bin-false.org/?p=10">Prelinking installed and run</a><span style="color:rgb(0, 0, 0);">: 49 seconds<br /></span><a href="http://www.zolved.com/synapse/view_content/28311/Tune_Boot-Up-Manager_for_better_performance_of_Ubuntu">Disabling hplip</a><span style="color:rgb(0, 0, 0);">: 47 seconds<br /></span><a href="http://ubuntuforums.org/showthread.php?t=89491">Disabling various services</a><span style="color:rgb(0, 0, 0);">: 49 seconds<br /></span><span style="color:rgb(0, 0, 0);">(I also disabled brltty in the above)<br /></span><span style="color:rgb(0, 0, 0);">Running prelink again after the above: 47 seconds</span></p>
<p><span style="font-weight:bold;font-size:130%;">Bootchart</span><br />At this point, I installed bootchart via apt-get ( <span style="color:rgb(255, 153, 0);">sudo apt-get install bootchart</span>) and rebooted.<br />Then I began to examine just what was using up the most time during my boot process.<br />It looks like under S40Networking, dhclient is being run and then executing a sleep. Funny because I have specified a STATIC IP. So I went into /etc/network , and edited out all of the extra interfaces from /etc/network/interfaces. Only eth0 and lo remained. I also went into all of the directories inside /etc/network and moved all of those files to backup folders elsewhere. I don&#8217;t use avahi and I don&#8217;t use WPA, so those things shouldn&#8217;t run, right? So I removed those and went along my way.</p>
<p>But wait, bootchart tells you how long it took to boot! Which, after removing those files, appears to have decreased from 30 seconds to 24 seconds. Now we&#8217;re getting somewhere, and this article is going to take a different turn.</p>
<p><span style="font-size:130%;"><span style="font-weight:bold;">Avahi</span></span><br />Next, remember how I removed the avahi bits from /etc/network/? Avahi is still running. I don&#8217;t care to discover what&#8217;s on my network, and I want it to go. I just have to edit /etc/defaults/avahi and set that =1 to =0. If all goes well, it won&#8217;t run next boot.</p>
<p><span style="font-style:italic;">25 seconds.</span><br />Oh well.</p>
<p><span style="font-size:130%;"><span style="font-weight:bold;">More Results</span></span><br />Next, I <a href="http://tvease.net/wiki/index.php?title=Tweak_ubuntu_for_speed">enabled concurrent init shell scripts.</a>: 24 seconds.<br />I <a href="http://ubuntuforums.org/showthread.php?p=372831">disabled usplash</a>: 24 seconds<br />I <a href="http://ubuntuforums.org/showthread.php?t=254263">reprofiled the bootup and restarted</a>: 20 seconds<br />I went into /etc/readahead/ and edited every line containing hlip, blue, or avahi from the files boot and desktop: 20 seconds<br />I disabled readahead altogether: 25 seconds<br />Turned readahead back on, reprofiled: 20 seconds</p>
<p><span style="font-size:130%;"><span style="font-weight:bold;">Trying to optimize readahead</span></span><br />Next, I sorted through the /etc/readahead/boot file and sorted out the list by time last accessed.<br />Which did nothing, because readahead had accessed them all in the order that they were in /etc/readahead/boot.<br />So I disabled readahead, rebooted, and went back through and sorted the list again. Some of the files had not been accessed in the past 24hrs, or in the last boot, so I omitted those from the list.<br />This made the boot time 22 seconds. Oops. Maybe I shouldn&#8217;t have omitted those files that haven&#8217;t been accessed in the last 24hrs.<br />Out of the blue, I removed ipv6 from the modules list: 21 seconds<br />So I sorted the original list again, and didn&#8217;t prune anything from the list: 21 seconds<br />I put the original list back: 20 seconds<br />I <a href="http://kahrn.wordpress.com/2007/08/22/getting-rid-of-the-kinit-warning-on-buntu-704-bootup/">disabled the kinit resume</a> function: 20 seconds<br />I blacklisted xpad, the Xbox controller module: 20 seconds<br />Next, I went into the BIOS and disabled all of the stuff I didn&#8217;t need, like the floppy controller, serial ports, parallel port, etc: 20 seconds<br />I disabled the wacom lines in xorg.conf, and turned on boot logging:  20 seconds<br />I noticed that something to do with Wacom was still being loaded, so I went through all of the /etc/rcX.d directories and disabled them: still at 20 seconds<br />I don&#8217;t have a printer connected to this computer, nor will I ever, so I disabled cups: 19 seconds<br />I found that /etc/inittab does nothing now. The extra ttys are spawned in /etc/event.d, so I removed tty3, 4, 5, and 6, then rebooted: 19 seconds<br />Next, since I have a static IP and a completely static connection, I removed the packages for dhcdbd, network-manager, and network-manager-gnome, then rebooted: 19 seconds.<br />I generated another initramfs: 19 seconds.</p>
<p>I could go further, since I have no need for sound, or anacron, but at this point I&#8217;m severely I/O limited, according to the bootchart. Maybe 90% of the boot process is spent in I/O wait. I doubt disabling those will even shave a half second off of my boot times.</p>
<p>Just for kicks, I removed bootchart and tried out my old method three times: It takes 40 seconds to get to a desktop from the moment I push the power button. Not too shabby for older hardware.</p>
<p><span style="font-weight:bold;font-size:130%;">Conclusion</span><br />All in all, it looks like the best speedups to get are from:<br />  1. <a href="http://ubuntuforums.org/showthread.php?t=254263">Reprofiling with readahead</a><br />  2. Setting a static IP for your network (if you&#8217;re a desktop user like me)</p>
<p>Everything else was just a waste of time. At a later date I may reinstall, then simply try the reprofiling and disabling DHCP, and see how long that takes. If I had a dual-core CPU, I may have seen a benefit from concurrency. At this point it seems like the easiest way to speed up boot even more would be to use a faster/dual-core CPU or get faster disks. Maybe I&#8217;ll bring in my Seagate X15 from home and give that a shot.<br /></span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://icanhaslinux.com/2007/08/28/making-ubuntu-boot-in-19-seconds/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>The 10 most useful applications in Ubuntu</title>
		<link>http://icanhaslinux.com/2007/08/22/the-10-most-useful-applications-in-ubuntu/</link>
		<comments>http://icanhaslinux.com/2007/08/22/the-10-most-useful-applications-in-ubuntu/#comments</comments>
		<pubDate>Wed, 22 Aug 2007 16:10:00 +0000</pubDate>
		<dc:creator>LightningCrash</dc:creator>
				<category><![CDATA[gnu]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://icanhaslinux.com/2007/08/22/the-10-most-useful-applications-in-ubuntu/</guid>
		<description><![CDATA[Many of these applications are the reason I switched to Ubuntu at home, and I have made them a staple of my technology lifestyle. If you&#8217;re someone who has just gotten started tinkering with Ubuntu (or GNU/Linux in general), you should give these a shot. 10. vim / gvim Vim is the editor of choice [...]]]></description>
			<content:encoded><![CDATA[<p>Many of these applications are the reason I switched to Ubuntu at home, and I have made them a staple of my technology lifestyle. If you&#8217;re someone who has just gotten started tinkering with Ubuntu (or GNU/Linux in general), you should give these a shot.</p>
<p><span style="font-weight:bold;">10. vim / gvim<br /></span><span style="font-weight:bold;"><span style="font-weight:bold;"></span>    </span>Vim is the editor of choice for everything I do (well, except excessive copying and pasting from Firefox.) The capabilities of vim will far exceed anything I&#8217;ll ever do with it. Periodically, though, I have to do something ridiculous to a file, and vim saves the day. Want to run a macro that will trim the first three characters off of every line in a file, add a semicolon at the end of every line, and replace every instance of FOO with BAR? Vim can do it. To install, simply the following a command prompt:</p>
<p><span style="color:rgb(255, 153, 102);">    </span><span style="font-style:italic;"><span style="color:rgb(255, 153, 102);">sudo apt-get install vim</span></p>
<p></span>Now you can execute <span style="font-style:italic;">vi </span>(or <span style="font-style:italic;">vim</span>) from the command prompt and get to editing away. <a href="http://lagmonster.org/docs/vi.html">Here&#8217;s a cheatsheet</a> for how to get around. There are hundreds of pages about the vim editor, search the net to find more!<br />Even if you run Windows, you can still enjoy some of the vim goodness. Just to go <a href="http://www.vim.org/">www.vim.org</a> and grab the Win32 Installer. You won&#8217;t get the command-line vim, but you will get the always-handy gVim.</p>
<p><span style="font-weight:bold;">9. The GNU find command</span><br /><span style="font-size:85%;"><span style="font-style:italic;">The GNU find program is part of the Ubuntu default installation, so there is no need to install it.</span></span><br />  A lot of people rely on the <span style="font-style:italic;color:rgb(255, 153, 102);">locate</span> command to find files, and that does serve its purpose very well. Where the GNU find command is useful is finding files of a specific nature, or acting upon those files in particular. For instance, if you want to get the MD5 checksum of every file in a directory, just CD to that directory and execute the following at the command prompt:</p>
<p>  <span style="font-style:italic;"><span style="color:rgb(255, 153, 102);">find ./ -type f -exec md5sum {} \;</span><br /></span><br />You can even use the GNU find command<span style="font-style:italic;"><span style="font-style:italic;"><span style="font-style:italic;"><span style="font-style:italic;"> </span></span></span></span>to delete files that haven&#8217;t been updated in a given timeframe (for instance, log files older than 90 days.) First, you should open a terminal and <span style="font-style:italic;color:rgb(255, 153, 102);">cd</span> to the directory with the log files, usually /var/log. Then, running the following will print those files to the command line:</p>
<p><span style="font-style:italic;color:rgb(255, 153, 102);">    find ./ -type f -mtime +90</span></p>
<p>Adding <span style="font-style:italic;color:rgb(255, 153, 102);">-delete</span> to the end of that line, and executing it again, will delete all files older than 90 days in that folder and every folder underneath it, as long as your user account has file permissions to do so!</p>
<p><span style="font-weight:bold;">8. Midnight Commander</span><br />  If you remember Doubletree from the DOS days, then Midnight Commander will probably be your new best friend. If you haven&#8217;t enabled the additional apt-get repositories yet, please visit the <a href="http://ubuntuguide.org/wiki/Ubuntu:Feisty">Ubuntu Guide</a> and complete that before taking the next step.<br />  To install Midnight Commander, type the following at a terminal prompt:</p>
<p>      <span style="font-style:italic;color:rgb(255, 153, 102);">sudo apt-get install mc</span></p>
<p>Midnight Commander is great for traversing the filesystem quickly, and even moreso when you&#8217;re doing the same remotely via SSH. You can edit files from within MC, and even browse a remote filesystem via an SSH connection with it (and without installing SSHFS.)<br />To run, simply open a terminal window and execute &#8216;<span style="color:rgb(255, 153, 102);">mc</span>&#8216;</p>
<p><span style="font-weight:bold;">7. Mplayer<br /><span style="font-weight:bold;">    </span></span>I know you can get mplayer for Windows, but it&#8217;s just not the same. Again, you&#8217;ll want to visit the <a href="http://ubuntuguide.org/wiki/Ubuntu:Feisty">Ubuntu Guide</a> to enable the additional apt-get repositories if you haven&#8217;t already. To install mplayer, open a terminal window and execute the following:</p>
<p>  <span style="font-style:italic;color:rgb(255, 153, 102);">sudo apt-get install mplayer</span></p>
<p>Mplayer has a special place in my heart as the media player that would play just about everything, even in the days when other players wouldn&#8217;t. Other media players have made some headway, but mplayer still has tricks up its sleeves. It will even play VCDs directly from a .bin file!</p>
<p><span style="font-weight:bold;">6. Rsync</span><br />  Looking back, this was probably one of the main reasons I went to Ubuntu at home. There is just not a suitable Rsync application for Windows. Period. I have a directory that follows me around wherever I go, it resides in my home directory as &#8216;sync&#8217;.  When I log in at work or on my laptop, it is copied down from my main desktop at home. When I log out, the directory is synchronized back with my main desktop at home. <a href="http://www.linux.com/feature/117236">Here is a great article from Linux.com</a> detailing how to use rsync in some practical ways. To install rsync, pull up that terminal prompt and type:</p>
<p>  <span style="font-style:italic;"><span style="color:rgb(255, 153, 102);">sudo apt-get install rsync</span><br /><span style="font-style:italic;"><br /></span></span><span style="font-weight:bold;">5. Alltray<br />  </span>Alltray allows you to take any window and minimize it to an icon. If you like the way that GAIM/Pidgin stashes away, and want other windows to do the same, try out Alltray!</p>
<p>  <span style="font-style:italic;"><span style="color:rgb(255, 153, 102);">sudo apt-get install alltray</span><br />  </span><br />After you&#8217;re done installing, go to Applications-&gt;Accessories-&gt;Alltray, then just click on the window you want to turn into an icon. To bring the window back, just click on the icon.<br /><span style="font-style:italic;"><br /></span><span style="font-weight:bold;">4. TightVNC Server<br />  </span>Oh, I know what you&#8217;re thinking: &#8220;TightVNC is available for Windows, LC! Why is this worthy of mention?!&#8221; The Windows TightVNC implementation allows you to remote in to your existing desktop. The Linux implementation, however, allows you to remote in to a discrete desktop environment. You can even run multiple discrete VNC servers on the same Ubuntu box. I use this to give an Xorg environment to items I want to leave running all the time. Azureus, among other applications, stays running in the VNC session and I can check up on my seeding efforts from afar. To install, simply open a terminal window and execute the following:</p>
<p><span style="font-style:italic;"><span style="color:rgb(255, 153, 102);">sudo apt-get install tightvncserver</span><br /></span><br />To run a VNC server, simply execute &#8216;<span style="font-style:italic;color:rgb(255, 153, 102);">vncserver</span>&#8216; from any terminal. You can set a password for the VNC server by executing &#8216;<span style="font-style:italic;"><span style="color:rgb(255, 153, 102);">vncpasswd</span>&#8216; </span>from a terminal. You can automate the startup of vncserver, but I usually just launch it when I need it and then tromp around from there.</p>
<p><span style="font-weight:bold;">3. Fuse SSHFS<br /><span style="font-style:italic;">    </span></span>Got SSH access to another computer, but want to view the files on that computer as if they were on your own filesystem? SSHFS has you covered. The Ubuntu Blog has a better HOWTO on this than I could ever write, <a href="http://ubuntu.wordpress.com/2005/10/28/how-to-mount-a-remote-ssh-filesystem-using-sshfs/">so go pay them a visit.</a> I find SSHFS very handy when I want to listen to my home music collection from another computer on another network, but don&#8217;t want to carry multiple copies of everything around with me. Editing PHP files on my remote webserver got a lot easier, too.</p>
<p><span style="font-weight:bold;"><span style="font-style:italic;"></span><span style="font-weight:bold;">2</span></span>.<span style="font-weight:bold;"> SABnzbd<br />  </span>If you download anything at all from Newsgroups, you&#8217;ll appreciate some of the things that SABnzbd offers. SABnzbd will download, PAR check, unRAR and clean up any NZB that you throw at it. It offers a web interface and will monitor a directory for automatic pickup. I installed SABnzbd manually, but you can always check out <a href="http://ubuntuforums.org/showthread.php?t=369371">this thread on the Ubuntu Forums</a> to pick up a script that will install everything for you. There are no packages in apt-get repositories to install SABnzbd, so everything must be done the less convenient way. The results are well worth the effort, though.</p>
<p><span style="font-weight:bold;">1. Yakuake<span style="font-weight:bold;"><br />  </span></span>If you&#8217;ve ever played any of the Quake series games (or games derived from iD software game engines,) you probably remember hitting the tilde (~) key to bring down a console where you could mess with game settings. Yakuake stashes a terminal window in the same manner, tied to the F12 key. You can reassign the key to any keystroke or combination that you like. I have mine set to CTRL + * at work (since they&#8217;re right next to each other on a Northgate keyboard), and Windows Key + Open Dialog Menu Key on my personal machines.<br />To install, execute the following at a terminal prompt:</p>
<p>  <span style="font-style:italic;"><span style="color:rgb(255, 153, 102);">sudo apt-get install yakuake</span><br /></span><br />To run, type &#8216;<span style="color:rgb(255, 153, 102);">yakuake &amp;</span>&#8216; at a terminal, and you should see a message that Yakuake started! Now you have a stowable terminal at your fingertips. Just press F12 to make it drop down.<br /><span style="font-style:italic;"></span><span style="font-weight:bold;"> </span><span style="font-style:italic;"></span><span style="font-style:italic;"></span></p>
]]></content:encoded>
			<wfw:commentRss>http://icanhaslinux.com/2007/08/22/the-10-most-useful-applications-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

