<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-551707721426353172</id><updated>2011-12-28T01:59:55.511-05:00</updated><category term='wubi'/><category term='keyboard-external'/><category term='flash'/><category term='bundler'/><category term='libreoffice'/><category term='installation'/><category term='rsync'/><category term='bashrc'/><category term='bug'/><category term='development'/><category term='autotest'/><category term='fonts'/><category term='adobe'/><category term='sych'/><category term='nunit'/><category term='upgrade'/><category term='microblogging'/><category term='logitech'/><category term='banshee'/><category term='rcov'/><category term='project-management'/><category term='c#'/><category term='gwibber'/><category term='troubleshooting'/><category term='firefox'/><category term='dell'/><category term='audio'/><category term='impress'/><category term='mouse'/><category term='git'/><category term='configuration'/><category term='printer'/><category term='dual-boot'/><category term='rails'/><category term='truetype'/><category term='keyboard'/><category term='video'/><category term='esp-3'/><category term='alsa'/><category term='performance'/><category term='eclipse'/><category term='vsm'/><category term='dotnet'/><category term='xp'/><category term='authentication failure'/><category term='mouse-external'/><category term='backup'/><category term='hardware acceleration'/><category term='buttons'/><category term='virtualbox'/><category term='geany'/><category term='winforms'/><category term='64-bit'/><category term='mysql'/><category term='java'/><category term='rip'/><category term='ntfs'/><category term='webrat'/><category term='kodak'/><category term='vmware'/><category term='setuid'/><category term='freemind'/><category term='cucumber'/><category term='ffmpeg'/><category term='rvm'/><category term='maven2'/><category term='gems'/><category term='pdf'/><category term='oracle'/><category term='bash_aliases'/><category term='adf'/><category term='yaml'/><category term='Toshiba'/><category term='rspec'/><category term='3550'/><category term='android'/><category term='fc-cache'/><category term='filesystem'/><category term='mac'/><category term='sinatra'/><category term='psych'/><category term='dependency'/><category term='mp3'/><category term='keyboard-wireless'/><category term='ubuntu'/><category term='anti-aliasing'/><category term='googleearth'/><category term='acer'/><category term='alsamixer'/><category term='coffeescript'/><category term='candy'/><category term='pdftk'/><category term='karmic'/><category term='vista'/><category term='ruby'/><category term='virtualization'/><category term='11.04'/><category term='wiki'/><category term='ttf'/><category term='coldfusion'/><category term='apple'/><category term='instiki'/><category term='partitions'/><category term='media-player'/><category term='gtk#'/><category term='lucid'/><category term='xmarks'/><category term='skype'/><category term='os x'/><category term='tomcat'/><category term='export'/><category term='quest'/><category term='mplayer'/><category term='openoffice'/><category term='switch'/><category term='addons'/><category term='download'/><category term='sound'/><category term='plugin'/><category term='shell'/><category term='personalization'/><category term='comparison'/><category term='hp-pavilion'/><category term='value stream mapping'/><category term='uml'/><category term='windows'/><category term='mindmap'/><category term='vostro'/><category term='usability'/><category term='monodevelop'/><category term='update'/><category term='presentations'/><category term='ruby-1.9.2'/><category term='linux'/><category term='recovery'/><category term='10.04'/><category term='static'/><category term='source-control'/><category term='startup'/><category term='rename'/><category term='mail notifier'/><category term='libnspr4-dev'/><category term='unity desktop'/><category term='explainpmt'/><category term='font'/><category term='autocomplete'/><category term='mongodb'/><category term='macrilege'/><category term='bluetooth'/><category term='sudo'/><category term='fat32'/><category term='mouse-wireless'/><category term='netbook'/><category term='notification-balloons'/><category term='32bit'/><category term='microphone'/><category term='grip'/><category term='windows7'/><category term='coldspring'/><category term='fail'/><category term='downloadhelper'/><category term='mono'/><category term='modelglue'/><category term='synaptic'/><category term='mxunit'/><category term='touch-pad'/><title type='text'>ubuntu</title><subtitle type='html'>a n00b's journey</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>84</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-3257979712630050289</id><published>2011-10-27T17:57:00.003-04:00</published><updated>2011-10-27T18:03:59.796-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='impress'/><category scheme='http://www.blogger.com/atom/ns#' term='libreoffice'/><category scheme='http://www.blogger.com/atom/ns#' term='export'/><category scheme='http://www.blogger.com/atom/ns#' term='pdf'/><category scheme='http://www.blogger.com/atom/ns#' term='pdftk'/><category scheme='http://www.blogger.com/atom/ns#' term='openoffice'/><title type='text'>Exporting only the notes pages from an OpenOffice or LibreOffice presentation</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2011/09/installing-coffeescript-on-ubuntu-1104.html"&gt;Installing Coffeescript on Ubuntu 11.04&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Since switching to Ubuntu as my primary (and almost only) platform, I've sometimes had some challenges with presentations created with OpenOffice or LibreOffice Impress. One challenge is producing handouts based on the notes pages in a presentation. The export to PDF feature cannot, apparently, produce a PDF containing only the notes pages. It always exports the slides as well. &lt;br /&gt;&lt;br /&gt;I was happy to find a handy script at http://www.oooforum.org/forum/viewtopic.phtml?t=38797, contributed by user eponymous way back in 2006. The script reads the exported PDF file and writes two PDF files: One containing only the slide images and one containing only the notes pages. The script depends on pdftk (PDF Toolkit) from PDF Labs, available from http://www.pdflabs.com/. Pdftk can also be installed from an Ubuntu repository with&lt;pre&gt;sudo apt-get install pdftk&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Next: &lt;a href=""&gt;TBD&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-3257979712630050289?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/3257979712630050289/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2011/10/exporting-only-notes-pages-from.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/3257979712630050289'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/3257979712630050289'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2011/10/exporting-only-notes-pages-from.html' title='Exporting only the notes pages from an OpenOffice or LibreOffice presentation'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-1283181016004398639</id><published>2011-09-02T11:09:00.006-04:00</published><updated>2011-10-27T18:05:18.727-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='coffeescript'/><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='11.04'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Installing Coffeescript on Ubuntu 11.04</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2011/07/ubuntu-1104-on-dell-vostro-3550-fail.html"&gt;Ubuntu 11.04 on Dell Vostro - FAIL&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Installing Coffeescript turned out to be slightly different than documented on the Coffeescript site at &lt;a href="http://opinionated-programmer.com/2010/12/installing-coffeescript-on-debian-or-ubuntu/"&gt;http://opinionated-programmer.com/2010/12/installing-coffeescript-on-debian-or-ubuntu/&lt;/a&gt;. This is how I did it:&lt;br /&gt;&lt;pre&gt;sudo add-apt-repository ppa:gezakovacs/coffeescript&lt;br /&gt;sudo apt-get update&lt;br /&gt;sudo apt-get install coffeescript&lt;/pre&gt;At this point, when I ran &lt;i&gt;coffee&lt;/i&gt; it was unable to find &lt;i&gt;nodejs&lt;/i&gt;. I searched for help and discovered this is a known bug as of the date of this post: &lt;a href="https://bugs.launchpad.net/ubuntu/+source/coffeescript/+bug/777554"&gt;https://bugs.launchpad.net/ubuntu/+source/coffeescript/+bug/777554&lt;/a&gt;. The workaround is:&lt;br /&gt;&lt;pre&gt;cd ~/bin&lt;br /&gt;ln -s /usr/bin/node nodejs&lt;/pre&gt;With that, Coffeescript ran fine.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2011/09/installing-coffeescript-on-ubuntu-1104.html"&gt;Installing Coffeescript on Ubuntu 11.04&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-1283181016004398639?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/1283181016004398639/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2011/09/installing-coffeescript-on-ubuntu-1104.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/1283181016004398639'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/1283181016004398639'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2011/09/installing-coffeescript-on-ubuntu-1104.html' title='Installing Coffeescript on Ubuntu 11.04'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-6774658746868387215</id><published>2011-07-30T17:21:00.004-04:00</published><updated>2011-09-02T11:19:37.757-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='3550'/><category scheme='http://www.blogger.com/atom/ns#' term='dell'/><category scheme='http://www.blogger.com/atom/ns#' term='fail'/><category scheme='http://www.blogger.com/atom/ns#' term='vostro'/><category scheme='http://www.blogger.com/atom/ns#' term='11.04'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Ubuntu 11.04 on Dell Vostro 3550 - FAIL</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2011/06/getting-instiki-wiki-working-on-ubuntu.html"&gt;Getting Instiki wiki working on Ubuntu 11.04&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I was thinking Natty and Wubi were having a spat. I couldn't get Ubuntu 11.04 running on a Dell Vostro 3550 using Wubi. After using it under VmWare for a while, I tried Wubi again and it worked. Things went very well for a week or so, and then one fine boot it blew chunks, just as it had done before. I could find no help online for the problem, but I did discover several postings that mentioned some kind of deep incompatibility between Ubuntu 11.04 and the Dell Vostro 3550, despite the fact some other Vostro models actually ship with Ubuntu pre-installed. So, the problem isn't an issue with Wubi after all, but an issue with this particular laptop model. &lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2011/09/installing-coffeescript-on-ubuntu-1104.html"&gt;Installing Coffeescript on Ubuntu 11.04&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-6774658746868387215?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/6774658746868387215/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2011/07/ubuntu-1104-on-dell-vostro-3550-fail.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/6774658746868387215'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/6774658746868387215'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2011/07/ubuntu-1104-on-dell-vostro-3550-fail.html' title='Ubuntu 11.04 on Dell Vostro 3550 - FAIL'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-6757259743841592580</id><published>2011-06-25T11:32:00.009-04:00</published><updated>2011-07-30T17:26:24.568-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='bundler'/><category scheme='http://www.blogger.com/atom/ns#' term='sych'/><category scheme='http://www.blogger.com/atom/ns#' term='wiki'/><category scheme='http://www.blogger.com/atom/ns#' term='rails'/><category scheme='http://www.blogger.com/atom/ns#' term='psych'/><category scheme='http://www.blogger.com/atom/ns#' term='instiki'/><category scheme='http://www.blogger.com/atom/ns#' term='yaml'/><category scheme='http://www.blogger.com/atom/ns#' term='11.04'/><title type='text'>Getting Instiki wiki working on Ubuntu 11.04</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2011/06/installing-rvm-on-ubuntu-1104.html"&gt;Installing rvm on Ubuntu 11.04&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I started by copying my backup of the whole directory .wiki from an external drive to /home/.wiki. &lt;br /&gt;Then I ran the following commands:&lt;pre&gt;rvm gem install bundler&lt;br /&gt;sudo apt-get install&lt;br /&gt;    libxml2-dev&lt;br /&gt;    libxslt1-dev&lt;br /&gt;    sqlite3&lt;br /&gt;    libsqlite3-dev&lt;br /&gt;cd .wiki&lt;br /&gt;bundle&lt;/pre&gt;Bundler installed other components Instiki uses, including nokogiri, rubyzip, and sqlite3-ruby.&lt;br /&gt;&lt;br /&gt;Instiki did not start, and reported this error:&lt;pre&gt;/home/dave/.rvm/rubies/ruby-1.9.2-p180/lib&lt;br /&gt;    /ruby/1.9.1/psych.rb:148:in `parse': &lt;br /&gt;    couldn't parse YAML at line 18 column 14 (Psych::SyntaxError)&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;I found an explanation and workaround by vicvega on &lt;br /&gt;&lt;a href="http://stackoverflow.com/questions/4980877/rails-error-couldnt-parse-yaml"&gt;Stack Overflow&lt;/a&gt;. I added the lines&lt;pre&gt;require 'yaml'&lt;br /&gt;YAML::ENGINE.yamler= 'syck'&lt;br /&gt;&lt;/pre&gt;at the top of Instiki's config/boot.rb file (just above the comment that reads, "Don't change this file!"), and Instiki started up clean. In a nutshell, the problem was that bundler uses psych as the default yaml parser, psych is not compatible with rails, and Instiki is a rails app.&lt;br /&gt;&lt;br /&gt;In .bash_aliases I added a line to start the wiki conveniently:&lt;pre&gt;alias wiki=~/.wiki/instiki&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2011/07/ubuntu-1104-on-dell-vostro-3550-fail.html"&gt;Ubuntu 11.04 on Dell Vostro 3550 - FAIL&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-6757259743841592580?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/6757259743841592580/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2011/06/getting-instiki-wiki-working-on-ubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/6757259743841592580'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/6757259743841592580'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2011/06/getting-instiki-wiki-working-on-ubuntu.html' title='Getting Instiki wiki working on Ubuntu 11.04'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-4846632120523629873</id><published>2011-06-25T10:50:00.003-04:00</published><updated>2011-06-25T11:34:06.248-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='rvm'/><category scheme='http://www.blogger.com/atom/ns#' term='11.04'/><title type='text'>Installing rvm on Ubuntu 11.04</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2011/06/googleearth-installation-on-ubuntu-1104.html"&gt;GoogleEarth installation on Ubuntu 11.04&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I started by referring both to the &lt;a href="http://beginrescueend.com/rvm/install/" target="_blank"&gt;rvm installation guide&lt;/a&gt; and to the notes I had made when I installed rvm on 10.04: &lt;a href="http://kotowanandesu.blogspot.com/2010/11/ubuntu-1004-upgrade-on-toshiba_8205.html"&gt;Ubuntu 10.04 upgrade on Toshiba Satellite: Ruby Version Manager&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;They have simplified the installation process for rvm. You used to have to comment a line in .bashrc and then run a script and &lt;br /&gt;then uncomment the line again. They've improved the process so that isn't necessary anymore. Makes the world a better place.&lt;br /&gt;&lt;br /&gt;The rvm installation itself worked exactly as documented in the rvm installation guide, so I won't repeat the steps here.&lt;br /&gt;&lt;br /&gt;Installed ruby 1.9.2 and 1.8.7 and set 1.9.2 as the default ruby version:&lt;pre&gt;rvm install 1.9.2&lt;br /&gt;rvm install 1.8.7&lt;br /&gt;rvm --default use 1.9.2&lt;/pre&gt;This all worked fine and it was easy to switch between versions:&lt;pre&gt;&lt;br /&gt;ruby -v (it reported 1.9.2)&lt;br /&gt;rvm use 1.8.7 &lt;br /&gt;ruby -v (it reported 1.8.7)&lt;br /&gt;use default&lt;br /&gt;ruby -v (it reported 1.9.2)&lt;/pre&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2011/06/getting-instiki-wiki-working-on-ubuntu.html"&gt;Getting Instiki working on Ubuntu 11.04&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-4846632120523629873?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/4846632120523629873/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2011/06/installing-rvm-on-ubuntu-1104.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/4846632120523629873'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/4846632120523629873'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2011/06/installing-rvm-on-ubuntu-1104.html' title='Installing rvm on Ubuntu 11.04'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-1599160416281756181</id><published>2011-06-25T09:20:00.003-04:00</published><updated>2011-06-25T10:54:16.644-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='fonts'/><category scheme='http://www.blogger.com/atom/ns#' term='truetype'/><category scheme='http://www.blogger.com/atom/ns#' term='googleearth'/><category scheme='http://www.blogger.com/atom/ns#' term='11.04'/><title type='text'>GoogleEarth installation on Ubuntu 11.04</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2011/06/ubuntu-1104-on-vmware-player-with.html"&gt;Ubuntu 11.04 on VmWare Player with Windows 7 host&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The GoogleEarth installation on Ubuntu has changed since I last installed it. This time, the installation went this way:&lt;br /&gt;&lt;br /&gt;(1) From the GoogleEarth download site at http://www.google.com/earth/download/ge/agree.html download "64 bit .deb (For Debian/Ubuntu)".&lt;br /&gt;(2) In a Terminal window, install the Microsoft TrueType basic font set:&lt;pre&gt;sudo apt-get install ttf-mscorefonts-installer&lt;/pre&gt;&lt;br /&gt;(3) In a Terminal window, install prerequisite packages to support GoogleEarth:&lt;pre&gt;sudo apt-get install lsb-core&lt;/pre&gt;If Ubuntu complains about missing prerequisites for lsb-core, run:&lt;pre&gt;sudo apt-get -f install&lt;/pre&gt;&lt;br /&gt;(4) In a terminal window, install the .deb package downloaded from the GoogleEarth site:&lt;pre&gt;sudo dpkg -i google-blah-blah.deb&lt;/pre&gt;&lt;br /&gt;(5) Log out and back in again so that the fonts will be available to Google&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2011/06/installing-rvm-on-ubuntu-1104.html"&gt;Installing rvm on Ubuntu 11.04&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-1599160416281756181?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/1599160416281756181/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2011/06/googleearth-installation-on-ubuntu-1104.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/1599160416281756181'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/1599160416281756181'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2011/06/googleearth-installation-on-ubuntu-1104.html' title='GoogleEarth installation on Ubuntu 11.04'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-5531160494038431643</id><published>2011-06-25T09:05:00.007-04:00</published><updated>2011-06-25T13:46:52.798-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='dell'/><category scheme='http://www.blogger.com/atom/ns#' term='windows7'/><category scheme='http://www.blogger.com/atom/ns#' term='unity desktop'/><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='virtualization'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='vmware'/><category scheme='http://www.blogger.com/atom/ns#' term='vostro'/><category scheme='http://www.blogger.com/atom/ns#' term='11.04'/><title type='text'>Ubuntu 11.04 on VmWare Player with Windows 7 host</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2011/06/ubuntu-1104-on-virtualbox-with-windows.html"&gt;Ubuntu 11.04 on Virtualbox with Windows 7 host - FAIL&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Despite the issues with Virtualbox, I still felt the VM approach was the way to go to run Ubuntu 11.04 with Windows 7 on the Dell Vostro. It seemed as if there was no free virtualization proram available that would do the job, so I went to the VmWare site expecting to pay around $80, as in years past. I didn't like the idea of having to pay just to use my personal system when on the road, so I was pleasantly surprised to see that VmWare now offers a product called VmWare Player that is available free for personal use. I tried installing Ubuntu 11.04 on the Dell laptop using VmWare Player.&lt;br /&gt;&lt;br /&gt;The installation went smoothly and it was easy to see what was going on at all times.&lt;br /&gt;&lt;br /&gt;Just as with Virtualbox, VmWare Player "thought" the system lacked the hardware necessary to run Unity. I don't understand well enough how virtualization software works to have a guess as to why that might be. The "real" hardware is certainly adequate. Of course, for this limited purpose the classic Gnome desktop is perfectly adequate, too.&lt;br /&gt;&lt;br /&gt;On edit: Found a solution from David Tam &lt;a href="http://www.dtamonline.com/2011/04/ubuntu-11-04-unity-on-vmware-fusion-and-virtualbox/"&gt;on his blog&lt;/a&gt;. It seems Unity depends on hardware 3D graphics acceleration, which is not supported in a guest VM. The solution is to switch to a 2D version of the Unity desktop:&lt;pre&gt;sudo add-apt-repository ppa:unity-2d-team/unity-2d-daily&lt;br /&gt;sudo apt-get update&lt;br /&gt;sudo apt-get install unity-2d-default-settings&lt;/pre&gt;then log out and in again. Voil&amp;aacute;!&lt;br /&gt;&lt;br /&gt;Network connectivity from the guest OS was seamless. I plugged a USB stick into a port, and VmWare Player connected it to the Ubuntu instance with no problem. &lt;br /&gt;&lt;br /&gt;I shut down the Ubuntu guest from inside the guest, then double-clicked its entry in VmWare Player's list to restart it. All normal.&lt;br /&gt;&lt;br /&gt;Good to go.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2011/06/googleearth-installation-on-ubuntu-1104.html"&gt;GoogleEarth installation on Ubuntu 11.04&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-5531160494038431643?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/5531160494038431643/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2011/06/ubuntu-1104-on-vmware-player-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/5531160494038431643'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/5531160494038431643'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2011/06/ubuntu-1104-on-vmware-player-with.html' title='Ubuntu 11.04 on VmWare Player with Windows 7 host'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-7495276782786241560</id><published>2011-06-25T09:01:00.004-04:00</published><updated>2011-06-25T09:08:05.796-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='dell'/><category scheme='http://www.blogger.com/atom/ns#' term='windows7'/><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='fail'/><category scheme='http://www.blogger.com/atom/ns#' term='virtualization'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='virtualbox'/><category scheme='http://www.blogger.com/atom/ns#' term='vostro'/><category scheme='http://www.blogger.com/atom/ns#' term='11.04'/><title type='text'>Ubuntu 11.04 on Virtualbox with Windows 7 host - FAIL</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2011/06/windows-7-boot-menu-issues.html"&gt;Windows 7 boot menu issues&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;With Ubuntu 11.04 running as a VirtualBox VM on a Microsoft Windows 7 host system, USB devices are not visible to the guest Ubuntu instance. Community documentation at https://help.ubuntu.com/community/VirtualBox/USB says, "Add yourself to the user group vboxusers, then log out and back in." I found no group named vboxusers, so I created one and added my own account, logged out and back in. This had absolutely no effect.&lt;br /&gt;&lt;br /&gt;Another source at http://www.ubuntugeek.com/running-ubuntu-11-04-natty-unity-3d-on-virtualbox-4-x.html suggested installing "Virtualbox guest additions," and said to "click on Devices-&gt;Install guest additions," which I could not find anywhere, in any menu of any application on either the host or guest systems.&lt;br /&gt;&lt;br /&gt;As a last resort, I looked at the Virtualbox user manual. On this page http://www.virtualbox.org/manual/ch04.html#idp11234128 it suggested the following procedure to install Virtualbox guest additions for Ubuntu:&lt;pre&gt;apt-get update&lt;br /&gt;apt-get upgrade&lt;br /&gt;apt-get install dkms&lt;/pre&gt;and then...oops...point to the VBoxGuestAdditions.iso file, which doesn't seem to exist anywhere at all. Searching further, I found a thread on Ubuntu Forums at http://ubuntuforums.org/showthread.php?t=584763 where people were looking for this file. This thread also recommends opening the "Devices" drop-down menu in Virtualbox, but there is no such menu item. A thread on the Virtualbox forums at http://forums.virtualbox.org/viewtopic.php?f=3&amp;t=7007 also recommends using this drop-down menu, which does not exist.&lt;br /&gt;&lt;br /&gt;Finally, I found an answer at http://forums.virtualbox.org/viewtopic.php?f=2&amp;t=38548. The Virtualbox menu bar in the &lt;i&gt;guest&lt;/i&gt; window does not appear when running in "scale" mode. Used &lt;i&gt;host&lt;/i&gt;-C to get out of "scale" mode, and the menu appeared. (I had switched to scale mode early on, since the Ubuntu screen image does not fit inside its Windows window, and resizing the Windows window had no effect on the size or aspect ratio of the Ubuntu screen.) The option to install the virtual guest additions resulted in an iso file appearing as an external CD-ROM drive in the guest Ubuntu instance.&lt;br /&gt;&lt;br /&gt;At that point, I ran the update and upgrade and installed dkms. Upgrade did quite a lot and took several minutes to run.&lt;br /&gt;&lt;br /&gt;After following the instructions at http://www.virtualbox.org/manual/ch04.html#idp11234128, the guest OS still did not see the USB drive. Virtualbox reported the error, "USB device ' ' with UUID {blah} is busy with a previous request. Please try again later," and under Details it gave the result code E_INVALIDARG (0x80070057) for component HostUSBDevice and interface IHostUSBDevice.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2011/06/ubuntu-1104-on-vmware-player-with.html"&gt;Ubuntu 11.04 on VmWare Player with Windows 7 host&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-7495276782786241560?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/7495276782786241560/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2011/06/ubuntu-1104-on-virtualbox-with-windows.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/7495276782786241560'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/7495276782786241560'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2011/06/ubuntu-1104-on-virtualbox-with-windows.html' title='Ubuntu 11.04 on Virtualbox with Windows 7 host - FAIL'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-5741602996580185936</id><published>2011-06-25T08:58:00.005-04:00</published><updated>2011-06-25T09:18:30.777-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='dell'/><category scheme='http://www.blogger.com/atom/ns#' term='windows7'/><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='wubi'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='vostro'/><category scheme='http://www.blogger.com/atom/ns#' term='11.04'/><title type='text'>Windows 7 boot menu issues</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2011/06/ubuntu-1104-on-wubi-with-windows-7-fail.html"&gt;Ubuntu 11.04 on Wubi with Windows 7 - FAIL&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;After I removed the Wubi-installed copy of Ubuntu from the Dell laptop, there was just the one OS on the system. Yet, the boot menu continued to appear on startup, showing the now-defunct entry for Ubuntu. I discovered that Microsoft had made Windows a bit harder to use since Vista, in that there was no easy way to remove this entry from the boot menu. Msconfig was mentioned on several forums, but it doesn't appear to include a boot menu editor.&lt;br /&gt;&lt;br /&gt;I took a chance on a downloaded product from NeoSmart Technologies called EasyBCD. It was intuitive to remove the entry from the boot menu and did no collateral damage. However, on restart the system still displayed the boot menu, now showing only one entry. When there is only one OS installed, there is no need to display the boot menu. It's just a waste of time. Haven't found a fix yet.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2011/06/ubuntu-1104-on-virtualbox-with-windows.html"&gt;Ubuntu 11.04 on Virtualbox with Windows 7 host - FAIL&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-5741602996580185936?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/5741602996580185936/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2011/06/windows-7-boot-menu-issues.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/5741602996580185936'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/5741602996580185936'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2011/06/windows-7-boot-menu-issues.html' title='Windows 7 boot menu issues'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-3730045249577822247</id><published>2011-06-25T07:50:00.003-04:00</published><updated>2011-06-25T09:16:06.894-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='windows7'/><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='fail'/><category scheme='http://www.blogger.com/atom/ns#' term='wubi'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='11.04'/><title type='text'>Ubuntu 11.04 on Wubi with Windows 7 - FAIL</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2011/06/ubuntu-1104-installation.html"&gt;Ubuntu 11.04 installation&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Recently I joined a company as a consultant, and the job requires frequent travel. The company laptop runs Microsoft Windows 7, and some of the company's software tools require Windows. I wanted to have some personal computer time while on the road but I didn't want to have to take two laptops with me, so I decided to install Ubuntu 11.04 under Wubi on that machine. This is a Dell Vostro laptop.&lt;br /&gt;&lt;br /&gt;I was never able to get 11.04 to run properly after a Wubi install. There seemed to be some problem related to the video driver. Unfortunately, I could not get to a command line prompt at all. Once the machine reached a certain point in the installation, the display just displayed multicolored garbage or part of a memory dump, and did not respond to the keyboard or mouse. &lt;br /&gt;&lt;br /&gt;I did not want to mess with the partitions on that machine, since Windows tends to be very sensitive to that sort of thing (see [blog post link]. Instead, I downloaded VirtualBox and installed 11.04 in a VM. It's functional, but doesn't take good advantage of the host system's video adapter. It won't even run Unity, thinking the "hardware" isn't up to the challenge.&lt;br /&gt;&lt;br /&gt;One strange thing...after installing and creating a user account and so forth, when I restarted the guest OS it always wanted to install Ubuntu from scratch. I never found a good reason for it, but when I deleted all the Virtualbox log files (but not the log directory), the problem went away and the guest OS came up normally. After Virtualbox wrote to its log files again, the problem reappeared. Therefore, there did not seem to be any way to establish a reusable Linux instance. Every time I started the virtual machine I had to install Linux again. This is not especially useful.&lt;br /&gt;&lt;br /&gt;Due to the issues with a Wubi install of 11.04, I decided not to upgrade the Acer Netbook. It happily runs 10.10.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2011/06/windows-7-boot-menu-issues.html"&gt;Windows 7 boot menu issues&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-3730045249577822247?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/3730045249577822247/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2011/06/ubuntu-1104-on-wubi-with-windows-7-fail.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/3730045249577822247'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/3730045249577822247'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2011/06/ubuntu-1104-on-wubi-with-windows-7-fail.html' title='Ubuntu 11.04 on Wubi with Windows 7 - FAIL'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-2338511444533630832</id><published>2011-06-25T07:44:00.005-04:00</published><updated>2011-06-25T09:49:35.480-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Toshiba'/><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='bash_aliases'/><category scheme='http://www.blogger.com/atom/ns#' term='bashrc'/><category scheme='http://www.blogger.com/atom/ns#' term='11.04'/><category scheme='http://www.blogger.com/atom/ns#' term='shell'/><title type='text'>Ubuntu 11.04 installation</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2011/03/installing-android-sdk-and-eclipse-adt.html"&gt;Installing Android SDK and Eclipse ADT plug-in&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I managed to corrupt the root partition on my main personal system, a Toshiba Satellite P500. Since I had to re-install Ubuntu anyway, I took the opportunity to move on to 11.04.&lt;br /&gt;&lt;br /&gt;I wanted to keep the same partition structure as I had before on the Toshiba, with a 30GB partition mounted at /, an 8GB swap partition, and the rest of the disk as a single partition mounted at /home. The installation went smoothly. Just remember to connect your machine to the internet by wire for purposes of the installation. It won't find your wireless adapter during the installation process.&lt;br /&gt;&lt;br /&gt;Default settings in .bashrc are a little different in 11.04 than they were in 10.04. &lt;br /&gt;It ships with popular ls aliases and with .bash_aliases already sourced.&lt;br /&gt;I made no changes to .bashrc this time.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2011/06/ubuntu-1104-on-wubi-with-windows-7-fail.html"&gt;Ubuntu 11.04 on Wubi with Windows 7 host - FAIL&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-2338511444533630832?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/2338511444533630832/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2011/06/ubuntu-1104-installation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/2338511444533630832'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/2338511444533630832'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2011/06/ubuntu-1104-installation.html' title='Ubuntu 11.04 installation'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-5867516333020609092</id><published>2011-03-12T10:48:00.006-05:00</published><updated>2011-06-25T07:48:03.648-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><category scheme='http://www.blogger.com/atom/ns#' term='android'/><title type='text'>Installing Android SDK and Eclipse ADT Plug-In</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2010/11/ripping-cds-on-ubuntu-1004.html"&gt;Ripping CDs on Ubuntu 10.04&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;My interest in Android development was rekindled when I got a new Android phone last month. After upgrading to Ubuntu 10.04, I had not reinstalled the Android development tools, so I installed them fresh.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Prerequisites&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;sudo apt-get install ia32-libs&lt;br /&gt;sudo apt-get install sun-java6-jdk&lt;/pre&gt;&lt;br /&gt;&lt;h3&gt;Get the Android development kit&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;The Android development kit contains tools for building and testing Android apps. There are some very good tutorials on &lt;a href="http://developer.android.com/resources/" target="_blank"&gt;developer.android.com/resources/&lt;/a&gt; that will help you get started.&lt;br /&gt;&lt;br /&gt;1. Create home directory for android development tools. I chose ~/.android.&lt;br /&gt;&lt;br /&gt;2. Download sdk from &lt;a href="http://developer.android.com/sdk" target="_blank"&gt;developer.android.com/sdk&lt;/a&gt;. At the time I did this, it was release 10. Note that the file name contains the releacd tse number. Place the downloaded file in the android development home directory.&lt;br /&gt;&lt;br /&gt;3. In a command line window, change to the android development home directory.&lt;br /&gt;&lt;br /&gt;4. Unpack the distribution.&lt;pre&gt;gunzip -c android-sdk_r10-linux_x86.tgz | tar xopf -&lt;/pre&gt;You will end up with ~/.android/android-sdk_r10-linux_x86/. (The directory name contains the release number.)&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Get Android platform development tools&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;The basic Android SDK contains only the core development tools. From the readme:&lt;br /&gt;&lt;br /&gt;&amp;quot;In order to start developing applications, you must install the Platform-tools&lt;br /&gt;and at least one version of the Android platform, using the SDK Manager.&lt;br /&gt;&lt;br /&gt;&amp;quot;Platform-tools contains build tools that are periodically updated to support new&lt;br /&gt;features in the Android platform (which is why they are separate from basic&lt;br /&gt;SDK tools), including adb, dexdump, and others.&amp;quot;&lt;br /&gt;&lt;br /&gt;1. Change to the Android development home directory and start the SDK Manager:&lt;pre&gt;tools/android&lt;/pre&gt;From the selections on the left side of the window, choose &lt;i&gt;Available packages&lt;/i&gt;, then expand &lt;i&gt;Android Repository&lt;/i&gt;. Tick the checkboxes next to the items you want to install. I chose &lt;i&gt;Android SDK Platform-tools, revision 3&lt;/i&gt;, &lt;i&gt;Documentation for Android SDK, API 11, revision 1&lt;/i&gt;, &lt;i&gt;SDK Platform Android 3.0, API 11, revision1&lt;/i&gt;, &lt;i&gt;SDK Platform Android 2.3.3, API 10, revision 1&lt;/i&gt;, &lt;i&gt;Samples for SDK API 10, revision 1&lt;/i&gt;, and &lt;i&gt;Samples for SDK API 11, revision 1&lt;/i&gt;. I got 3.0 because it was the latest version at the time, and 2.3.3 because it was the version that came with my shiny new Android phone.&lt;br /&gt;&lt;br /&gt;After making your selections, click the button labeled &lt;i&gt;Install Selected&lt;/i&gt;, in the lower right-hand corner of the window. It will display a list of components and licenses. You must choose &lt;i&gt;Accept&lt;/i&gt; for each component or &lt;i&gt;Accept All&lt;/i&gt; before the download will proceed. After accepting the licenses you want, click the &lt;i&gt;Install&lt;/i&gt; button. It will display download progress.&lt;br /&gt;&lt;br /&gt;If you don't have ADB running (and you won't at this point, if this is a fresh install, because ADB is not part of the base distribution), you may see the message &amp;quot;'adb kill-server' failed -- run manually if necessary.&amp;quot; The installer attempts to kill the server because the server must be down for the install. This does not stop the installer.&lt;br /&gt;&lt;br /&gt;If you get the message, &amp;quot;A package that depends on ADB has been updated. Do you want to restart ADB now?&amp;quot; choose Yes.&lt;br /&gt;&lt;br /&gt;When the installation is complete, click Close to close the progress dialog box. Now if you choose &lt;i&gt;Installed packages&lt;/i&gt; from the left-hand menu, you will see a list of the components you just installed.&lt;br /&gt;&lt;h3&gt;Get the Eclipse IDE&lt;/h3&gt;&lt;br /&gt;It is not necessary to use Eclipse for Android development. You can use any IDE or other development tools you prefer. The course of least resistance is to use Eclipse, since that is what the Android team uses and all the tutorials and documentation assume you are using it, too. You can do everthing from the command line; there are no hard dependencies on Eclipse.&lt;br /&gt;&lt;br /&gt;1. Download the appropriate Eclipse distribution from &lt;a href="http://www.eclipse.org/" target="_blank"&gt;www.eclipse.org&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Eclipse is available preconfigured to support several common types of development. For Android development, you need only the most basic packaging of Eclipse. At the time I did this, it was called &amp;quot;Eclipse IDE for Java Developers.&amp;quot;&lt;br /&gt;&lt;br /&gt;2. Create home directory for Android-specific instance of Eclipse&lt;br /&gt;&lt;br /&gt;I prefer to have Eclipse configured separately for each project rather than to have a single instance loaded with every imaginable plug-in.g I created a directory named ~/.eclipse-android for this instance. &lt;br /&gt;&lt;br /&gt;3. Unpack the Eclipse distribution in its home directory.&lt;pre&gt;gunzip -c eclipse-java-helios-SR2-linux-gtk-x86_64.tar.gz | tar xopf -&lt;/pre&gt;This resulted in ~/.eclipse-android/eclipse/&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Install the Eclipse ADT plug-in&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;The documentation at &lt;a href="http://developer.android.com/sdk/eclipse-adt.html#installing" target="_blank"&gt;developer.android.com/sdk/eclipse-adt.html#installing&lt;/a&gt; is very clear and helpful.&lt;br /&gt;&lt;br /&gt;I started the new instance of Eclipse and created a workspace called android-sandbox to play in. I installed the ADT following the instructions at developer.android.com. This is a conventional Eclipse plug-in install, so I am not going to repeat all the steps here. One thing to note is that some of the content is unsigned, and you may see a warning message about that.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Configure the Eclipse ADT plug-in&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;For convenience, I created a symlink for to the Android development home directory in .profile:&lt;pre&gt;ln -s ~/.android/android-sdk-linux_x86 ~/.android-sdk&lt;/pre&gt;. This matches the default configuration of the ADT plug-in. To change it, in Eclipse go to Windows &amp;gt; Preferences, choose Android, and set the value of &lt;i&gt;SDK Location&lt;/i&gt;.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Create an Android Virtual Device&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;After installing the Eclipse ADT plug-in, you can run the Android SDK and AVD Manager from inside Eclipse. The plug-in adds a menu item to Eclipse's Window menu titled Android SDK and AVD Manager.&lt;br /&gt;&lt;br /&gt;Start the Manager. If this is a fresh installation, you will see the message &amp;quot;No AVD available.&amp;quot; Click &lt;i&gt;New&lt;/i&gt; to get the &amp;quot;Create New Android Virtual Device (AVD)&amp;quot; dialog. Enter anything you please as the Name (it doesn't like spaces in the name). &lt;br /&gt;&lt;br /&gt;The &lt;i&gt;Target&lt;/i&gt; drop-down will contain a list of the Android platforms you installed. Pick the one you want for the new AVD. &lt;br /&gt;&lt;br /&gt;Click &lt;i&gt;Create AVD&lt;/i&gt;.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Verify the installation&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;The simplest way to verify the installation is to create an Android project and see if you can build a simple app and run it on your AVD. &lt;br /&gt;&lt;br /&gt;The first indication of success is that the ADT options appear in Eclipse menus. Try File &amp;gt; New &amp;gt; Project and see if the Android entry appears in the list of project types.&lt;br /&gt;&lt;br /&gt;When you create an Android project in Eclipse, ADT gives you a skeletal Java file to start you off. This isn't runnable as is. I suggest following the &amp;quot;Hello World&amp;quot; tutorial at &lt;a href="http://developer.android.com/resources/tutorials/hello-world.html" target="_blank"&gt;developer.android.com/resources/tutorials/hello-world.html&lt;/a&gt;. &lt;br /&gt;&lt;br /&gt;Once you've got the Hello World code in place, you can run the app in the emulator from inside Eclipse by right-clicking the project entry in Package Explorer and choosing Run As &amp;gt; Android Application. &lt;br /&gt;&lt;br /&gt;A word of warning. The first time I ran my Hello World app from inside Eclipse, the emulator seemed to hang at a point before it loaded the app. Eventually it timed out, and complained that it could not load the app. However, the emulator itself finally started up. I could then run the app with no problems. If you see this behavior, it doesn't mean your app is configured wrong. The emulator just takes a long time to initialize itself. A &lt;i&gt;long&lt;/i&gt; time. Several minutes.&lt;br /&gt;&lt;br /&gt;If you eventually see the words &amp;quoto;Hello, Android&amp;quot; appear on the emulator screen, then your installation was successful. Good luck and have fun.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2011/06/ubuntu-1104-installation.html"&gt;Ubuntu 11.04 installation&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-5867516333020609092?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/5867516333020609092/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2011/03/installing-android-sdk-and-eclipse-adt.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/5867516333020609092'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/5867516333020609092'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2011/03/installing-android-sdk-and-eclipse-adt.html' title='Installing Android SDK and Eclipse ADT Plug-In'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-5247198245958543250</id><published>2010-11-14T18:59:00.002-05:00</published><updated>2011-03-12T10:55:08.984-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mp3'/><category scheme='http://www.blogger.com/atom/ns#' term='audio'/><category scheme='http://www.blogger.com/atom/ns#' term='rip'/><title type='text'>Ripping CDs on Ubuntu 10.04</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2010/11/candy-om-for-mongodb-and-ruby-fail.html"&gt;Candy OM for MongoDB and Ruby - FAIL&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;So, using RhythmBox to rip CDs seems to work (mostly), although it's excruciatingly slow. There's an additional annoyance, too, in that it gets confused after you've processed a few CDs (people have reported the problem after ripping between 2 and 6 CDs) and you have to restart it to get it working again. It turns out, as well, that just closing the application window doesn't really kill the darned thing. You have to go into System Monitor and shoot the background process in its sleep.&lt;br /&gt;&lt;br /&gt;I checked the Ubuntu community docs and found &lt;a href="https://help.ubuntu.com/community/CDRipping"&gt;a fair amount of information about CD ripping&lt;/a&gt;. &lt;br /&gt;&lt;br /&gt;Though there's a warning about a bug in LAME that causes problems for Sound Juicer, I gave Sound Juicer a try because there seem to be a lot of positive comments about it online. After installing the gstreamer libs needed for mp3 support, Sound Juicer consistently and silently died the instant I clicked the button to start the rip. Since this behavior does not result in any mp3 files, it doesn't quite meet my needs. I found a posting on a 2008 discussion list in which someone described exactly the same problem. No one had replied with a solution.&lt;br /&gt;&lt;br /&gt;Next up was RipperX, which managed to generate a few corrupted files before collapsing to the floor in a useless heap of bits.&lt;br /&gt;&lt;br /&gt;RubyRipper sounded promising, so I tried it. Despite notes to the contrary online, I was unable to find any way to tell RubyRipper that I wanted mp3 output instead of ogg output. It did a good job producing ogg files, though. For all I know, it can do mp3 too, in some mysterious way.&lt;br /&gt;&lt;br /&gt;Next I tried Asunder, another program listed on the Ubuntu site. This was simple to install, and didn't require any additional dependencies from off-the-beaten-path repositories or other tweaks:&lt;pre&gt;sudo apt-get install asunder&lt;/pre&gt;It has a simple UI that offers a short list of popular audio formats, including mp3. It can also go out to CDDB and look up album information. I found it easy to use, much faster than RhythmBox, and it generated playable mp3 files. A winner.&lt;br /&gt;&lt;br /&gt;Asunder has characteristics I appreciate in software: (1) It does just one job and does it well; (2) installation and use are intuitive enough that no user manual is needed; (3) it's packaged and distributed in a way that takes the technical burden off the end user. &lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2011/03/installing-android-sdk-and-eclipse-adt.html"&gt;Installing Android SDK and Eclipse ADT on Ubuntu 10.04&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-5247198245958543250?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/5247198245958543250/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2010/11/ripping-cds-on-ubuntu-1004.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/5247198245958543250'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/5247198245958543250'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2010/11/ripping-cds-on-ubuntu-1004.html' title='Ripping CDs on Ubuntu 10.04'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-4559305029801370531</id><published>2010-11-11T19:59:00.002-05:00</published><updated>2010-11-14T19:03:05.420-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='fail'/><category scheme='http://www.blogger.com/atom/ns#' term='mongodb'/><category scheme='http://www.blogger.com/atom/ns#' term='candy'/><title type='text'>Candy OM for MongoDB and ruby - FAIL</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2010/11/success-with-rvm-and-ruby-192.html"&gt;Success with rvm and ruby 1.9.2&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Installing &lt;a href="https://github.com/SFEley/candy"&gt;Candy&lt;/a&gt; and incorporating it with my experimental &lt;a href="http://www.sinatrarb.com/"&gt;Sinatra&lt;/a&gt; project consisted of doing an &lt;a href="http://rvm.beginrescueend.com/"&gt;rvm&lt;/a&gt; install:&lt;pre&gt;rvm gem install candy&lt;/pre&gt; and updating the Gemfile with &lt;pre&gt;gem "candy", :require =&gt; "candy"&lt;/pre&gt;Easy and clean.&lt;br /&gt;&lt;br /&gt;Unfortunately, I had no luck at all trying to run the basic Person class example given in the readme, or the Zagnut example, or indeed any other variations I attempted, whether standalone or integrated with the sinatra app. After about four hours of trying, I posted some encouragement on the &lt;a href="http://groups.google.com/group/candy-users"&gt;candy discussion forum&lt;/a&gt; and expressed the hope that it will become functional soon. I plan to check back in a couple of months to see if it's working yet. I hope the author will continue working on it, because it's a good concept. (To be fair, he &lt;i&gt;does&lt;/i&gt; warn that candy is in an alpha-alpha state.)&lt;br /&gt;&lt;br /&gt;Candy has, at least, provided the inspiration I needed to work through the difficulties I was having with installing rvm and ruby 1.9.2. Those bits are now installed and working well. For the moment, I think I'll try to keep going without an object mapper and see how tedious that proves to be. That's probably better for the purpose of learning MongoDB well, anyway. MongoDB has a pretty straightforward API, and it may be sufficient just to wrap persistence logic in a helper class. That way, if I decide to move to an object mapper it should be possible to replace the persistence logic without affecting the rest of the code.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2010/11/ripping-cds-on-ubuntu-1004.html"&gt;Ripping CDs on Ubuntu 10.04&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-4559305029801370531?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/4559305029801370531/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2010/11/candy-om-for-mongodb-and-ruby-fail.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/4559305029801370531'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/4559305029801370531'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2010/11/candy-om-for-mongodb-and-ruby-fail.html' title='Candy OM for MongoDB and ruby - FAIL'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-6240670340070121053</id><published>2010-11-11T16:50:00.003-05:00</published><updated>2010-11-11T20:03:28.248-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='rvm'/><category scheme='http://www.blogger.com/atom/ns#' term='ruby-1.9.2'/><title type='text'>Success with rvm and ruby 1.9.2</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2010/11/ruby-192-rvm-and-sinatra-follies.html"&gt;Ruby 1.9.2, rvm, and Sinatra follies&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;So, I've spent a couple of evenings playing with &lt;a href="http://www.sinatrarb.com/"&gt;Sinatra&lt;/a&gt; and &lt;a href="http://www.mongodb.org/"&gt;MongoDB&lt;/a&gt; under ruby 1.8.7. I've learned a bit and made progress in getting Sinatra apps to run on localhost. When I reached the point that I needed an object mapper, I read the descriptions of the ones listed on the MongoDB site. &lt;a href="http://railstips.org/blog/archives/2009/06/27/mongomapper-the-rad-mongo-wrapper/"&gt;MongoMapper&lt;/a&gt; looks really good; very well thought-out, very competently designed, very clean code. But another one, &lt;a href="https://github.com/SFEley/candy"&gt;Candy&lt;/a&gt;, stood out for me because instead of mimicking the approach of ActiveRecord, it explicitly and unapologetically takes advantage of the unique, very non-relational characteristics of MongoDB. &lt;br /&gt;&lt;br /&gt;Candy is relatively new code, and it requires ruby 1.9 as a baseline. That meant I had reached an appropriate point to re-try &lt;a href="http://rvm.beginrescueend.com/"&gt;rvm&lt;/a&gt; and &lt;a href="http://www.ruby-lang.org/en/news/2010/08/18/ruby-1-9-2-is-released/"&gt;ruby 1.9.2&lt;/a&gt;. &lt;br /&gt;&lt;br /&gt;Having installed rvm three times previously, making plenty of educational mistakes each time, I found the installation procedure easy and quick this time around. I left the system install of 1.8.7 in place, used rvm to install 1.9.2, and set 1.9.2 as the rvm default. &lt;br /&gt;&lt;br /&gt;Next step was to ensure existing ruby apps would work under 1.9.2. I started my local &lt;a href="http://instiki.org/show/HomePage"&gt;Instiki&lt;/a&gt; instance and got this message:&lt;pre&gt;Bundler couldn't find some gems.Did you run 'bundle install'?&lt;/pre&gt;I tried running 'bundle install' and got&lt;pre&gt;'report-activate-error': Could not find RubyGem bundler&lt;/pre&gt;So, I tried 'rvm gem install &lt;a href="http://gembundler.com/"&gt;bundler&lt;/a&gt;' and it worked. The 'bundle install' command then worked, too.&lt;br /&gt;&lt;br /&gt;At that point Instiki started up normally. So far, so good! (I use Instiki for general notes and record-keeping, so it's in the nature of a "production" system for me. Getting it up and running is always the first order of business when I upgrade ruby.)&lt;br /&gt;&lt;br /&gt;I changed to the directory where I've been playing with Sinatra and tried to start my test app. I have a Gemfile there, and when I ran 'bundle install' it appeared to download and install all the necessary gems under rvm. &lt;br /&gt;&lt;br /&gt;When running cukes, specs, and the app itself I got a number of errors pertaining to files not found on 'require'. All these errors were due to &lt;i&gt;require 'foo'&lt;/i&gt; instead of &lt;i&gt;require './foo'&lt;/i&gt;. I expected this, since ruby 1.9.2 does not include the current directory in the ruby load path by default. Once I fixed that on a single line in a single file, everything that had been working before was working again under ruby 1.9.2. Nice!&lt;br /&gt;&lt;br /&gt;I have some old side projects in rails that probably will not start. I'll get around to fixing them later. For now, I'm pleased to be up and running at last with rvm and ruby 1.9.2.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2010/11/candy-om-for-mongodb-and-ruby-fail.html"&gt;Candy OM for MongoDB and ruby - FAIL&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-6240670340070121053?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/6240670340070121053/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2010/11/success-with-rvm-and-ruby-192.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/6240670340070121053'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/6240670340070121053'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2010/11/success-with-rvm-and-ruby-192.html' title='Success with rvm and ruby 1.9.2'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-6730162396317554576</id><published>2010-11-10T17:43:00.008-05:00</published><updated>2010-11-11T16:53:45.668-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='fail'/><category scheme='http://www.blogger.com/atom/ns#' term='cucumber'/><category scheme='http://www.blogger.com/atom/ns#' term='rvm'/><category scheme='http://www.blogger.com/atom/ns#' term='sinatra'/><category scheme='http://www.blogger.com/atom/ns#' term='ruby-1.9.2'/><title type='text'>Ruby 1.9.2, rvm, and Sinatra follies</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2010/11/ubuntu-1004-upgrade-summary.html"&gt;Ubuntu 10.04 upgrade: Summary&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I recently &lt;a href="http://kotowanandesu.blogspot.com/2010/11/ubuntu-1004-upgrade-on-toshiba_8205.html"&gt;reported success&lt;/a&gt; with installing &lt;a href="http://rvm.beginrescueend.com/"&gt;Ruby Version Manager (rvm)&lt;/a&gt;. It appeared to install and function correctly; or at least it didn't report any errors. I was able to get my local Instiki up and running with no difficulty. &lt;br /&gt;&lt;br /&gt;I didn't do much with ruby since then, up until three days ago. I spent the next two evenings struggling to get things to work. Online resources are plentiful but unhelpful. It seems no one else has experienced the same issues as I have. That in itself suggests &lt;a href="http://www.urbandictionary.com/define.php?term=pibcak"&gt;pibcak&lt;/a&gt;. I readily admit to noob status, but unfortuantely that's not enough information to get things working again.&lt;br /&gt;&lt;br /&gt;In hindsight I would say I asked for trouble by trying to use three unfamiliar technologies at the same time: Ruby 1.9.2, rvm, and &lt;a href="https://github.com/sinatra/sinatra"&gt;Sinatra&lt;/a&gt;. I saw several bewildering behaviors whose root causes I was unable to pin down:&lt;ul&gt;&lt;li&gt;&lt;i&gt;require&lt;/i&gt; was sometimes able to locate gems and sometimes not; GEM_PATH was correct; I realized the current directory was no longer included in the ruby load path by default, and changed code accordingly; no luck.&lt;/li&gt;&lt;li&gt;It seemed as if public methods inherited by a subclass were treated as private methods at runtime.&lt;/li&gt;&lt;li&gt;In theory, you can write a Sinatra app file as a plain script and it will inherit from Sinatra::Application silently; alternatively, you can write the file as a ruby class that extends Sinatra::Base, and it will work the same. I found that with the former method, Sinatra recognized its routes and functioned as expected; when the main Sinatra app file was a ruby class, no routes were ever recognized. By the same token, cucumber and rspec only worked against a class file, and not against the plain script version of the same Sinatra file. So, I had a choice between being able to run cukes and specs, or being able to run the app.&lt;/li&gt;&lt;/ul&gt;I lacked the experience with these technologies to understand what was happening, or where the problem(s) were coming from.&lt;br /&gt;&lt;br /&gt;I decided to eliminate the suspects one by one. I removed rvm and all traces of ruby from my system and installed ruby 1.8.7 &lt;a href="http://kotowanandesu.blogspot.com/2010/04/installing-basic-ruby-support.html"&gt;the old-fashioned way&lt;/a&gt;, and got my little side projects up and running in that environment (as they had worked before). That gave me a baseline for exploring the new items, which I still want to learn about and use.&lt;br /&gt;&lt;br /&gt;I began my investigation with Sinatra, running it under the (to me) more-familiar ruby 1.8.7. I observed the same odd behavior regarding the main app file, and it became obvious at that point that the public/private issue had to do with Sinatra and not with ruby 1.9.2. It seems to have something to do with the way Sinatra inserts its magical code under the covers. &lt;br /&gt;&lt;br /&gt;I found a gem called &lt;a href="https://github.com/bernd/cucumber-sinatra"&gt;cucumber-sinatra&lt;/a&gt; that generates a skeleton directory structure and an env.rb file tailored to work with Sinatra. Rather than trying to write my own env.rb from scratch, as I had been doing, I let cucumber-sinatra do its thing. Still no luck: It was either run the app or run the cukes, but not both.&lt;br /&gt;&lt;br /&gt;The env.rb file generated by cucumber-sinatra looked like this:&lt;pre&gt;# Generated by cucumber-sinatra. (Wed Nov 10 16:38:55 -0500 2010)&lt;br /&gt;ENV['RACK_ENV'] = 'test'&lt;br /&gt;&lt;br /&gt;require File.join(File.dirname(__FILE__), '..', '..', 'lib/my_app.rb')&lt;br /&gt;require 'capybara'&lt;br /&gt;require 'capybara/cucumber'&lt;br /&gt;require 'rspec'&lt;br /&gt;&lt;br /&gt;Capybara.app = MyApp&lt;br /&gt;&lt;br /&gt;class MyAppWorld&lt;br /&gt;  include Capybara&lt;br /&gt;  include RSpec::Expectations&lt;br /&gt;  include RSpec::Matchers&lt;br /&gt;end&lt;br /&gt;&lt;br /&gt;World do&lt;br /&gt;  MyAppWorld.new&lt;br /&gt;end&lt;/pre&gt;This still had the same odd behavior regarding inherited public methods. I was getting better at using Gemfile and bundle, but was no closer to having a usable environment. I found &lt;a href="app_file = File.join(File.dirname(__FILE__), *%w[.. .. app.rb])&lt;br /&gt;require app_file&lt;br /&gt;# Force the application name because polyglot breaks the auto-detection logic.&lt;br /&gt;Sinatra::Application.app_file = app_file&lt;br /&gt;&lt;br /&gt;require 'rspec/expectations'&lt;br /&gt;require 'rack/test'&lt;br /&gt;require 'webrat'&lt;br /&gt;&lt;br /&gt;Webrat.configure do |config|&lt;br /&gt;  config.mode = :rack&lt;br /&gt;end&lt;br /&gt;&lt;br /&gt;class MyWorld&lt;br /&gt;  include Rack::Test::Methods&lt;br /&gt;  include Webrat::Methods&lt;br /&gt;  include Webrat::Matchers&lt;br /&gt;&lt;br /&gt;  Webrat::Methods.delegate_to_session :response_code, :response_body&lt;br /&gt;&lt;br /&gt;  def app&lt;br /&gt;    Sinatra::Application&lt;br /&gt;  end&lt;br /&gt;end&lt;br /&gt;&lt;br /&gt;"&gt;a github page by Aslak Hellesoy&lt;/a&gt; that had a slightly different sample env.rb file for cucumber-sinatra. It looked like this:&lt;pre&gt;app_file = File.join(File.dirname(__FILE__), *%w[.. .. app.rb])&lt;br /&gt;require app_file&lt;br /&gt;# Force the application name because polyglot breaks the auto-detection logic.&lt;br /&gt;Sinatra::Application.app_file = app_file&lt;br /&gt;&lt;br /&gt;require 'rspec/expectations'&lt;br /&gt;require 'rack/test'&lt;br /&gt;require 'webrat'&lt;br /&gt;&lt;br /&gt;Webrat.configure do |config|&lt;br /&gt;  config.mode = :rack&lt;br /&gt;end&lt;br /&gt;&lt;br /&gt;class MyWorld&lt;br /&gt;  include Rack::Test::Methods&lt;br /&gt;  include Webrat::Methods&lt;br /&gt;  include Webrat::Matchers&lt;br /&gt;&lt;br /&gt;  Webrat::Methods.delegate_to_session :response_code, :response_body&lt;br /&gt;&lt;br /&gt;  def app&lt;br /&gt;    Sinatra::Application&lt;br /&gt;  end&lt;br /&gt;end&lt;br /&gt;&lt;br /&gt;World{MyWorld.new}&lt;br /&gt;&lt;/pre&gt;All that "app_file" business near the top of the file pertains to the plain script style of a Sinatra app file; that is, &lt;i&gt;not&lt;/i&gt; a subclass of Sinatra::Base. I was happy to see the example because it suggested a way to set things up such that both cucumber and a web server could understand the file. Using this as an example, I set up an env.rb file for a small test app like this:&lt;pre&gt;ENV['RACK_ENV'] = 'test'&lt;br /&gt;app_file = File.join(File.dirname(__FILE__), '..', '..', 'lib/my_app.rb')&lt;br /&gt;require app_file&lt;br /&gt;&lt;br /&gt;Sinatra::Application.app_file = app_file &lt;br /&gt;&lt;br /&gt;require 'rspec/expectations'&lt;br /&gt;require 'rack/test'&lt;br /&gt;require 'webrat'&lt;br /&gt;&lt;br /&gt;Webrat.configure do |config|&lt;br /&gt;  config.mode = :rack&lt;br /&gt;end&lt;br /&gt;&lt;br /&gt;class MyWorld&lt;br /&gt;  include Rack::Test::Methods&lt;br /&gt;  include Webrat::Methods&lt;br /&gt;  include Webrat::Matchers&lt;br /&gt;&lt;br /&gt;  Webrat::Methods.delegate_to_session :response_code, :response_body&lt;br /&gt;&lt;br /&gt;  def app&lt;br /&gt;    Sinatra::Application&lt;br /&gt;  end&lt;br /&gt;end&lt;br /&gt;&lt;br /&gt;World{MyWorld.new}&lt;/pre&gt;With this env.rb file, I can run&lt;pre&gt;bundle exec cucumber features&lt;/pre&gt; and I can run the app in a web browser. I'm not crazy about it and I don't fully understand how it works, but at least it works and I can proceed with development while gradually learning more about Sinatra.&lt;br /&gt;&lt;br /&gt;I posted a question on Twitter about these problems, and three people offered help. But they're not at my beck and call, and I need to learn about these things anyway. &lt;br /&gt;&lt;br /&gt;Now that I have a working ruby 1.8.7 environment again, my next step will be to install rvm and bring up a 1.8.7 environment, then to ensure everything that's working now works the same way in that environment. That will give me a basis to explore ruby 1.9.2 with a bit more clarity about where the differences lie. Once I get rvm working properly, I can install 1.9.2 under its control without losing my functional 1.8.7 environment. All good; but it will take this noob some time to get there.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2010/11/success-with-rvm-and-ruby-192.html"&gt;Success with rvm and ruby 1.9.2&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-6730162396317554576?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/6730162396317554576/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2010/11/ruby-192-rvm-and-sinatra-follies.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/6730162396317554576'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/6730162396317554576'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2010/11/ruby-192-rvm-and-sinatra-follies.html' title='Ruby 1.9.2, rvm, and Sinatra follies'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-8253735908008274420</id><published>2010-11-08T18:25:00.011-05:00</published><updated>2010-11-11T18:12:02.446-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='Toshiba'/><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='upgrade'/><category scheme='http://www.blogger.com/atom/ns#' term='openoffice'/><category scheme='http://www.blogger.com/atom/ns#' term='10.04'/><title type='text'>Ubuntu 10.04 upgrade: Summary</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2010/11/ubuntu-1004-upgrade-on-toshiba_03.html"&gt;Ubuntu 10.04 upgrade on Toshiba Satellite: TrueType fonts &amp;amp; VSM font&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I had no problems following the basic installation procedure guided by the installation disk. Differences I noticed:&lt;ol&gt;&lt;br /&gt;&lt;li&gt;9.04 did not recognize the integrated Bluetooth adapter in my Toshiba Satellite laptop. 10.04 also does not recognize it.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;9.04 did not wake up from sleep after I closed the lid on the laptop. 10.04 works properly.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;9.04 did not shut down the computer on shutdown, and did not restart Ubuntu on restart. 10.04 works properly.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;9.04 supported the internal microphone on my laptop. 10.04 does not support the internal microphone. I found a bug report here: &lt;a href="https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/584051"&gt;https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/584051&lt;/a&gt; and it appears as if the bug is not considered important. I bought an inexpensive headset and found that 10.04 works fine with the external microphone.&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;The biggest change is that Ubuntu no longer comes with a pre-installed Java JDK. The official JDK from Oracle is available from the Canonical partner repository. Since it is no longer free software (in the &lt;a href="http://www.fsf.org/"&gt;FSF&lt;/a&gt; sense), it cannot be part of the basic Ubuntu multiverse. The Ubuntu community recommends Open JDK, but I installed the Oracle version. No doubt the day is coming when I will switch. Same sort of thing applies to OpenOffice and MySQL. Free alternatives exist for both.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2010/11/ruby-192-rvm-and-sinatra-follies.html"&gt;Ruby 1.9.2, rvm, and Sinatra follies&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-8253735908008274420?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/8253735908008274420/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2010/11/ubuntu-1004-upgrade-summary.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/8253735908008274420'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/8253735908008274420'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2010/11/ubuntu-1004-upgrade-summary.html' title='Ubuntu 10.04 upgrade: Summary'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-4505302732993455613</id><published>2010-11-03T17:12:00.003-04:00</published><updated>2010-11-08T18:33:18.502-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Toshiba'/><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='fonts'/><category scheme='http://www.blogger.com/atom/ns#' term='vsm'/><category scheme='http://www.blogger.com/atom/ns#' term='64-bit'/><category scheme='http://www.blogger.com/atom/ns#' term='truetype'/><category scheme='http://www.blogger.com/atom/ns#' term='lucid'/><title type='text'>Ubuntu 10.04 upgrade on Toshiba Satellite: TrueType fonts &amp; VSM font</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2010/11/ubuntu-1004-upgrade-on-toshiba_6245.html"&gt;Ubuntu 10.04 upgrade on Toshiba Satellite: Instiki wiki&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;To install some favorite TrueType fonts, I installed the basic TT font package:&lt;pre&gt;sudo apt-get install msttcorefonts&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;To install the very handy Value Stream Mapping font from &lt;a href="http://www.ambor.com/"&gt;Ambor&lt;/a&gt;, I followed the procedure documented in &lt;a href="http://kotowanandesu.blogspot.com/2009/09/value-stream-mapping-font.html"&gt;this blog entry&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2010/11/ubuntu-1004-upgrade-summary.html"&gt;Ubuntu 10.04 upgrade: Summary&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-4505302732993455613?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/4505302732993455613/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2010/11/ubuntu-1004-upgrade-on-toshiba_03.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/4505302732993455613'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/4505302732993455613'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2010/11/ubuntu-1004-upgrade-on-toshiba_03.html' title='Ubuntu 10.04 upgrade on Toshiba Satellite: TrueType fonts &amp; VSM font'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-1833805522540668197</id><published>2010-11-02T22:25:00.007-04:00</published><updated>2010-11-03T17:14:49.384-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Toshiba'/><category scheme='http://www.blogger.com/atom/ns#' term='wiki'/><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='64-bit'/><category scheme='http://www.blogger.com/atom/ns#' term='instiki'/><category scheme='http://www.blogger.com/atom/ns#' term='10.04'/><title type='text'>Ubuntu 10.04 upgrade on Toshiba Satellite: Instiki wiki</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2010/11/ubuntu-1004-upgrade-on-toshiba_8205.html"&gt;Ubuntu 10.04 upgrade on Toshiba Satellite: Ruby Version Manager&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Recent practice migrating my wiki on the Acer netbook made the process go smoothly on the Toshiba. &lt;br /&gt;&lt;br /&gt;First step was to install prerequisites::&lt;pre&gt;sudo apt-get install&lt;br /&gt;    libxml2-dev&lt;br /&gt;    libxslt1-dev&lt;br /&gt;    sqlite3&lt;br /&gt;    libsqlite3-dev&lt;br /&gt;gem install sqlite3-ruby&lt;/pre&gt;Then, I downloaded the latest Instiki from &lt;a href="http://instiki.org/"&gt;http://instiki.org/&lt;/a&gt; and unpacked the tarball. I copied the instiki directory to /home and renamed it .wiki. Next, I changed to the .wiki directory and ran &lt;pre&gt;ruby bundle&lt;/pre&gt;Finally, I renamed the installed db and public directories to db-shipped and public-shipped, and copied the db and public directories from my wiki backup. Instiki came up clean the first time.&lt;br /&gt;&lt;br /&gt;Now to get my wiki startup and shutdown scripts working. I copied the icon, instiki.png, to the new .wiki directory. Created a .bin directory in /home and copied the wiki and wiki_stop scripts there. The new directory structure was different, so I edited the scripts accordingly. &lt;br /&gt;&lt;br /&gt;My shutdown script didn't work, and after some experimentation I realized that instiki startup is a bit different than it used to be. Previously, it printed the pid to stderr, and I picked it up with awk to generate a shutdown script on the fly. This version of Instiki appears not to do that, so I need to work out another way to handle shutdown nicely. Not worth pursuing at the moment.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2010/11/ubuntu-1004-upgrade-on-toshiba_03.html"&gt;Ubuntu 10.04 upgrade on Toshiba Satellite: TrueType fonts &amp; VSM font&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-1833805522540668197?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/1833805522540668197/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2010/11/ubuntu-1004-upgrade-on-toshiba_6245.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/1833805522540668197'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/1833805522540668197'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2010/11/ubuntu-1004-upgrade-on-toshiba_6245.html' title='Ubuntu 10.04 upgrade on Toshiba Satellite: Instiki wiki'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-1899972139109513335</id><published>2010-11-02T21:45:00.008-04:00</published><updated>2011-06-25T09:37:51.583-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='Toshiba'/><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='64-bit'/><category scheme='http://www.blogger.com/atom/ns#' term='rvm'/><category scheme='http://www.blogger.com/atom/ns#' term='lucid'/><category scheme='http://www.blogger.com/atom/ns#' term='10.04'/><title type='text'>Ubuntu 10.04 upgrade on Toshiba Satellite: Ruby Version Manager</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2010/11/ubuntu-1004-upgrade-on-toshiba_9198.html"&gt;Ubuntu 10.04 upgrade on Toshiba Satellite: Skype&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Installation of rvm went pretty smoothly after the practice I got installing it on the Acer netbook. First step was to install prerequisites:&lt;pre&gt;sudo apt-get install&lt;br /&gt;    curl&lt;br /&gt;    git-core&lt;br /&gt;    build-essential&lt;br /&gt;    zlib1g-dev&lt;br /&gt;    libssl-dev&lt;br /&gt;    libreadline5-dev&lt;/pre&gt;Next step was to run curl to do the basic install of rvm:&lt;pre&gt;bash &amp;lt; &amp;lt;( curl http://rvm.beginrescueend.com/releases/rvm-install-head )&lt;/pre&gt;Then I edited .bashrc and commented out the line&lt;pre&gt;[ -z "$PS1" ] &amp;&amp; return&lt;/pre&gt;I noticed I had made a mistake when adding the source line to .bashrc on the Acer. The line &lt;i&gt;should&lt;/i&gt; be&lt;pre&gt;[[ -s "$HOME/.rvm/scripts/rvm" ]] &amp;&amp; source "$HOME/.rvm/scripts/rvm"&lt;/pre&gt;After that, I executed .bashrc like this&lt;pre&gt;. ./.bashrc&lt;/pre&gt;and when I ran &lt;pre&gt;type rvm | head -n1&lt;/pre&gt;I got the response&lt;pre&gt;rvm is a function&lt;/pre&gt;just as the original instructions said to expect. &lt;br /&gt;&lt;br /&gt;Next I ran&lt;pre&gt;rvm install 1.9.2&lt;/pre&gt;and it downloaded and installed ruby 1.9.2 and rubygems 1.3.7. &lt;br /&gt;&lt;br /&gt;At this point ruby -v said &amp;quot;The program 'ruby' is currently not installed&amp;quot;. After I ran&lt;pre&gt;rvm --default 1.9.2&lt;/pre&gt;then ruby -v said &amp;quot;ruby 1.9.2p0...&amp;quot; and gem -v said &amp;quot;1.3.7&amp;quot;.&lt;br /&gt;&lt;br /&gt;I uncommented the line&lt;pre&gt;[ -z "$PS1" ] &amp;&amp; return&lt;/pre&gt;in .bashrc to see if my guess was right about reinstating it after rvm had been used once. I closed the Terminal window and opened a new one, and ruby -v still worked. I logged out and in again, and ruby -v still worked. &lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2010/11/ubuntu-1004-upgrade-on-toshiba_6245.html"&gt;Ubuntu 10.04 upgrade on Toshiba Satellite: Instiki wiki&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-1899972139109513335?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/1899972139109513335/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2010/11/ubuntu-1004-upgrade-on-toshiba_8205.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/1899972139109513335'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/1899972139109513335'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2010/11/ubuntu-1004-upgrade-on-toshiba_8205.html' title='Ubuntu 10.04 upgrade on Toshiba Satellite: Ruby Version Manager'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-7738911356490839520</id><published>2010-11-02T19:54:00.013-04:00</published><updated>2010-11-02T22:03:18.928-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Toshiba'/><category scheme='http://www.blogger.com/atom/ns#' term='skype'/><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='fail'/><category scheme='http://www.blogger.com/atom/ns#' term='64-bit'/><category scheme='http://www.blogger.com/atom/ns#' term='microphone'/><category scheme='http://www.blogger.com/atom/ns#' term='bug'/><category scheme='http://www.blogger.com/atom/ns#' term='alsa'/><category scheme='http://www.blogger.com/atom/ns#' term='lucid'/><category scheme='http://www.blogger.com/atom/ns#' term='10.04'/><title type='text'>Ubuntu 10.04 upgrade on Toshiba Satellite: Skype</title><content type='html'>&lt;a href="http://kotowanandesu.blogspot.com/2010/11/ubuntu-1004-upgrade-on-toshiba_02.html"&gt;Ubuntu 10.04 upgrade on Toshiba Satellite: Adobe Flash Player&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The last time I checked, there was no 64-bit Skype client for Linux. On &lt;a href="http://www.skype.com/intl/en-us/get-skype/on-your-computer/linux/"&gt;http://www.skype.com/intl/en-us/get-skype/on-your-computer/linux/&lt;/a&gt; I found a beta version available, and they showed a 64-bit version available. I downloaded it to give it a try.&lt;br /&gt;&lt;br /&gt;No instructions were provided, but I saw by the filename that it was a .deb file. Fellow noobs might recall that Ubuntu is descended from Debian, so we can use Debian utilities on Ubuntu. In Terminal, I ran the following command:&lt;pre&gt;sudo dpkg -i skype-ubuntu-intrepid_2.1.0.81-1_amd64.deb&lt;/pre&gt;The installer complained of missing dependencies. I tried apt-get install on the exact names of packages the installer listed:&lt;pre&gt;sudo apt-get install&lt;br /&gt;    lib32stdc++6&lt;br /&gt;    lib32asound2&lt;br /&gt;    ia32-libs&lt;br /&gt;    libc6-i386&lt;br /&gt;    lib32gcc1&lt;/pre&gt;Ubuntu could find no installation candidate for any of these packages. &lt;br /&gt;&lt;br /&gt;An Internet search brought me to &lt;a href="http://blog.mypapit.net/2007/06/how-to-install-skype-on-ubuntu.html"&gt;http://blog.mypapit.net/2007/06/how-to-install-skype-on-ubuntu.html&lt;/a&gt;, which mentioned adding deb http://download.skype.com/linux/repos/debian/ stable non-free to Synaptic Package Manager.&lt;br /&gt;&lt;br /&gt;I made a backup of /etc/apt/sources/list&lt;pre&gt;cd /etc/apt&lt;br /&gt;sudo cp sources.list sources.list.backup&lt;/pre&gt;and edited the file, adding the repository at the end.&lt;br /&gt;&lt;br /&gt;When I tried the apt-get install command above, everything was found except list32stdc++6. Another Internet search took me to &lt;a href="http://ubuntuforums.org/showthread.php?t=1457771"&gt;http://ubuntuforums.org/showthread.php?t=1457771&lt;/a&gt;, where someone had reported a similar problem and later posted that an update had fixed it. I tried&lt;pre&gt;sudo apt-get update&lt;/pre&gt;but the update complained that it could not find http://download.skype.com/linux/repos/debian/dists/stable/non-free/binary-amd64/Packages.gz.&lt;br /&gt;&lt;br /&gt;I went back into /etc/apt/sources.list and commented out the line for that repository, then tried the update again. No complaints, so I tried&lt;pre&gt;sudo apt-get install lib32stdc++6&lt;/pre&gt;This time it complained about unmet dependencies, and suggested running this:&lt;pre&gt;sudo apt-get -f install&lt;/pre&gt;This did quite a lot, including installing or updating all the dependencies the dpkg command had complained about. It took a while.&lt;br /&gt;&lt;br /&gt;To my surprise, it installed the Skype client as well. I called my wife, and she could see me but not hear me. I could see and hear her. We were unable to resolve the problem. Afterwards, I browsed the Internet and eventually found a bug report at &lt;a href="https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/584051"&gt;https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/584051&lt;/a&gt; that said the internal microphone on Toshiba Satellite laptops doesn't work under Ubuntu 10.04 due to a bug in the alsa driver. It's low priority and they may or may not fix it. Other postings online suggest an external microphone will work. I might try that later.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://kotowanandesu.blogspot.com/2010/11/ubuntu-1004-upgrade-on-toshiba_8205.html"&gt;Ubuntu 10.04 upgrade on Toshiba Satellite: Ruby Version Manager&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-7738911356490839520?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/7738911356490839520/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2010/11/ubuntu-1004-upgrade-on-toshiba_9198.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/7738911356490839520'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/7738911356490839520'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2010/11/ubuntu-1004-upgrade-on-toshiba_9198.html' title='Ubuntu 10.04 upgrade on Toshiba Satellite: Skype'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-7375303737198257714</id><published>2010-11-02T19:41:00.006-04:00</published><updated>2010-11-08T18:22:18.060-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='firefox'/><category scheme='http://www.blogger.com/atom/ns#' term='Toshiba'/><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='64-bit'/><category scheme='http://www.blogger.com/atom/ns#' term='lucid'/><category scheme='http://www.blogger.com/atom/ns#' term='flash'/><category scheme='http://www.blogger.com/atom/ns#' term='10.04'/><title type='text'>Ubuntu 10.04 upgrade on Toshiba Satellite: Adobe Flash Player</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2010/11/ubuntu-1004-upgrade-on-toshiba.html"&gt;Ubuntu 10.04 upgrade on Toshiba Satellite: Prep and basic install&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;At the time of this installation, Adobe Flash Player for 64-bit Linux systems was still in a preview release. I went to &lt;a href="http://labs.adobe.com/downloads/flashplayer10.html"&gt;http://labs.adobe.com/downloads/flashplayer10.html&lt;/a&gt; and downloaded the tarball for Linux. No installation instructions were provided.&lt;br /&gt;&lt;br /&gt;When I unpacked the tarball, I found it contained a single file: libflashplayer.so. The filename jogged my memory, and I looked on this blog for previous notes about installing a non-production version of Flash Player with Firefox. I found it in &lt;a href="http://kotowanandesu.blogspot.com/2010/04/restoring-firefox-personalization-after.html"&gt;this blog entry&lt;/a&gt;, and copied libflashplayer.so to /usr/lib/mozilla/plugins and restarted Firefox.&lt;br /&gt;&lt;br /&gt;Gold!&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2010/11/ubuntu-1004-upgrade-on-toshiba_9198.html"&gt;Ubuntu 10.04 upgrade on Toshiba Satellite: Skype&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-7375303737198257714?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/7375303737198257714/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2010/11/ubuntu-1004-upgrade-on-toshiba_02.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/7375303737198257714'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/7375303737198257714'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2010/11/ubuntu-1004-upgrade-on-toshiba_02.html' title='Ubuntu 10.04 upgrade on Toshiba Satellite: Adobe Flash Player'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-3648282112044514205</id><published>2010-11-02T19:19:00.006-04:00</published><updated>2010-11-02T19:51:55.915-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='firefox'/><category scheme='http://www.blogger.com/atom/ns#' term='Toshiba'/><category scheme='http://www.blogger.com/atom/ns#' term='bluetooth'/><category scheme='http://www.blogger.com/atom/ns#' term='xmarks'/><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='partitions'/><category scheme='http://www.blogger.com/atom/ns#' term='64-bit'/><category scheme='http://www.blogger.com/atom/ns#' term='lucid'/><category scheme='http://www.blogger.com/atom/ns#' term='openoffice'/><category scheme='http://www.blogger.com/atom/ns#' term='10.04'/><title type='text'>Ubuntu 10.04 upgrade on Toshiba Satellite: Prep and basic install</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2010/11/ubuntu-1004-upgrade-on-acer-netbook_02.html"&gt;Ubuntu 10.04 upgrade on Acer netbook: Instiki migration&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The &amp;quot;upgrade&amp;quot; consisted of a fresh install of Ubuntu 10.04. To prepare for the install, I did the following:&lt;ol&gt;&lt;li&gt;Cleaned up files and directories.&lt;/li&gt;&lt;li&gt;Moved Gnome .desktop files for certain apps from /usr/share/applications to ~/.local/share/applications.&lt;/li&gt;&lt;li&gt;Backed up my /home and /usr directories to an external hard drive&lt;/li&gt;&lt;/ol&gt;I learned a couple of lessons in the past few months of using Ubuntu. First, I learned that it's possible to define .desktop files under one's home directory. I moved some of these so that they could be backed up and restored with my /home directory. I also learned that there's no particular benefit in a separate partition for /usr.&lt;br /&gt;&lt;br /&gt;Before committing to the new release, I ran 10.04 from the installation disk without doing the actual install. I was pleased to see that the 5100 AGN wireless adapter was supported. Everything looked okay to go forward with the installation.&lt;br /&gt;&lt;br /&gt;Based on lessons learned, I defined partitions as follows:&lt;pre&gt;ext4    30.0 GB    /        /dev/sda1&lt;br /&gt;ext4   362 GB    /home    /dev/sda6&lt;br /&gt;swap     8 GB             /dev/sda5&lt;/pre&gt;The installation went smoothly. I restored /home from the backup.&lt;br /&gt;&lt;br /&gt;I checked to see if 10.04 might support the integrated Bluetooth adapter in the laptop, but unfortunately it does not. &lt;br /&gt;&lt;br /&gt;I opened a presentation file that contains images to see whether the bug related to hardware graphics acceleration had been fixed in OpenOffice 3.2. Yes!&lt;br /&gt;&lt;br /&gt;I opened Firefox and saw that it is now branded as Firefox instead of Shiretoko. Good! I went to &lt;a href="http://www.xmarks.com"&gt;http://www.xmarks.com&lt;/a&gt; and installed the plug-in, then synced my bookmarks. &lt;br /&gt;&lt;br /&gt;On the local system, I went to System -&gt; Preferences -&gt; Appearance and changed the Theme to &lt;i&gt;Radiance&lt;/i&gt;.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2010/11/ubuntu-1004-upgrade-on-toshiba_02.html"&gt;Ubuntu 10.04 upgrade on Acer netbook: Adobe Flash Player&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-3648282112044514205?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/3648282112044514205/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2010/11/ubuntu-1004-upgrade-on-toshiba.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/3648282112044514205'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/3648282112044514205'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2010/11/ubuntu-1004-upgrade-on-toshiba.html' title='Ubuntu 10.04 upgrade on Toshiba Satellite: Prep and basic install'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-9070889309402201640</id><published>2010-11-02T06:55:00.003-04:00</published><updated>2010-11-02T19:39:05.971-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='wiki'/><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='instiki'/><category scheme='http://www.blogger.com/atom/ns#' term='lucid'/><category scheme='http://www.blogger.com/atom/ns#' term='10.04'/><title type='text'>Ubuntu 10.04 upgrade on Acer netbook: Instiki migration</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2010/11/ubuntu-1004-upgrade-on-acer-netbook_1840.html"&gt;Ubuntu 10.04 upgrade on Acer netbook: Ruby Version Manager and Ruby 1.9.2&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;One final check on the Acer before attempting this install on the Toshiba: Will my local Instiki wiki run under ruby 1.9.2? &lt;br /&gt;&lt;br /&gt;First, I installed the usual prerequisites:&lt;pre&gt;sudo apt-get install&lt;br /&gt;    libxml2-dev&lt;br /&gt;    libxslt1-dev&lt;br /&gt;    sqlite3&lt;br /&gt;    libsqlite3-dev&lt;br /&gt;gem install sqlite3-ruby&lt;/pre&gt;Then, I downloaded the latest Instiki from &lt;a href="http://instiki.org/"&gt;http://instiki.org/&lt;/a&gt; and unpacked the tarball. &lt;br /&gt;&lt;br /&gt;When I started Instiki, it complained:&lt;pre&gt;Bundler couldn't find some gems. Did you run 'bundle install'?&lt;/pre&gt;This hasn't happened before in my experience, so I assume it has something to do with running ruby under rvm vs. running it native.&lt;br /&gt;&lt;br /&gt;I did an Internet search for 'instiki bundle install' and found useful information at &lt;a href="http://golem.ph.utexas.edu/wiki/instiki/show/installation"&gt;http://golem.ph.utexas.edu/wiki/instiki/show/installation&lt;/a&gt;. After reading that information, I thought I had everything in place to run the bundle command, so I ran it from the instiki root directory:&lt;pre&gt;ruby bundle&lt;/pre&gt;No complaints, so I started Instiki and it came up clean. &lt;br /&gt;&lt;br /&gt;I shut down Instiki and copied the 'public' and 'db' directories from my old wiki (still on the Toshiba) to the one just installed on the Acer. This was sort of a risky short-cut, since I didn't follow any of the instructions for migrating the database. When I started Instiki, it came up clean. Apparently there have been no changes to the basic database structure since the last release. (Whew!)&lt;br /&gt;&lt;br /&gt;I noticed that they've added a 'Skip the navigation links' link as the first link in the navigation bar of Instiki. That's a nice accessibility feature and a convenience for anyone who prefers the keyboard to the mouse. Kudos.&lt;br /&gt;&lt;br /&gt;At this point, it looked as if Ubuntu 10.04 was okay for the Acer. &lt;br /&gt;&lt;br /&gt;(Actually, Ubuntu has been more than just 'okay' for the Acer. IMHO it's a very good environment for a netbook. It's functional, simple, clean, relatively safe, and supports all the usual social networking tools. OpenOffice provides the tools I need to make presentations and so forth when on the road. A $200 machine with a free operating system and all the applications I need ... ideal for the purpose.)&lt;br /&gt;&lt;br /&gt;Open questions about how 10.04 would run on the 64-bit Toshiba and whether it would support the wireless adapter could only be answered by installing it on that machine. Installing typical development tools should be no different on either machine, and since I don't use the Acer for development there was no value in going any further with those installs.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2010/11/ubuntu-1004-upgrade-on-toshiba.html"&gt;Ubuntu 10.04 upgrade on Toshiba Satellite: Prep and basic install&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-9070889309402201640?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/9070889309402201640/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2010/11/ubuntu-1004-upgrade-on-acer-netbook_02.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/9070889309402201640'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/9070889309402201640'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2010/11/ubuntu-1004-upgrade-on-acer-netbook_02.html' title='Ubuntu 10.04 upgrade on Acer netbook: Instiki migration'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-7479145440051860435</id><published>2010-11-01T21:55:00.003-04:00</published><updated>2010-11-02T06:59:22.447-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='rvm'/><category scheme='http://www.blogger.com/atom/ns#' term='acer'/><category scheme='http://www.blogger.com/atom/ns#' term='lucid'/><category scheme='http://www.blogger.com/atom/ns#' term='10.04'/><title type='text'>Ubuntu 10.04 upgrade on Acer netbook: Ruby Version Manager and Ruby 1.9.2</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2010/11/ubuntu-1004-upgrade-on-acer-netbook_01.html"&gt;Ubuntu 10.04 upgrade on Acer netbook: Adobe Flash Player&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The things I had done so far on the Acer did not tell me much about how 10.04 would play on the Toshiba. I was leery of 5100 AGN support, and the Adobe Flash Player for 64-bit Linux was still in a pre-release state. &lt;br /&gt;&lt;br /&gt;Installing software development tools ought to be less problematic than all that. I found that many people were singing the praises of Ruby Version Manager (rvm). It gives you the ability to run multiple releases of ruby on the same machine without having to uninstall and install different releases. It &lt;i&gt;sounded&lt;/i&gt; useful, and most of the comments online were very positive. &lt;br /&gt;&lt;br /&gt;Following advice on &lt;a href="http://web2linux.com/installing-rails-3-on-ubuntu-10-04-lucid-lynx/"&gt;http://web2linux.com/installing-rails-3-on-ubuntu-10-04-lucid-lynx/&lt;/a&gt;, I began by installing prerequisites to rvm and ruby:&lt;pre&gt;apt-get install&lt;br /&gt;    curl&lt;br /&gt;    git-core&lt;br /&gt;    build-essential&lt;br /&gt;    zlib1g-dev&lt;br /&gt;    libssl-dev&lt;br /&gt;    libreadline5-dev&lt;/pre&gt;I then proceeded to make a series of noob mistakes, and after cleaning off various partial and incorrect installs, this is how I got rvm working. The official installation instructions at &lt;a href="http://rvm.beginrescueend.com/rvm/install/"&gt;http://rvm.beginrescueend.com/rvm/install/&lt;/a&gt; are pretty good, but are not exactly right. &lt;br /&gt;&lt;br /&gt;The installation instructions mention three options &amp;mdash; install as user, install as root, and system-wide install. I wanted to install as user so that everything would be under /home. That makes it easier to upgrade Ubuntu, since I can restore /home from a backup after doing the basic install. That was my plan for the Toshiba, anyway. For the Acer, I just blew everything away and installed fresh.&lt;br /&gt;&lt;br /&gt;First step was to use curl to get the latest version of rvm from head:&lt;pre&gt;bash &amp;lt; &amp;lt;( curl http://rvm.beginrescueend.com/releases/rvm-install-head )&lt;/pre&gt;This step appeared to work. The author, Wayne Seguin, kindly included the following advice in the console output: &amp;quot;Be sure to get head often as rvm development happens fast.&amp;quot; Sound advice.&lt;br /&gt;&lt;br /&gt;They suggest running&lt;pre&gt;rvm notes&lt;/pre&gt;&lt;i&gt;to install dependencies&lt;/i&gt;, but in fact it only displays a description of dependencies. &lt;br /&gt;&lt;br /&gt;They say you must not have any returns in .bashrc. They specifically call out a line in Unbuntu's .bashrc:&lt;pre&gt;[ -z "$PS1" ] &amp;&amp; return&lt;/pre&gt;and they recommend wrapping this in an if structure so that rvm will work correctly. I found that after completing the rest of the installation steps, rvm never worked. It turned out that this change is required &lt;i&gt;only for the installation process&lt;/i&gt;, and once rvm has been installed you should reinstate the original statement. I changed it to&lt;pre&gt;if [[ -n "$PS1" ]] ; then&lt;br /&gt;    return&lt;br /&gt;fi&lt;/pre&gt;and afterwards changed it back to &lt;pre&gt;[ -z "$PS1" ] &amp;amp; return&lt;/pre&gt;The installation instructions also say to put this line at the end of .bashrc:&lt;pre&gt;[[ -s "$HOME/.rvm/scripts/rvm" ]] &amp;amp;&amp;amp; . "$HOME/.rvm/scripts/rvm"&lt;/pre&gt;They then say you have to run &lt;pre&gt;source ~/.rvm/scripts/rvm&lt;/pre&gt;&lt;i&gt;the first time you use rvm&lt;/i&gt;. In fact, you have to run this command &lt;i&gt;every time&lt;/i&gt; you want to use rvm. I added the source command to the end of .bashrc, and rvm now works properly.&lt;br /&gt;&lt;br /&gt;The other thing to be aware of is that the installation instructions say you run &lt;pre&gt;type rvm | head -n1&lt;/pre&gt;and it should display&lt;pre&gt;rvm is a function&lt;/pre&gt;Then, you run the source command for the first time. In fact, that results in &lt;pre&gt;rvm is hashed (/usr/local/bin/rvm)&lt;/pre&gt;You have to run the source command first, and then rvm will be a function. &lt;br /&gt;&lt;br /&gt;Finally rvm was working. I used it to install ruby 1.9.2:&lt;pre&gt;rvm install 1.9.2&lt;/pre&gt;and then to make 1.9.2 the default version of ruby (as far as rvm was concerned, anyway):&lt;pre&gt;rvm --default 1.9.2&lt;/pre&gt;Good news: It installed rubygems automatically. &lt;br /&gt;&lt;br /&gt;Now I could install other gems and run ruby to my heart's content, but only when running as 'user'.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2010/11/ubuntu-1004-upgrade-on-acer-netbook_02.html"&gt;Ubuntu 10.04 upgrade on Acer netbook: Instiki migration&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-7479145440051860435?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/7479145440051860435/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2010/11/ubuntu-1004-upgrade-on-acer-netbook_1840.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/7479145440051860435'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/7479145440051860435'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2010/11/ubuntu-1004-upgrade-on-acer-netbook_1840.html' title='Ubuntu 10.04 upgrade on Acer netbook: Ruby Version Manager and Ruby 1.9.2'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-1268444930478570962</id><published>2010-11-01T21:50:00.004-04:00</published><updated>2010-11-02T07:08:28.412-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='acer'/><category scheme='http://www.blogger.com/atom/ns#' term='adobe'/><category scheme='http://www.blogger.com/atom/ns#' term='lucid'/><category scheme='http://www.blogger.com/atom/ns#' term='flash'/><category scheme='http://www.blogger.com/atom/ns#' term='10.04'/><title type='text'>Ubuntu 10.04 upgrade on Acer netbook: Adobe Flash Player</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2010/11/ubuntu-1004-upgrade-on-acer-netbook.html"&gt;Ubuntu 10.04 upgrade on Acer netbook: Basic install&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I went to YouTube and chose a video at random from the default page. As expected, it prompted me to install the Adobe Flash Player. I clicked on the Adobe link and it took me to the Adobe download page, as expected. There was a 32-bit Linux download for APT, so I chose it. It prompted me to enable the 10.04 Partner Channel. This enables downloads of non-free software for Linux. You must enable this to download the Flash Player. After that, it prompted me for my root password. &lt;br /&gt;&lt;br /&gt;After a rather long wait, during which the system gave no indication that anything was happening, I was prompted with the Install Additional Software? dialog, asking Do you want to install package 'adobe-flashplugin'? I chose Install, and the installation appeared to work fine. When I tried the YouTube video again, it prompted me again to download the Flash Player, as if it couldn't find the one I had just installed. This time, I clicked on the Install Additional Plugins link instead of the Install Adobe FlashPlayer link. &lt;br /&gt;&lt;br /&gt;This time, I got a list of available plugins. I highlighted Adobe Flash Player (installer) and clicked Next. That brought up the Install Additional Software? dialog, asking Do you want to install package 'flashplugin-installer'? I clicked Install. It removed the adobe-flashplugin package I had just installed, and installed flashplugin-installer. This took a long time. The installation appeared to work.&lt;br /&gt;&lt;br /&gt;Now I was able to play YouTube videos. &lt;br /&gt;&lt;br /&gt;So, the key to success here is to use the Install Additional Plugins link instead of the direct link to Adobe. &lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2010/11/ubuntu-1004-upgrade-on-acer-netbook_1840.html"&gt;Ubuntu 10.04 upgrade on Acer netbook: Ruby Version Manager and 1.9.2&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-1268444930478570962?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/1268444930478570962/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2010/11/ubuntu-1004-upgrade-on-acer-netbook_01.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/1268444930478570962'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/1268444930478570962'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2010/11/ubuntu-1004-upgrade-on-acer-netbook_01.html' title='Ubuntu 10.04 upgrade on Acer netbook: Adobe Flash Player'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-8183104923992634288</id><published>2010-11-01T21:45:00.005-04:00</published><updated>2010-11-01T21:57:10.859-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='acer'/><category scheme='http://www.blogger.com/atom/ns#' term='lucid'/><category scheme='http://www.blogger.com/atom/ns#' term='10.04'/><title type='text'>Ubuntu 10.04 upgrade on Acer netbook: Basic install</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2010/10/border-around-images-in-openoffice.html"&gt;Border around images in OpenOfficeImpress&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Time for me, a not-on-the-bleeding-edge user, to upgrade to Ubuntu 10.04. I had problems using 9.10 on my Toshiba laptop due to problems in support for the Intel 5100 AGN wireless adapter. Various bugs were reported regarding Linux support for that product. I've been running 9.04 on the Toshiba and 9.10 on the Acer netbook. Oddly, 9.04 supports the 5100 AGN just fine, while later releases do not. &lt;br /&gt;&lt;br /&gt;The Toshiba is my main workhorse, and I use the Acer for presentations and meetings as well as a host for a Windows XP instance that I need for two particular applications. Because it's easy to install Ubuntu alongside Windows using Wubi, I decided to approach the upgrade cautiously by installing on the Acer first. My thought was this would minimize the risk of messing up my primary machine. This approach would not tell me whether 10.04 supported the 5100 AGN wireless adapter, or whether it would be possible to get the 64-bit version of Adobe Flash Player working, but it would at least identify any major issues with the new release.&lt;br /&gt;&lt;br /&gt;The Wubi install is different from a straight install from an iso disk. I booted into Windows XP, downloaded the Wubi installer, and ran it with&lt;pre&gt;wubi --32bit&lt;/pre&gt;The installer recognized that Ubuntu was already installed and offered to remove it. I chose &lt;i&gt;Yes&lt;/i&gt;, the installer removed Ubuntu 9.10, and exited. I ran the command a second time, exactly the same way, and this time it downloaded the installation files and proceeded with the installation. This took quite a while, but completed without any problems.&lt;br /&gt;&lt;br /&gt;The first thing I noticed was that it was hard for me to read the display and to distinguish the edges of windows. It seems the default desktop theme for 10.04, Ambiance, is based on a color palette of black, dark black, deep black, and pitch black. I changed the desktop theme to Radiance, which has a lighter color palette. The default on 9.04, Human, was not listed as an option. Radiance is similar. &lt;br /&gt;&lt;br /&gt;Now that I could read the display, the next order of business was to slow down the mouse a bit. By default, 10.04 ships with the mouse set to very fast and very sensitive; that is, the sliders are about half-way between minimum and maximum. I changed the settings to be more compatible with my slow, old hands, after some difficulty in making the mouse cursor land where I wanted it. &lt;br /&gt;&lt;br /&gt;The next thing I noticed was that .bash_aliases is called by default from .bashrc. In 9.04, those lines are commented out by default in .bashrc. I think the 10.04 default makes more sense. I put some of my favorite aliases into .bash_aliases and began to check out the new version of Ubuntu.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2010/11/ubuntu-1004-upgrade-on-acer-netbook_01.html"&gt;Ubuntu 10.04 upgrade on Acer netbook: Adobe Flash Player&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-8183104923992634288?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/8183104923992634288/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2010/11/ubuntu-1004-upgrade-on-acer-netbook.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/8183104923992634288'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/8183104923992634288'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2010/11/ubuntu-1004-upgrade-on-acer-netbook.html' title='Ubuntu 10.04 upgrade on Acer netbook: Basic install'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-8613522081399556771</id><published>2010-10-03T13:39:00.004-04:00</published><updated>2010-11-01T21:48:53.682-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='presentations'/><category scheme='http://www.blogger.com/atom/ns#' term='hardware acceleration'/><category scheme='http://www.blogger.com/atom/ns#' term='impress'/><category scheme='http://www.blogger.com/atom/ns#' term='openoffice'/><category scheme='http://www.blogger.com/atom/ns#' term='anti-aliasing'/><title type='text'>Border around images in OpenOffice Impress</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2010/06/sudomust-be-setuid-root.html"&gt;sudo:must be setuid root&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;When preparing presentations for upcoming conferences, I noticed that images on slides appeared normal in edit mode but were rendered with a border in slide show mode. I Googled for the problem and found &lt;a href="http://user.services.openoffice.org/en/forum/viewtopic.php?f=10&amp;t=13950"&gt;this thread&lt;/a&gt; on openoffice.org where people described the same issue. &lt;br /&gt;&lt;br /&gt;One contriubtor discovered that he could remove the border by choosing Tools &gt; Options... to get the Options dialog, then opening OpenOffice.org &gt; View in the dialog. In OpenOffice 3.0, a checkbox is presented with the title, "Use hardware acceleration." By unchecking the box, the contributor found the borders disappeared, but anti-aliasing was also disabled.&lt;br /&gt;&lt;br /&gt;I found that OpenOffice 3.1 offers two separate checkboxes: One for "Use hardware acceleration" and another for "Anti-aliasing." When I unchecked "Use hardware acceleration" and left "Anti-aliasing" checked, everything worked as expected.&lt;br /&gt;&lt;br /&gt;So, one key to solving the problem is to ensure you're using at least OpenOffice 3.1.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2010/11/ubuntu-1004-upgrade-on-acer-netbook.html"&gt;Ubuntu 10.04 upgrade on Acer netbook: Basic install&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-8613522081399556771?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/8613522081399556771/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2010/10/border-around-images-in-openoffice.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/8613522081399556771'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/8613522081399556771'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2010/10/border-around-images-in-openoffice.html' title='Border around images in OpenOffice Impress'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-5738172830142447298</id><published>2010-06-01T18:49:00.004-04:00</published><updated>2010-10-03T13:48:26.209-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='troubleshooting'/><category scheme='http://www.blogger.com/atom/ns#' term='sudo'/><category scheme='http://www.blogger.com/atom/ns#' term='setuid'/><category scheme='http://www.blogger.com/atom/ns#' term='authentication failure'/><title type='text'>sudo:must be setuid root</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2010/05/installing-android-development-tools.html"&gt;Installing Android development tools&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;As a noob, I do noobish things. Here's the latest.&lt;br /&gt;&lt;br /&gt;Something went haywire with Firefox (probably because I deleted something inadvertently when I was getting rid of old files), and I restored /usr from my backup drive using rsync in an attempt to fix Firefox. Apparently, rsync changed the ownership of /usr to the userid under which it was executed. When I tried to run sudo, I got this:&lt;pre&gt;sudo:must be setuid root&lt;/pre&gt;Browsing the net for advice, I found scattered, incomplete help for questions that were close to, but not quite the same as mine.&lt;br /&gt;&lt;br /&gt;Basically, the solution is to change ownership back to root. Culling bits and pieces from different sources, here's what I ended up doing:&lt;br /&gt;&lt;br /&gt;1. Rebooted and hit ESC at the prompt to get the grub menu.&lt;br /&gt;2. Chose 'root console' from the grub menu.&lt;br /&gt;3. Ran the following commands:&lt;pre&gt;chown root:root /usr/bin/sudo&lt;br /&gt;chmod 4755 /usr/bin/sudo&lt;br /&gt;chmod 0440 /etc/sudoers&lt;br /&gt;reboot&lt;/pre&gt;When the system came back up, everything was normal again.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2010/10/border-around-images-in-openoffice.html"&gt;Border around images in OpenOffice Impress&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-5738172830142447298?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/5738172830142447298/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2010/06/sudomust-be-setuid-root.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/5738172830142447298'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/5738172830142447298'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2010/06/sudomust-be-setuid-root.html' title='sudo:must be setuid root'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-7228937888935894816</id><published>2010-05-18T06:46:00.004-04:00</published><updated>2010-06-01T18:59:18.082-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><category scheme='http://www.blogger.com/atom/ns#' term='android'/><title type='text'>Installing Android development tools</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2010/05/installing-oracle-express-and-adf-fail.html"&gt;Installing Oracle Express and ADF - FAIL!&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Because Android development is supported by a special Eclipse plugin, I wanted to run a separate instance of Eclipse configured for Android development. I downloaded the basic (non JEE) version of Eclipse from &lt;a href="http://www.eclipse.org/"&gt;http://www.eclipse.org/&lt;/a&gt; unpacked it into my home directory using&lt;pre&gt;tar xzvf eclip*&lt;/pre&gt; and renamed the resulting &lt;i&gt;eclipse&lt;/i&gt; directory to &lt;i&gt;.eclipse-android&lt;/i&gt;. &lt;br /&gt;&lt;br /&gt;Next, I followed the instructions at &lt;a href="http://developer.android.com/sdk/installing.html#Installing"&gt;http://developer.android.com/sdk/installing.html#Installing&lt;/a&gt; to install the Android SDK starter package. After downloading the package (in this case, the 64-bit Linux version), I unpacked it into my home directory with&lt;pre&gt;tar xzvf android-sdk*&lt;/pre&gt;and renamed the resulting directory from &lt;i&gt;android-sdk-linux_86&lt;/i&gt; to &lt;i&gt;.android-sdk&lt;/i&gt;. &lt;br /&gt;&lt;br /&gt;The instructions suggest adding the &lt;i&gt;tools&lt;/i&gt; subdirectory to PATH in .bash_profile or .bashrc. Because of &lt;a href="http://kotowanandesu.blogspot.com/2010/04/shell-personalization-after.html"&gt;the way I've got my startup files organized&lt;/a&gt; at the moment I'm setting PATH in .profile, so I defined it there by adding the line,&lt;pre&gt;PATH=$PATH:~/.android-sdk/tools&lt;/pre&gt;Then I followed the instructions at &lt;a href="http://developer.android.com/sdk/eclipse-adt.html"&gt;http://developer.android.com/sdk/eclipse-adt.html&lt;/a&gt; to install the Android Development Tools (ADT) plugin for Eclipse. &lt;br /&gt;&lt;br /&gt;I started Eclipse and created the workspace &lt;i&gt;android-sandbox&lt;/i&gt; when prompted. Then I went to &lt;i&gt;Help &amp;gt; Install New Software &amp;gt; Add...&lt;/i&gt; and entered this URL into the &lt;i&gt;Location&lt;/i&gt; field:&lt;pre&gt;https://dl-ssl.google.com/android/eclipse/&lt;/pre&gt;It seemed to take longer than these things usually take, but eventually &lt;i&gt;Developer Tools&lt;/i&gt; appeared in the list of available software. &lt;i&gt;Android DDMS&lt;/i&gt; and &lt;i&gt;Android Development Tools&lt;/i&gt; came up, as per the instructions. I clicked &lt;i&gt;Next&lt;/i&gt;, accepted the license agreement, and clicked &lt;i&gt;Finish&lt;/i&gt;. After a fairly lengthy download process and a warning about installing unsigned content, the plugins seemed to install. When Eclipse restarted, I found &lt;i&gt;Android Project&lt;/i&gt; and &lt;i&gt;Android Test Project&lt;/i&gt; listed under &lt;i&gt;New...&lt;/i&gt; &amp;gt; &lt;i&gt;Other...&lt;/i&gt;. So far, so good.&lt;br /&gt;&lt;br /&gt;Next, I told Eclipse where to find the Android SDK. In &lt;i&gt;Window &amp;gt; Preferences &amp;gt; Android&lt;/i&gt;, I browsed to the &lt;i&gt;.android-sdk&lt;/i&gt; directory and set that as the SDK location.&lt;br /&gt;&lt;br /&gt;In a Terminal window, I started the &lt;i&gt;ddms&lt;/i&gt; utility, went to &lt;i&gt;File &amp;gt; Preferences... &amp;gt; Usage Stats&lt;/i&gt; and unchecked the checkbox for sending usage statistics to Google. &lt;br /&gt;&lt;br /&gt;The instructions say you should use the &amp;quot;Android SDK and AVD Manager&amp;quot; to download at least one platform and any additional components you want. The real name of the program is &lt;i&gt;android&lt;/i&gt;. I determined that by starting each of the executables in the &lt;i&gt;tools&lt;/i&gt; directory one by one. Fortunately, &lt;i&gt;android&lt;/i&gt; was only the second one in the alphabetical list! (Note: Later I noticed that &lt;i&gt;Android SDK and AVD Manager&lt;/i&gt; is an option on Eclipse's &lt;i&gt;Window&lt;/i&gt; menu.)&lt;br /&gt;&lt;br /&gt;I chose &lt;i&gt;Available Packages&lt;/i&gt; and the program populated the list. Being new to this, I wasn't too sure what I needed. I chose the documentation as well as the platform and API for Android 1.5, API 3, revision 3, and the samples. I clicked &lt;i&gt;Install Selected&lt;/i&gt;, accepted the license agreement, and clicked &lt;i&gt;Install&lt;/i&gt;. This started an insanely long download. I went to bed and let it run overnight.&lt;br /&gt;&lt;br /&gt;The next morning I browsed through the SDK directory tree to see what had been installed. Then I followed the &amp;quot;Hello World&amp;quot; tutorial at &lt;a href="http://developer.android.com/resources/tutorials/hello-world.html"&gt;http://developer.android.com/resources/tutorials/hello-world.html&lt;/a&gt;. The tutorial covers some of the basic setup you have to know about in order to develop Android apps, so I suggest following it if you're doing this for the first time. The tutorial assumes you're using Eclipse for development. If you're using a different development environment you'll have to work out how to take the equivalent setup steps.&lt;br /&gt;&lt;br /&gt;The tutorial instructions were accurate and everything worked as documented.&lt;br /&gt;&lt;br /&gt;There doesn't appear to be much documentation about TDD for Android apps, but there is some sample test code in the &lt;i&gt;ApiDemo&lt;/i&gt; sample app. I think my next step in learning about Android development will be to work out a good way to do TDD, with this example as a starting point. &lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2010/06/sudomust-be-setuid-root.html"&gt;sudo:must be setuid root&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-7228937888935894816?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/7228937888935894816/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2010/05/installing-android-development-tools.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/7228937888935894816'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/7228937888935894816'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2010/05/installing-android-development-tools.html' title='Installing Android development tools'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-9184169916876573106</id><published>2010-05-11T20:56:00.008-04:00</published><updated>2010-11-01T22:00:52.029-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='adf'/><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='fail'/><category scheme='http://www.blogger.com/atom/ns#' term='oracle'/><title type='text'>Installing Oracle Express and ADF - FAIL!</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2010/04/renaming-ntfs-filesystem-on-external.html"&gt;Renaming NTFS filesystem on external drive&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The client for my next coaching engagement will be using Oracle's Application Development Framework (ADF). I thought it would be a good idea to familiarize myself with some of the tools they'll be using, so I went to &lt;a href="http://www.oracle.com/"&gt;Oracle's website&lt;/a&gt; to download single-user versions of tools that are available at no charge. Oracle Express provides all the basic functionality of the Oracle RDBMS and ADF is a Java-based webapp framework tailored for Oracle back ends.&lt;br /&gt;&lt;br /&gt;While I appreciate Oracle's willingness to make these tools available, I must say I was a bit surprised at the difficulty of obtaining them. The servers appear to be extremely slow. The Oracle Express download is a few hundred megabytes, and it took several hours. The ADF download is about 1.5 GB, and it ran more than 12 hours. Downloads of other software, videos, music, etc. from other sources have been considerably faster on the same (hotel) wireless connection and using the same laptop. &lt;br /&gt;&lt;br /&gt;Before starting the lengthy download of Oracle Express, I first had to reach the link and click on it. Normally, clicking on a link is a relatively routine operation on the Internet. Not so on this occasion. The download page for Oracle Express for Linux reported an error refreshing the browser, and advised me to contact the site administrator. Interesting advice, as there appears to be no way to contact a site administrator.&lt;br /&gt;&lt;br /&gt;Oracle's webapp is the only suspect that had opportunity...not quite sure about motive, though. Then again, it may be a failure of logic on my part: The business motive to provide poor customer service has never been intuitively obvious to me. I can but trust the good folks at Oracle have sound reasons for it. After spending some time searching the website for a contact link or for an alternative way to obtain the software, I gave up and did a Google search for &amp;quot;oracle express linux download.&amp;quot; &lt;br /&gt;&lt;br /&gt;Of course, the official download page was the first hit. Google offered a link to a cached version of the page. I tried that and, lo and behold! the page appeared with all links working. The software was in fact right where it was supposed to be and was available, but there was (still is?) something wrong with the website; you just can't get to the appropriate page through the front door. Thanks to Google's cache, a side window was open. I slid through and downloaded the Debian package for the Western character set.&lt;br /&gt;&lt;br /&gt;One positive aspect of Oracle's service is that they provide documentation. The first documented step to install Oracle Express was to run the following command:&lt;pre&gt;dpkg -i oracle-xe_10.2.0.1-1.0_i386.deb&lt;/pre&gt;It turned out this has to be done as superuser, so I tried&lt;pre&gt;sudo dpkg -i oracle-xe_10.2.0.1-1.0_i386.deb&lt;/pre&gt;This time, I got&lt;pre&gt;package architecture (i386) does not match system (amd64)&lt;/pre&gt;There is no mention of a 64-bit version on Oracle's site, nor any warning that the package they offer is for 32-bit systems.&lt;br /&gt;&lt;br /&gt;What is worse than &amp;quot;useless?&amp;quot; &amp;quot;Misleading.&amp;quot;&lt;br /&gt;&lt;br /&gt;I guess I'll have to learn these tools using the client's time and equipment. The cynic in me wants to say that's part and parcel of their having chosen Oracle as a vendor. The professional in me doesn't like to say it, and wishes companies would simply provide what they claim to provide, whether free or not, or else not make the claim at all. The consultant in me says nothing about it for the moment, but has filed the experience for future reference when clients ask for advice about vendor selection.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2010/05/installing-android-development-tools.html"&gt;Installing Android development tools&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-9184169916876573106?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/9184169916876573106/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2010/05/installing-oracle-express-and-adf-fail.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/9184169916876573106'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/9184169916876573106'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2010/05/installing-oracle-express-and-adf-fail.html' title='Installing Oracle Express and ADF - FAIL!'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-6989188129860001761</id><published>2010-04-14T19:34:00.007-04:00</published><updated>2010-05-11T21:08:16.391-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='backup'/><category scheme='http://www.blogger.com/atom/ns#' term='rsync'/><title type='text'>Using rsync for backups</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2010/04/renaming-ntfs-filesystem-on-external.html"&gt;Renaming FAT32 and NTFS filesystems&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Being a n00b and all, it's probably no surprise to you that I've been backing up my files by dragging and dropping folder icons in Nautilus. Knowing that, it's probably no surprise that these backup operations might take hours to complete. I used to start a backup operation before going to bed, and leave it running while I slept.&lt;br /&gt;&lt;br /&gt;I had n00bishly assumed that when gnome asked me if I wanted to merge files with matching names, it would only copy those files that were different than the version on the target. After all, that would be the logical thing to do, wouldn't it? No such luck.&lt;br /&gt;&lt;br /&gt;Then I discovered a very useful file syncing utility, rsync. It's already installed on Ubuntu as shipped. It's nothing new, but it's new to me. It only copies files that have changed.&lt;br /&gt;&lt;br /&gt;I found I could back up any of my top-level directory trees to an external drive quickly. For example, this command backs up my /usr directory, which is the mount point of a partition on the internal hard drive:&lt;pre&gt;sudo rsync -av /usr /media/1TB_HDD_external/&lt;/pre&gt;The first time, when there was nothing at the destination location, rsync took about 15 minutes to back up a partition of 320GB+. Subsequently, it ran in just a couple of minutes. Very convenient!&lt;br /&gt;&lt;br /&gt;It was easy to script this so that everyday backups are easy to run. For instance, this&lt;pre&gt;backup personal&lt;/pre&gt;will run&lt;pre&gt;sudo rsync -av /home/dave/Personal /media/1TB_HDD_external&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2010/05/installing-oracle-express-and-adf-fail.html"&gt;Installing Oracle Express and ADF - FAIL!&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-6989188129860001761?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/6989188129860001761/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2010/04/using-rsync-for-backups.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/6989188129860001761'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/6989188129860001761'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2010/04/using-rsync-for-backups.html' title='Using rsync for backups'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-416654550773200370</id><published>2010-04-14T18:20:00.007-04:00</published><updated>2010-11-01T20:39:42.826-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ntfs'/><category scheme='http://www.blogger.com/atom/ns#' term='filesystem'/><category scheme='http://www.blogger.com/atom/ns#' term='partitions'/><category scheme='http://www.blogger.com/atom/ns#' term='rename'/><category scheme='http://www.blogger.com/atom/ns#' term='fat32'/><title type='text'>Renaming FAT32 and NTFS filesystems</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2010/04/installing-gwitter.html"&gt;Installing Gwibber&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I wanted to rename my Western Digital My Book volumes, because they are all named &amp;quot;My Book.&amp;quot; It would be too easy to make a mistake and format the wrong volume or restore from the wrong backup. From community help at &lt;a href="https://help.ubuntu.com/community/RenameUSBDrive"&gt;https://help.ubuntu.com/community/RenameUSBDrive&lt;/a&gt;, I learned that gparted can rename an NTFS filesystem without reformatting it.&lt;br /&gt;&lt;br /&gt;To install gparted, I opened a Terminal and ran&lt;pre&gt;sudo apt-get install gparted&lt;br /&gt;sudo apt-get install mtools&lt;br /&gt;sudo apt-get install ntfsprogs&lt;/pre&gt;Gparted is the partition management utility, mtools is a package of utilities for working with FAT filesystems, and ntfsprogs is a package of utilities for working with NTFS filesystems.&lt;br /&gt;&lt;br /&gt;Running gparted as root (that is, &lt;i&gt;sudo gparted&lt;/i&gt;), I saw the partitions on my internal drive but none of the external drives. There's a &lt;i&gt;Devices&lt;/i&gt; drop-down in the GParted menu, and there I found three devices /dev/sda, sdb, and sdc. I identified the volume I wanted to rename, right-clicked on it and chose &lt;i&gt;unmount&lt;/i&gt;. This ran for a long, long time. I checked using Nautilus and the drive was not mounted. I cancelled gparted and started it up again, to see if it would let me try the rename operation. It just kept searching and searching and searching for partitions on /dev/sbc.&lt;br /&gt;&lt;br /&gt;I disconnected the external drive, killed gparted, and started it again. This time it immediately displayed the list of partitions on the internal drive. I shut down gparted, then reconnected the external drive. After it automounted, I unmounted it using Nautilus, but left it physically connected. Once again, gparted just looped, ostensibly searching for partitions on the device.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;A FAT32 filesystem&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;So, gparted did not work. I tried the command-line approach outlined on the community help page cited above. I connected the external drive and waited for it to automount. Then I ran&lt;pre&gt;mount&lt;/pre&gt;to see the mounted filesystems and found where the external drive was mounted. In this case, it was /dev/sdc1. I unmounted it with&lt;pre&gt;sudo umount /dev/sdc1&lt;/pre&gt;Then I verified it was the volume I wanted with&lt;pre&gt;sudo mlabel -i /dev/sdc1 -s ::&lt;/pre&gt;Finally, I changed the volume label with&lt;pre&gt;sudo mlabel -i /dev/sdc1 ::500GB_FAT32_external&lt;/pre&gt;I mounted the volume and it worked fine.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;An NTFS filesystem&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;Followed a similar procedure to relabel an NTFS volume. Connected it, waited for it to automount, and unmounted it with&lt;pre&gt;sudo umount /dev/sdb1&lt;/pre&gt;Checked the current label with&lt;pre&gt;sudo ntfslabel /dev/sdb1&lt;/pre&gt;Changed the label with&lt;pre&gt;sudo ntfslabel /dev/sdb1 1TB_NTFS_external&lt;/pre&gt;Checked to be sure I had changed the label correctly, then re-mounted the volume. Worked great!&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2010/04/using-rsync-for-backups.html"&gt;Using rsync for backups&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-416654550773200370?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/416654550773200370/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2010/04/renaming-ntfs-filesystem-on-external.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/416654550773200370'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/416654550773200370'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2010/04/renaming-ntfs-filesystem-on-external.html' title='Renaming FAT32 and NTFS filesystems'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-349299253829118931</id><published>2010-04-13T22:25:00.003-04:00</published><updated>2010-04-14T19:32:04.990-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='microblogging'/><category scheme='http://www.blogger.com/atom/ns#' term='gwibber'/><category scheme='http://www.blogger.com/atom/ns#' term='configuration'/><category scheme='http://www.blogger.com/atom/ns#' term='personalization'/><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><title type='text'>Installing Gwibber</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2010/04/installing-gmail-notifier.html"&gt;Installing a gmail notifier&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Ran the command&lt;pre&gt;sudo apt-get install gwibber&lt;/pre&gt;Gwibber then appeared under Applications &amp;gt; Internet &amp;gt; Gwibber Microblogging Client. Defining the Twitter account was easy. Defining the Facebook account was confusing. Not sure if it worked. &lt;br /&gt;&lt;br /&gt;The program appears to work fairly well and looks good. It locks up if I use the scroll wheel on the mouse too rapidly. It's not limited to Twitter, but when using Twitter it doesn't seem to be as functional as the basic Web interface. I will try it for a while and see how it goes.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2010/04/renaming-ntfs-filesystem-on-external.html"&gt;Renaming FAT32 and NTFS filesystems&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-349299253829118931?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/349299253829118931/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2010/04/installing-gwitter.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/349299253829118931'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/349299253829118931'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2010/04/installing-gwitter.html' title='Installing Gwibber'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-6585268840195121135</id><published>2010-04-13T22:05:00.002-04:00</published><updated>2010-04-13T22:27:02.253-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='personalization'/><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='mail notifier'/><title type='text'>Installing a gmail notifier</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2010/04/upgrading-eclipse-after-reinstalling.html"&gt;Upgrading Eclipse after reinstalling Ubuntu&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Followed instructions at &lt;a href="http://www.ubuntugeek.com/gmail-notifier-for-your-ubuntu-desktop.html"&gt;Ubuntu Geek&lt;/a&gt; to install CheckGmail, a Gmail notifier for Ubuntu.&lt;br /&gt;&lt;br /&gt;Ran the command&lt;pre&gt;sudo apt-get install checkgmail&lt;/pre&gt;Instead of pressing ALT+F2, I just typed &lt;i&gt;checkgmail&lt;/i&gt; in Terminal. It started the program. I entered my Gmail account information, changed the External Command to&lt;pre&gt;firefox-3.5 %u&lt;/pre&gt;and left all other defaults unchanged. The program was unable to log into Gmail. It complained that the userid or password was incorrect. After checking to be sure I had entered the correct values, I decided the program simply does not work, and I removed it with&lt;pre&gt;sudo apt-get remove checkgmail&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Next, I tried gm-notify from &lt;a href="https://launchpad.net/gm-notify"&gt;Launchpad&lt;/a&gt;. Downloaded the tarball, unpacked it, and read the README for installation instructions. It's a Python app and has some dependencies, duly noted in the README. Per the instructions, I ran&lt;pre&gt;sudo apt-get install python-indicate python-notify python-gst0.10 python-gtk2 python-gconf python-twisted-mail&lt;br /&gt;&lt;/pre&gt;to install the prereqs, then from the top-level directory of the extracted files, ran&lt;pre&gt;sudo ./setup.py install&lt;/pre&gt;The README says the application will appear in the menu Applications &amp;gt; Network &amp;gt; GMail Notifier, but in fact it appeared in Applications &amp;gt; Internet &amp;gt; GMail Notifier. Furthermore, the README says the configuration app will appear under System &amp;gt; Settings &amp;gt; GMail Notifier Configuration, but in fact it appeared in System &amp;gt; Preferences &amp;gt; GMail Notifier Configuration.&lt;br /&gt;&lt;br /&gt;Sent myself an email to see what the application would do. Works well, is simple, looks good. I'll keep this one.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2010/04/installing-gwitter.html"&gt;Installing Gwibber&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-6585268840195121135?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/6585268840195121135/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2010/04/installing-gmail-notifier.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/6585268840195121135'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/6585268840195121135'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2010/04/installing-gmail-notifier.html' title='Installing a gmail notifier'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-444038287205662554</id><published>2010-04-13T21:31:00.001-04:00</published><updated>2010-04-13T22:07:49.130-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='configuration'/><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><title type='text'>Upgrading Eclipse after reinstalling Ubuntu</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2010/04/reinstalling-some-favorite-apps-after.html"&gt;Reinstalling some favorite apps after reinstalling Ubuntu&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Ubuntu repositories have Eclipse 3.2. I wanted a more recent version. I went to &lt;a href="http://www.eclipse.org/"&gt;http://www.eclipse.org&lt;/a&gt; and downloaded the basic JEE packaging of Eclipse Galileo as a tarball.&lt;br /&gt;&lt;br /&gt;Deleted the old ~/.eclipse directory. Unpacked the tarball into /home and changed the name of the top-level directory to ~/.eclipse. Changed /usr/share/applications/eclipse.desktop to point to the executable. Works fine.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2010/04/installing-gmail-notifier.html"&gt;Installing a gmail notifier&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-444038287205662554?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/444038287205662554/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2010/04/upgrading-eclipse-after-reinstalling.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/444038287205662554'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/444038287205662554'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2010/04/upgrading-eclipse-after-reinstalling.html' title='Upgrading Eclipse after reinstalling Ubuntu'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-5051184660793034795</id><published>2010-04-13T21:20:00.002-04:00</published><updated>2010-11-01T20:40:19.338-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='configuration'/><category scheme='http://www.blogger.com/atom/ns#' term='personalization'/><category scheme='http://www.blogger.com/atom/ns#' term='bash_aliases'/><category scheme='http://www.blogger.com/atom/ns#' term='bashrc'/><category scheme='http://www.blogger.com/atom/ns#' term='shell'/><title type='text'>Shell personalization after reinstalling Ubuntu</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2010/04/reinstalling-some-favorite-apps-after.html"&gt;Reinstalling some favorite apps after reinstalling Ubuntu&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Shell personalization after reinstalling Ubuntu&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;I set up some preferences in login files a little differently than before, based on tips from &lt;a href="http://stefaanlippens.net/my_bashrc_aliases_profile_and_other_stuff"&gt;Stefaan Lippens&lt;/a&gt;. I put environment variable definitions in .profile and sourced .profile and .bash_aliases in .bash_profile. This seems to be quite a convenient setup. Added the following to .bash_aliases&lt;pre&gt;# Shortcuts for directory listings&lt;br /&gt;alias ll='ls -lF --color=auto'&lt;br /&gt;alias la='ls -alF --color=auto'&lt;br /&gt;alias ls='ls -F'&lt;br /&gt;&lt;br /&gt;# Highlight matches in grep&lt;br /&gt;alias grep='grep --color=auto'&lt;br /&gt;&lt;br /&gt;# Start and stop my local wiki&lt;br /&gt;alias wiki='~/.bin/wiki'&lt;br /&gt;alias wiki_stop='~/.bin/wiki_stop'&lt;br /&gt;&lt;br /&gt;# Start Freemind mind-mapping tool&lt;br /&gt;alias freemind='~/.freemind/freemind.sh'&lt;br /&gt;&lt;br /&gt;# Start UMLet diagramming tool&lt;br /&gt;alias umlet='umlet.sh'&lt;br /&gt;&lt;/pre&gt;Uncommented the following lines in the provided .bashrc&lt;pre&gt;if [ -f ~/.bash_aliases ]; then&lt;br /&gt;    . ~/.bash_aliases&lt;br /&gt;fi&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2010/04/upgrading-eclipse-after-reinstalling.html"&gt;Upgrading Eclipse after reinstalling Ubuntu&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-5051184660793034795?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/5051184660793034795/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2010/04/shell-personalization-after.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/5051184660793034795'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/5051184660793034795'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2010/04/shell-personalization-after.html' title='Shell personalization after reinstalling Ubuntu'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-566321789200398127</id><published>2010-04-13T21:15:00.007-04:00</published><updated>2010-04-14T16:03:19.968-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='video'/><category scheme='http://www.blogger.com/atom/ns#' term='mindmap'/><category scheme='http://www.blogger.com/atom/ns#' term='personalization'/><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='mp3'/><category scheme='http://www.blogger.com/atom/ns#' term='instiki'/><category scheme='http://www.blogger.com/atom/ns#' term='banshee'/><category scheme='http://www.blogger.com/atom/ns#' term='audio'/><title type='text'>Reinstalling some favorite apps after reinstalling Ubuntu</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2010/04/restoring-firefox-personalization-after.html"&gt;Restoring Firefox personalization after re-installing Ubuntu&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;So, I wanted to reinstall some of the apps I had been using before. But the way I had them scattered around the filesystem was pretty sloppy. Better this time.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Recovering my local wiki&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;Installed sqlite3 and sqlite ruby support (Instiki depends on them):&lt;pre&gt;sudo apt-get install sqlite3 libsqlite3-dev&lt;br /&gt;sudo gem install sqlite3-ruby&lt;br /&gt;&lt;/pre&gt;Put the wiki under /home/.wiki so that it would not show up in normal directory listings.&lt;br /&gt;&lt;br /&gt;Moved the wiki icon to /usr/share/pixmaps to make it consistent with other applications.&lt;br /&gt;&lt;br /&gt;Put a wiki icon on the top panel for convenient starting.&lt;br /&gt;&lt;br /&gt;For more information about how I've customized Instiki for personal use, see &lt;a href="http://kotowanandesu.blogspot.com/2009/08/pimp-my-instiki.html"&gt;http://kotowanandesu.blogspot.com/2009/08/pimp-my-instiki.html&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Reinstalling Google Earth&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;Installed Google Earth by following the instructions I documented on this blog at &lt;a href="http://kotowanandesu.blogspot.com/2009/09/google-earth-install.html"&gt;http://kotowanandesu.blogspot.com/2009/09/google-earth-install.html&lt;/a&gt;. I downloaded a fresh copy in case there have been any updates since the last time I installed it. &lt;br /&gt;&lt;br /&gt;Had a problem this time that I didn't have last time. The installer complained that gtk2 was missing. &lt;br /&gt;&lt;br /&gt;Searching for similar problems, I found that some people had installed lib32nss-mdns, and this solved the problem for them. I tried&lt;pre&gt;sudo apt-get install lib32nss-mdns&lt;/pre&gt;and ran the installer again.&lt;br /&gt;&lt;br /&gt;The console output was:&lt;pre&gt;setup.data/bin/Linux/amd64/setup.gtk2: error while loading&lt;br /&gt;shared libraries: libxml2.so.2: cannot open shared &lt;br /&gt;object file: No such file or directory&lt;br /&gt;setup.data/bin/Linux/amd64/setup.gtk: error while loading&lt;br /&gt;shared libraries: libSM.so.6: cannot open shared &lt;br /&gt;object file: No such file or directory&lt;br /&gt;The setup program seems to have failed on amd64&lt;/pre&gt;Better, but apparently I forgot to install libxml2 after reinstalling Ubuntu. I found a security notice for 9.04 at &lt;a href="http://www.ubuntu.com/usn/USN-815-1"&gt;http://www.ubuntu.com/usn/USN-815-1&lt;/a&gt; advising an upgrade. I did that and tried&lt;pre&gt;sudo apt-get install libxml2&lt;/pre&gt;and it informed me the latest version of libxml2 was already installed. So, that wasn't the problem.&lt;br /&gt;&lt;br /&gt;There are many personal blogs out there written by people whose installation worked properly on the first try. I found no help that addresses the problems I'm seeing today. &lt;br /&gt;&lt;br /&gt;I ran across a comment by &lt;a href="http://daniel.holba.ch/blog/"&gt;Daniel Holbach&lt;/a&gt; buried in a long list of comments on one article that advised the following:&lt;pre&gt;$ sudo apt-get install googleearth-package&lt;br /&gt;$ make-googleearth-package --force&lt;br /&gt;Doubleclick on the resulting .deb file.&lt;/pre&gt;I gave that a try, since there was little to lose at this point. &lt;br /&gt;&lt;br /&gt;The make spewed hundreds of warning-level messages. The installer proved to be a very long-running process. I left it running during the day and checked on it after work. It worked fine.&lt;br /&gt;&lt;br /&gt;This time I put the app in ~/.googleearth so that it would not show up in normal directory listings.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Reinstalling Freemind&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;Copied my old installation of Freemind from a backup. Referred to &lt;a href=""&gt;&lt;/a&gt; to set it up. This time, I put the app in ~/.freemind and set an alias for 'freemind' instead of putting the absolute path in the freemind.desktop file. No problems with this install.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Reinstalling UMLet&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;A new version of UMLet is available. I downloaded the standalone version and the Eclipse plugin from &lt;a href="http://www.umlet.com/"&gt;http://www.umlet.com&lt;/a&gt;, version 10.1. I had 10.0 previously. Recovering from a system crash offers all sorts of opportunities for improvement.&lt;br /&gt;&lt;br /&gt;I set up the standalone version in the same way as I had set up Freemind. This time, I noticed that UMLet has its own logo. I downloaded the logo from their site and associated it with the app, instead of the icon I came up with before. &lt;br /&gt;&lt;br /&gt;Installation of the standalone UMLet consists of unpacking the zip file. The shell script that starts the program already had execute privileges. Convenient. The default directory name is UMLet. I changed it to .umlet. I defined an alias, umlet, in .bash_aliases, ran my .bash_profile and gave it a try. &lt;br /&gt;&lt;br /&gt;Didn't work. I took a look at the UMLet.sh file, and learned that it looks for an environment variable, UMLET_HOME. So, they've made things a bit more formal. I added these lines to my .profile:&lt;pre&gt;UMLET_HOME=~/.umlet&lt;br /&gt;export UMLET_HOME&lt;/pre&gt;then copied ~/.umlet/UMLet.sh to ~/.bin/umlet.sh and uncommented the line that changes to the UMLET_HOME directory. Typing &lt;i&gt;umlet&lt;/i&gt; at a command prompt started the program properly.&lt;br /&gt;&lt;br /&gt;I copied the umlet.desktop file from my backup and changed it to refer to the new logo file:&lt;pre&gt;[Desktop Entry]&lt;br /&gt;Encoding=UTF-8&lt;br /&gt;Name=UMLet&lt;br /&gt;Comment=UML diagramming tool&lt;br /&gt;Exec=umlet&lt;br /&gt;Icon=umlet_logo.jpg&lt;br /&gt;Terminal=false&lt;br /&gt;Type=Application&lt;br /&gt;Categories=GNOME;Application;Development;&lt;br /&gt;StartupNotify=true&lt;br /&gt;&lt;/pre&gt;and copied the logo file to /usr/share/pixmaps. At this point, UMLet appeared in the gnome menu under Applications &amp;gt; Programming, but the logo image was not displayed. I used Gimp to change it from .jpg to .png. Worked!&lt;br /&gt;&lt;br /&gt;Logged out and in and tried to run UMLet from the menu. The launcher was unable to start the child process. It complained that there was no such file or directory as &amp;quot;umlet.&amp;quot; I checked .bash_aliases and it looked correct. There must be something about launchers I don't quite understand. I changed the alias to give the absolute path of umlet.sh, logged out and in, and tried again. Worked!&lt;br /&gt;&lt;br /&gt;Dropped the jar for the UMLet Eclipse plugin into the Eclipse plugin directory and started Eclipse. Created a UML diagram from Eclipse's &lt;i&gt;New...&lt;/i&gt; dialog. Looks good.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Reinstalling Banshee&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;Ran the command&lt;pre&gt;sudo apt-get install banshee&lt;/pre&gt;Banshee appeared in the gnome menu, and started normally. It imported my music files correctly. It played mp3 files correctly. It imported my video files correctly. It played .flv, .mov, .mp4, .mpg, .mpeg correctly. &lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2010/04/shell-personalization-after.html"&gt;Shell personalization after reinstalling Ubuntu&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-566321789200398127?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/566321789200398127/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2010/04/reinstalling-some-favorite-apps-after.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/566321789200398127'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/566321789200398127'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2010/04/reinstalling-some-favorite-apps-after.html' title='Reinstalling some favorite apps after reinstalling Ubuntu'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-5451109467785603459</id><published>2010-04-11T22:08:00.004-04:00</published><updated>2010-04-13T21:17:18.620-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='firefox'/><category scheme='http://www.blogger.com/atom/ns#' term='configuration'/><category scheme='http://www.blogger.com/atom/ns#' term='personalization'/><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='flash'/><title type='text'>Restoring Firefox personalization after re-installing Ubuntu</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2010/04/installing-net-development-support.html"&gt;Installing .NET development support&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;1. Version update&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;sudo apt-get update&lt;br /&gt;sudo apt-get install firefox-3.5&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Then edited the &lt;i&gt;Properties&lt;/i&gt; for the Firefox launcher in the Applications menu to invoke &lt;i&gt;firefox-3.5&lt;/i&gt; instead of &lt;i&gt;firefox&lt;/i&gt;.&lt;br /&gt;&lt;br /&gt;Fortunately, the Ubuntu Modifications for Firefox aren't compatible with this version, so there was no need to disable them manually.&lt;br /&gt;&lt;br /&gt;2. Plugins&lt;br /&gt;&lt;br /&gt;Went to &lt;a href="http://get.adobe.com/flashplayer/"&gt;http://get.adobe.com/flashplayer&lt;/a&gt; to try and install Flash Player. (I've had problems with this in the past. Expectations are low.) Selected the .deb file option from the dropdown list. The installer complained about &amp;quot;wrong architecture.&amp;quot; FAIL.&lt;br /&gt;&lt;br /&gt;A search for &amp;quot;install flash 64-bit linux&amp;quot; found &lt;a href="http://labs.adobe.com/downloads/flashplayer10_64bit.html"&gt;http://labs.adobe.com/downloads/flashplayer10_64bit.html&lt;/a&gt;, with instructions to download a tarball of a beta 64-bit version of Flash Player 10. Adobe provides no help about what to do with the tarball's contents. I found several threads about problems with multimedia on Ubuntu, and surmised that plugins might belong in /usr/lib/mozilla/plugins. I unpacked the tarball and copied libflashplayer.so to that location, then restarted Firefox. Youtube videos then played normally.&lt;br /&gt;&lt;br /&gt;3. Preferences&lt;br /&gt;&lt;br /&gt;In Firefox, I went to Edit &amp;gt; Preferences. &lt;br /&gt;&lt;br /&gt;* On the &lt;i&gt;Main&lt;/i&gt; tab, under &lt;i&gt;Startup&lt;/i&gt;, for the &lt;i&gt;When Firefox starts&lt;/i&gt; dropdown, I selected &amp;quot;Show a blank page.&amp;quot;&lt;br /&gt;&lt;br /&gt;* On the &lt;i&gt;Main&lt;/i&gt; tab, under &lt;i&gt;Downloads&lt;/i&gt;, I left the default setting of &amp;quot;Desktop&amp;quot; for &lt;i&gt;Save files to&lt;/i&gt;. Previously, I had a &lt;i&gt;downloads&lt;/i&gt; directory under /home. Now I think that was only an invitation to be lazy. If downloaded file icons appear on my desktop, it's an incentive to put them where they really belong or delete them. &lt;br /&gt;&lt;br /&gt;* On the &lt;i&gt;Main&lt;/i&gt; tab, under &lt;i&gt;Location Bar&lt;/i&gt;, set &amp;quot;...suggest&amp;quot; to &amp;quot;Bookmarks&amp;quot;. When I had it set to &amp;quot;History and Bookmarks&amp;quot; it tended to be too cluttered to be useful after several hours online. This way, I can whitelist useful sites by adding them to my bookmarks.&lt;br /&gt;&lt;br /&gt;* On the &lt;i&gt;Privacy&lt;/i&gt; tab, under &lt;i&gt;History&lt;/i&gt;, I deselected &amp;quot;Keep my history...&amp;quot; and &amp;quot;Remember what I enter...&amp;quot; and left &amp;quot;Remember what I've downloaded&amp;quot; selected. I don't use the history to find sites I've visited before. To me, the other options are more distracting than useful. I like simplicity.&lt;br /&gt;&lt;br /&gt;* On the &lt;i&gt;Privacy&lt;/i&gt; tab, under &lt;i&gt;Private Data&lt;/i&gt;, I selected &amp;quot;Always clear...when I close...&amp;quot; and deselected &amp;quot;Ask me...&amp;quot; In &lt;i&gt;Settings&lt;/i&gt; I left the default selections.&lt;br /&gt;&lt;br /&gt;* On the &lt;i&gt;Security&lt;/i&gt; tab, under &lt;i&gt;Passwords&lt;/i&gt;, I deselected &amp;quot;Remember passwords for sites.&amp;quot; This is a laptop, and there is a risk of identity theft or other problems if people can discover passwords easily. Besides, if I have to enter passwords every time, I'm less likely to forget them.&lt;br /&gt;&lt;br /&gt;* On the &lt;i&gt;Advanced&lt;/i&gt; tab, under &lt;i&gt;Browsing&lt;/i&gt;, I deselected &amp;quot;Check my spelling as I type.&amp;quot; Another distraction of dubious value.&lt;br /&gt;&lt;br /&gt;* On the &lt;i&gt;Tabs&lt;/i&gt; tab, selected &amp;quot;When I open a link in a new tab, switch to it immediately&amp;quot;. Why else would I open a link, besides wanting to read it? What were they thinking when they defined this default?&lt;br /&gt;&lt;br /&gt;4. Add-ons&lt;br /&gt;&lt;br /&gt;* From &lt;a href="http://www.xmarks.com/"&gt;http://www.xmarks.com&lt;/a&gt; installed the XMarks plugin. When you complete the installation, it walks you through a series of dialogs to help you get set up. I logged in with my XMarks account and told it to &amp;quot;Keep data on the server; discard data on this computer." This was the first time I had used the service in this way. It worked perfectly.&lt;br /&gt;&lt;br /&gt;* From &lt;a href="http://readitlaterlist.com/firefox/"&gt;http://readitlaterlist.com/firefox/&lt;/a&gt;, installed Read It Later. It did not recognize the Read It Later folder in Bookmarks, and thought I had no entries. After searching for help on that without success, I decided there was no need to keep those bookmarks anyway. I had marked them to read later, but had never bothered to do so. They must not have been important after all.&lt;br /&gt;&lt;br /&gt;I didn't bother with all the add-ons for development and testing, email notification, and so forth. I'll add them as I find I need them. I think I got carried away with add-ons last time around. Clean start this time.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2010/04/reinstalling-some-favorite-apps-after.html"&gt;Reinstalling some favorite apps after reinstalling Ubuntu&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-5451109467785603459?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/5451109467785603459/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2010/04/restoring-firefox-personalization-after.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/5451109467785603459'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/5451109467785603459'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2010/04/restoring-firefox-personalization-after.html' title='Restoring Firefox personalization after re-installing Ubuntu'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-8849414047667805647</id><published>2010-04-11T11:53:00.004-04:00</published><updated>2010-04-11T22:09:55.428-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='monodevelop'/><category scheme='http://www.blogger.com/atom/ns#' term='development'/><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='mono'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><category scheme='http://www.blogger.com/atom/ns#' term='nunit'/><category scheme='http://www.blogger.com/atom/ns#' term='dotnet'/><title type='text'>Installing .NET development support</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2010/04/installing-tomcat.html"&gt;Installing Tomcat (partial FAIL)&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I'm not actively working on a mono project at the moment, so I didn't spend too much time configuring a development environment. Actually, I didn't spend &lt;i&gt;any&lt;/i&gt; time configuring a development environment. I installed the basic tools with these commands:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;sudo apt-get install &lt;br /&gt;    mono-devel &lt;br /&gt;    libmono-winforms2.0-cil &lt;br /&gt;    monodevelop &lt;br /&gt;    monodevelop-nunit &lt;br /&gt;    monodevelop-debugger-mdb&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;If you're interested, my notes about getting started with these tools are in this post: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/installing-support-for-net.html"&gt;http://kotowanandesu.blogspot.com/2009/08/installing-support-for-net.html&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2010/04/restoring-firefox-personalization-after.html"&gt;Restoring Firefox personalization after re-installing Ubuntu&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-8849414047667805647?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/8849414047667805647/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2010/04/installing-net-development-support.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/8849414047667805647'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/8849414047667805647'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2010/04/installing-net-development-support.html' title='Installing .NET development support'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-6404966160671553519</id><published>2010-04-11T11:24:00.002-04:00</published><updated>2010-04-11T11:54:26.554-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='fail'/><category scheme='http://www.blogger.com/atom/ns#' term='tomcat'/><title type='text'>Installing Tomcat (partial FAIL)</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2010/04/installing-java-support.html"&gt;Installing Java support&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The last time I installed Tomcat on Ubuntu 9.04, the documented &lt;a href="http://kotowanandesu.blogspot.com/2009/08/installing-tomcat.html"&gt;easy installation method&lt;/a&gt; didn't work and I resorted to installing &lt;a href=""&gt;from a tarball&lt;/a&gt;. Since I'm installing 9.04 again rather than a later release, there's no reason to expect different behavior from the installer today. &lt;br /&gt;&lt;br /&gt;This time, I want to run Tomcat from a hidden directory under /home so that the everyday view of /home won't be cluttered with various development tools, as before. I decided to go with Tomcat 5.5 for the moment. &lt;br /&gt;&lt;br /&gt;I wanted to be able to run customized Tomcat instances for particular development projects on localhost. To that end, I configured a vanilla instance to use as a template to copy into different projects as needed. &lt;br /&gt;&lt;br /&gt;This is what I did:&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Install Tomcat Core&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;1. Went to &lt;a href="http://tomcat.apache.org/" target="_blank"&gt;http://tomcat.apache.org/&lt;/a&gt; and download the following distros:&lt;br /&gt;&lt;br /&gt;* Core&lt;br /&gt;* Deployer (did not install this)&lt;br /&gt;* Administration Web Application (did not install this)&lt;br /&gt;&lt;br /&gt;2. Under /home/.bin I created a directory for local Tomcat instances, tomcat. So I had /home/.bin/tomcat.&lt;br /&gt;&lt;br /&gt;3. Moved the Core tarball to /home/.bin/tomcat and unpacked it in place using&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;tar xzfv *&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;This resulted in a directory containing the Tomcat core at /home/.bin/tomcat/apache-tomcat-5.5.28.&lt;br /&gt;&lt;br /&gt;4. Deleted the tarball apache-tomcat-5.5.28.tar.gz.&lt;br /&gt;&lt;br /&gt;5. Granted execute permission on everything in Tomcat's bin directory&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;cd /home/.bin/tomcat/apache-tomcat-5.5.28/bin&lt;br /&gt;chmod +x *&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;6. Edited [TOMCAT-HOME]/conf/tomcat-users.xml and changed the default entries&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&amp;lt;tomcat-users&amp;gt;&lt;br /&gt;  &amp;lt;user name="tomcat" password="tomcat" roles="tomcat" /&amp;gt;&lt;br /&gt;  &amp;lt;user name="role1"  password="tomcat" roles="role1"  /&amp;gt;&lt;br /&gt;  &amp;lt;user name="both"   password="tomcat" roles="tomcat,role1" /&amp;gt;&lt;br /&gt;&amp;lt;/tomcat-users&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;to&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&amp;lt;tomcat-users&amp;gt;&lt;br /&gt;  &amp;lt;user name="tomcat" password="tomcat" roles="tomcat" /&amp;gt;&lt;br /&gt;  &amp;lt;user name="admin"  password="admin" roles="tomcat,manager" /&amp;gt;&lt;br /&gt;&amp;lt;/tomcat-users&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;7. Set the JAVA_HOME environment variable. To find out the value to set, I looked in /etc/alternatives for the java link and found /usr/lib/jvm/java-6-sun/jre/bin/java. So, the value for JAVA_HOME should be /usr/lib/jvm/java-6-sun/jre. Edited /etc/environment and added the line:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;JAVA_HOME="/usr/lib/jvm/java-6-sun/jre"&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;8. Gave Tomcat a trial run:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;cd [TOMCAT-HOME]/bin&lt;br /&gt;startup.sh&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Exceptions were thrown complaining that native libraries recommended for good performance in a production environment were not found. This is not relevant to my localhost dev environment.&lt;br /&gt;&lt;br /&gt;Opened a browser and went to localhost:8080. Tomcat was up and running. The Manager application worked with the userid and password I had set in tomcat-users for the admin role.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Install Administration Web Application &amp;mdash; FAIL&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;1. Unpacked the Administration Web Application tarball to a temporary location.&lt;br /&gt;&lt;br /&gt;2. Copied directory server/webapps/admin to [TOMCAT-HOME]/server/webapps.&lt;br /&gt;&lt;br /&gt;3. Copied conf/Catalina/localhost/admin.xml to [TOMCAT-HOME]/conf/Catalina/localhost.&lt;br /&gt;&lt;br /&gt;4. Restarted Tomcat.&lt;br /&gt;&lt;br /&gt;Tomcat restarted normally. Going to http://localhost:8080/admin just resulted in the default message that the Administration app is not shipped by default anymore. Going to Manager, I could see the admin application deployed but not active. Choosing &lt;i&gt;start&lt;/i&gt; resulted in an unhelpful message telling me that the app could not be started. &lt;br /&gt;&lt;br /&gt;I found a number of threads online where people had reported the same problem. There were several workarounds, and I tried a couple. Apparently this problem occurs sometimes, but not always, and people are able to work around it by uninstalling and reinstalling, possibly five or six times, but this does not always fix the problem. In my case, it made no difference. &lt;br /&gt;&lt;br /&gt;My personal view is that tools should not get in our way. The truth is I don't need the Administration app for local development. I don't really need the Deployer, either, so I blew off even trying to install it. &lt;br /&gt;&lt;br /&gt;Since I finally got a basic Tomcat instance up and running, I won't delete it. However, the next time I'm working on a Java-based webapp, I'm going to try some alternatives to Tomcat. I've heard good things about Jetty and Glassfish. There are others, as well. Tomcat used to be pretty handy, but now it's evolved to the point that there's more administrative overhead involved with it than the value it returns, for purposes of development. It's still a nice servlet container when used in conjunction with Apache HTTP Server in production, but I'm done using it as a development tool unless and until they make it work smoothly.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2010/04/installing-net-development-support.html"&gt;Installing .NET development support&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-6404966160671553519?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/6404966160671553519/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2010/04/installing-tomcat.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/6404966160671553519'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/6404966160671553519'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2010/04/installing-tomcat.html' title='Installing Tomcat (partial FAIL)'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-8433824239528056381</id><published>2010-04-11T08:30:00.006-04:00</published><updated>2010-04-13T19:15:24.377-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><title type='text'>Installing Java support</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2010/04/installing-ruby-testing-tools.html"&gt;Installing Ruby testing tools&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Since my system was trashed anyway, I decided to take the opportunity to apply lessons learned over the past few months of using Ubuntu as my primary work platform. I didn't reinstall exactly the same tools as before for Java development. I want to check out some different tools for building, version control, and continuous integration. This time around, I just installed the basic Java tools.&lt;br /&gt;&lt;br /&gt;If you're curious about experiences with installing maven2 and/or migrating Java projects from Mac OSX to Linux, please see this post: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/installing-support-for-java.html"&gt;http://kotowanandesu.blogspot.com/2009/08/installing-support-for-java.html&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;These commands get the latest and greatest JDK and make it the system default.&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;sudo apt-get install sun-java6-jdk sun-java6-plugin&lt;br /&gt;sudo update-java-alternatives -s java-6-sun&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Although Java is available for free, it is not Open Source. The Java install will prompt you to agree with license terms. So, don't expect to &amp;quot;fire and forget&amp;quot; this installer.&lt;br /&gt;&lt;br /&gt;To verify that Java 6 is the system default, check the default version:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;java -version&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2010/04/installing-tomcat.html"&gt;Installing Tomcat&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-8433824239528056381?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/8433824239528056381/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2010/04/installing-java-support.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/8433824239528056381'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/8433824239528056381'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2010/04/installing-java-support.html' title='Installing Java support'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-6751874438294859333</id><published>2010-04-11T07:11:00.004-04:00</published><updated>2010-04-11T08:31:33.292-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='rspec'/><category scheme='http://www.blogger.com/atom/ns#' term='webrat'/><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='cucumber'/><category scheme='http://www.blogger.com/atom/ns#' term='autotest'/><category scheme='http://www.blogger.com/atom/ns#' term='rcov'/><title type='text'>Installing Ruby testing tools</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2010/04/installing-rails.html"&gt;Installing Rails&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;These are tools for test-driven-, behavior-driven-, and storytest-driven-development:&lt;br /&gt;&lt;br /&gt;    * Autotest - continuous testing (part of ZenTest)&lt;br /&gt;    * Cucumber - storytest tool&lt;br /&gt;    * RCov - coverage tool&lt;br /&gt;    * rspec - BDD tool&lt;br /&gt;    * Webrat - browser simulator (used by Cucumber)&lt;br /&gt;&lt;br /&gt;On Debian variants (like Ubuntu), you have to install a couple of libraries before installing Webrat. They are needed by Nokogiri, the XML libary used in Webrat.&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;sudo gem install ZenTest&lt;br /&gt;sudo gem install rcov&lt;br /&gt;sudo gem install rspec rspec-rails&lt;br /&gt;sudo gem install cucumber&lt;br /&gt;sudo apt-get install libxslt1-dev libxml2-dev&lt;br /&gt;sudo gem install webrat&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2010/04/installing-java-support.html"&gt;Installing Java support&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-6751874438294859333?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/6751874438294859333/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2010/04/installing-ruby-testing-tools.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/6751874438294859333'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/6751874438294859333'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2010/04/installing-ruby-testing-tools.html' title='Installing Ruby testing tools'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-2200587013929650231</id><published>2010-04-11T07:08:00.003-04:00</published><updated>2010-04-11T07:16:28.357-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='rails'/><title type='text'>Installing Rails</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2010/04/installing-mysql-and-ruby-bindings.html"&gt;Installing MySQL and Ruby bindings&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Use Gems to install Rails. Open a Terminal window and enter&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;cd ~&lt;br /&gt;sudo gem install rails&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;If the installation succeeded, the following command will display version information:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;rails -v&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2010/04/installing-ruby-testing-tools.html"&gt;Installing Ruby testing tools&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-2200587013929650231?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/2200587013929650231/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2010/04/installing-rails.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/2200587013929650231'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/2200587013929650231'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2010/04/installing-rails.html' title='Installing Rails'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-7603794461370406416</id><published>2010-04-10T23:55:00.002-04:00</published><updated>2010-04-11T07:13:55.905-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><category scheme='http://www.blogger.com/atom/ns#' term='configuration'/><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><title type='text'>Installing MySQL and ruby bindings</title><content type='html'>Installing MySQL and ruby bindings&lt;br /&gt;&lt;br /&gt;Previous: &lt;a href="http://kotowanandesu.blogspot.com/2010/04/installing-basic-ruby-support.html"&gt;Installing basic ruby support&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;MySQL Server&lt;/h3&gt;&lt;br /&gt;In Terminal, install MySQL Server with apt:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;sudo apt-get install mysql-server&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;During installation, you will be prompted to enter a password for the root mysql user. While it's possible to run mysql with no root password, it's generally considered a good practice to use a password.&lt;br /&gt;&lt;br /&gt;The installation will automatically start the server. To verify the installation was successful, check to see if the server is running:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;ps ax | grep mysql&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;You can also check for the existence of this file, which exists when the server is running:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;/var/run/mysqld/mysqld.pid&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;The commands to stop and start MySQL Server are&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;sudo /etc/init.d/mysql stop&lt;br /&gt;sudo /etc/init.d/mysql start&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;If you want to stop the server while continuing to install software, you can do so.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;MySQL command-line client&lt;/h3&gt;&lt;br /&gt;I wanted to configure MySQL to put database data somewhere under my /home directory because it's in a large partition and so that it will be easy to backup and restore my data. To do this, I created the data directory and set permissions so mysql could use it:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;cd&lt;br /&gt;mkdir -p .mysql/data&lt;br /&gt;chown mysql .mysql .mysql/data&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Now stop the mysql server. &lt;br /&gt;&lt;br /&gt;Edit the file /etc/mysql/my.cnf. Look for the section labeled [mysqld] and change (or add) the &lt;i&gt;datadir&lt;/i&gt; specification:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;datadir=/home/&lt;i&gt;you&lt;/i&gt;/.mysql/data&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;After making those changes, start the server. &lt;br /&gt;&lt;br /&gt;To see if the configuration changes worked, start a command-line client&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;mysql -u root -p&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;If it starts normally, then the server is running and the localhost connection is working. To ensure mysql is using the datadir you specified, create a test database:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;create database test1;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Exit the command-line client by typing &amp;quot;quit&amp;quot;. Change to the directory you specified as &lt;i&gt;datadir&lt;/i&gt;. If you don't have permission to cd to the directory, use sudo to add read and execute privileges on it. (You need execute privileges to cd to a directory.)&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;MySQL GUI client&lt;/h3&gt;&lt;br /&gt;From the main menu bar, choose &lt;i&gt;Applications &amp;gt; Add/Remove...&lt;/i&gt;. &lt;br /&gt;&lt;br /&gt;1. If prompted to update the list of available packages, do so. &lt;br /&gt;&lt;br /&gt;2. Under &lt;i&gt;Show&lt;/i&gt;, choose &lt;i&gt;All available applications&lt;/i&gt;. &lt;br /&gt;&lt;br /&gt;3. A few applications may be pre-selected for you. Browse the list and see if you really want any of these. De-select the checkboxes for the ones you don't want. In some cases, the system will warn you that other packages depend on the one you're trying to de-select. In that case, you will need to install it.&lt;br /&gt;&lt;br /&gt;4. Select &amp;quot;MySQL Administrator&amp;quot; for a GUI client and &amp;quot;MySQL Query Browser&amp;quot; for a GUI tool to run queries. (If you type &amp;quot;my&amp;quot; in the &lt;i&gt;Search:&lt;/i&gt; field, the list will jump right to these entries.)&lt;br /&gt;&lt;br /&gt;5. Choose &lt;i&gt;Apply Changes&lt;/i&gt; to proceed with the installation. If any of the applications requires administrator rights to install, the system will prompt for your administrator password. This is normal and not an exploit.&lt;br /&gt;&lt;br /&gt;After the installer finishes, the two applications will appear under Applications &amp;gt; Programming from the main menu bar.&lt;br /&gt;&lt;br /&gt;To ensure MySQL Administrator was installed correctly, with the MySQL server running, go to Applications &amp;gt; Programming and select MySQL Administrator from the menu. The program should open a window containing a form where you can enter connection information. Enter &amp;quot;localhost&amp;quot; for &lt;i&gt;host&lt;/i&gt;, &amp;quot;root&amp;quot; for &lt;i&gt;user&lt;/i&gt;, and the password you defined earlier for &lt;i&gt;password&lt;/i&gt;. If you didn't define a password earlier, then leave the &lt;i&gt;password&lt;/i&gt; field empty. Choose &lt;i&gt;Connect&lt;/i&gt;. &lt;br /&gt;&lt;br /&gt;Check the installation of MySQL Query Browser in the same way.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Install Ruby bindings for MySQL&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;Open a Terminal window and enter the following commands:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;cd ~&lt;br /&gt;sudo apt-get install libmysql-ruby libmysqlclient-dev&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;The package libmysqlclient-dev is a virtual package. When you run the command above, you will see an error message that shows the name of the real package. Substitute it in the command line and run it again. When I ran it, it showed libmysqlclient15-dev, so I ran the command this way:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;sudo apt-get install libmysql-ruby libmysqlclient15-dev&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Run this command to build it:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;sudo gem install mysql&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Expect a lot of error messages for missing definitions in ri and rdoc. As long as the gem and native extensions build okay, you're good to go.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2010/04/installing-rails.html"&gt;Installing Rails&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-7603794461370406416?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/7603794461370406416/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2010/04/installing-mysql-and-ruby-bindings.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/7603794461370406416'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/7603794461370406416'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2010/04/installing-mysql-and-ruby-bindings.html' title='Installing MySQL and ruby bindings'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-3189979986031678435</id><published>2010-04-09T07:54:00.006-04:00</published><updated>2010-04-10T23:57:13.969-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='gems'/><title type='text'>Installing basic ruby support</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2010/04/rethinking-directory-structure.html"&gt;Rethinking directory structure&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Still recovering from the system problem reported earlier.&lt;br /&gt;&lt;br /&gt;I documented this &lt;a href="http://kotowanandesu.blogspot.com/2009/08/installing-support-for-ruby.html"&gt;before&lt;/a&gt;, but I've learned a few things since then so some of these steps may be a bit different. If you're using this as a guide for setting up your own Ubuntu system, I'd suggest using the latest posts on each topic.  &lt;br /&gt;&lt;br /&gt;First, I need support for git:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;sudo apt-get install git-core&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;I want to install various software development tools. Let's start with Ruby. I'll take care of plug-ins and so forth later, when setting up specific projects. For the moment I just want to get basic tools installed.&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;sudo apt-get install ruby-full&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;and verify it worked&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;ruby -v&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Also need ruby gems support. The ruby community reports problems when apt is used to install rubygems. The following procedure is recommended instead.&lt;br /&gt;&lt;br /&gt;Take your browser to &lt;a href="http://rubyforge.org/frs/?group_id=126"&gt;http://rubyforge.org/frs/?group_id=126&lt;/a&gt;. In the list of available downloads, hover the mouse cursor over the name of the one you want to see which URL would be downloaded (but don't download it yet). In my case, the URL was http://rubyforge.org/frs/download.php/69365/rubygems-1.3.6.tgz.&lt;br /&gt;&lt;br /&gt;The key elements to note are the numerical path segment 69365 and the version number, 1.3.6. These elements will vary as new releases are posted. Not very RESTful, I suppose.&lt;br /&gt;&lt;br /&gt;Armed with this information, get rubygems this way:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;cd ~&lt;br /&gt;wget http://rubyforge.org/frs/download.php/69365/rubygems-1.3.6.tgz&lt;br /&gt;tar xzvf rubygems-1.3.6.tgz&lt;br /&gt;cd rubygems-1.3.6&lt;br /&gt;sudo ruby setup.rb&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;The setup.rb script will display the name of the rubygems executable on the console, like this:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;RubyGems installed the following executables:&lt;br /&gt; /usr/bin/gem1.8&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Use the name to set a symlink like the following&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;sudo ln -s /usr/bin/gem1.8 /usr/bin/gem&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;and verify it worked&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;cd ~&lt;br /&gt;gem -v&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;It will display the version number of gems that is installed. This should match the version number you found on rubyforge.&lt;br /&gt;&lt;br /&gt;Now you can delete the installation directory and the tarball:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;rm -r rubygems-1.3.6&lt;br /&gt;rm rubygems-1.3.6.tgz&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Note that the software is installed under /usr. This is the reason I decided to mount /usr from its own partition. I will be able to repair or upgrade Ubuntu itself without having to reinstall all my software piece by piece. &lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2010/04/installing-mysql-and-ruby-bindings.html"&gt;Installing MySQL, admin tools, and ruby bindings&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-3189979986031678435?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/3189979986031678435/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2010/04/installing-basic-ruby-support.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/3189979986031678435'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/3189979986031678435'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2010/04/installing-basic-ruby-support.html' title='Installing basic ruby support'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-2739756733838731192</id><published>2010-04-09T07:51:00.007-04:00</published><updated>2010-04-14T08:35:25.640-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='configuration'/><category scheme='http://www.blogger.com/atom/ns#' term='personalization'/><title type='text'>Rethinking directory structure</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2010/04/interesting-times.html"&gt;Interesting times&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Recovering from interesting times&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;So, I've got most of my work on an external drive and I've got a nice fresh /home in its own partition. Why not just slap the contents of the backup into /home and declare victory? Well, a fair amount of cruft has accumulated in my /home directory. It could be organized more conveniently. I've got various software development tools installed here and there, and shell scripts in various places. And I really don't need all the jar files and libraries and sample code and old projects and local maven repo and copies of articles to read in my spare time and on and on and on. It's just clutter.&lt;br /&gt;&lt;br /&gt;I took the time to decide what I really need on this machine and how it should be organized, and then selectively restore those items from the backup. I also decided to reinstall just the software that I'm actively using, rather than to reinstall everything that had been on the system before.&lt;br /&gt;&lt;br /&gt;The default /home directory structure is:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;/home&lt;br /&gt;    |&lt;br /&gt;    +---- Desktop&lt;br /&gt;    |&lt;br /&gt;    +---- Documents&lt;br /&gt;    |&lt;br /&gt;    +---- Music&lt;br /&gt;    |&lt;br /&gt;    +---- Pictures&lt;br /&gt;    |&lt;br /&gt;    +---- Public&lt;br /&gt;    |&lt;br /&gt;    +---- Templates&lt;br /&gt;    |&lt;br /&gt;    +---- Videos&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Microsoft Windows and Mac OS X also ship with a similar default directory structure. The default structure is only a suggestion, to help novice computer users get started. But I just don't organize information according to file type (music, pictures, videos, etc.) I keep files that pertain to a given topic together, whatever their various formats and types. I decided to define a structure that reflects the way I usually think about what I'm doing with the computer. &lt;br /&gt;&lt;br /&gt;At the highest level, I don't want to have to look at a million folder names to find what I'm looking for. It boils down to this:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;/home&lt;br /&gt;    |&lt;br /&gt;    +---- Desktop&lt;br /&gt;    |&lt;br /&gt;    +---- Personal&lt;br /&gt;    |&lt;br /&gt;    +---- Professional&lt;br /&gt;    |&lt;br /&gt;    +---- .bin&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;I changed the top-level directory structure just below /home to the above, and removed the old directory names from the Places pane.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2010/04/installing-basic-ruby-support.html"&gt;Installing basic ruby support&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-2739756733838731192?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/2739756733838731192/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2010/04/rethinking-directory-structure.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/2739756733838731192'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/2739756733838731192'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2010/04/rethinking-directory-structure.html' title='Rethinking directory structure'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-3946055340899209595</id><published>2010-04-09T07:49:00.002-04:00</published><updated>2010-04-10T10:02:52.715-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='troubleshooting'/><category scheme='http://www.blogger.com/atom/ns#' term='configuration'/><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Interesting times</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2009/12/microsoft-drives-another-windows-user.html"&gt;Microsoft drives another Windows user to Linux&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Interesting times&lt;/h3&gt;&lt;br /&gt;My Ubuntu system had a bad night. I deleted some files from my external hard drive. When I clicked on "empty the trash," odd things started to happen. The external drive's filesystem switched to read-only mode. No error messages that I could find. At some point while I was fiddling around to try and clear out the trash folders, either I did something inadvertently or a glitch in the driver corrupted part of the Ubuntu kernel. &lt;br /&gt;&lt;br /&gt;Now Ubuntu couldn't mount filesystems on the internal hard drive. I tried rebooting, on the chance that a fresh start would clear up whatever was wrong. No such luck. Now Ubuntu couldn't boot. &lt;br /&gt;&lt;br /&gt;Using someone else's system and Internet connection, I searched for help. I discovered this sort of thing has happened to other Ubuntu users. Apparently the only thing to be done is to reinstall fresh. &lt;br /&gt;&lt;br /&gt;The downside: My system was dead in the water. I was in a hotel room, far from any helpful resources I might have had in my home office. &lt;br /&gt;&lt;br /&gt;The upside: I had a backup of my work from a few days earlier. I had bootable CDs with me for Ubuntu 9.10 and 9.04. I had my Firefox bookmarks online on &lt;a href="http://www.xmarks.com/"&gt;XMarks&lt;/a&gt;, where I could sync them when ready. Finally, this very blog contains instructions for installing and configuring my system, and warnings about what not to do, just in case I've forgotten. Things could have been so much worse!&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Recovering the system&lt;/h3&gt;&lt;br /&gt;I decided to take the opportunity to do a bit of housecleaning and to apply some of the lessons learned so far in my n00b journey. My hard drive had a dual-boot configuration with Ubuntu and Microsoft Windows Vista. It occurred to me that I hadn't even thought about booting into Windows in the past few months. Why use up half the hard drive space with Windows partitions? &lt;br /&gt;&lt;br /&gt;More housecleaning: I had read that most Ubuntu users define a separate partition for their /home directory. It makes upgrades easier, since you can install a new release of the OS in the root partition and keep your /home intact. Another thing I've learned is that /usr/local and /usr/share are updated when you install software and customize gnome. You don't have to install things in those locations, but they are default locations. With that in mind I wiped the drive and created the following partitions:&lt;br /&gt;&lt;br /&gt;* /&lt;br /&gt;* /usr&lt;br /&gt;* /home&lt;br /&gt;* swap&lt;br /&gt;&lt;br /&gt;I tried installing from the 9.10 disk, and had problems. Again using someone else's system to look for help, I learned that 9.10 has some known kernel issues, one of which is that it doesn't support the wireless adapter that my machine has (Intel AGN 5100). It also seemed to have problems mounting the /home and /usr partitions. No helpful error messages.&lt;br /&gt;&lt;br /&gt;Next I installed from the 9.04 disk, and had similar problems booting and mounting the partitions. I also noticed that there was no driver for the wireless adapter and that audio was disabled. I remembered that these problems had been fixed at some stage in the evolution of 9.04, and surmised that I had an old release of Ubuntu on that disk.&lt;br /&gt;&lt;br /&gt;I installed from the 9.04 disk again, this time defining just one partition for the whole OS. This instance could boot, but had no network support. Again using another system, I downloaded the last stable Ubuntu 9.04 iso from &lt;a href="http://releases.ubuntu.com/9.04/"&gt;releases.ubuntu.com/9.04&lt;/a&gt; to a thumb drive, and used the old 9.04 instance to burn it to a DVD.&lt;br /&gt;&lt;br /&gt;This version of 9.04 installed nicely into the partitioning scheme described above and booted without complaint. I felt like the Apollo 13 astronauts after they'd restarted the Command Module. Well, okay, maybe that's a stretch.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Update mistake&lt;/h3&gt;&lt;br /&gt;To bring the new instance up to date, I opened a Terminal window and ran these commands:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;sudo apt-get update&lt;br /&gt;sudo apt-get upgrade&lt;br /&gt;sudo apt-get build-essential&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;At this point I made a mistake. I used Update Manager to check for available updates and install them. After more than two hours, the update process became confused when trying to install a package. The process hung, and the last message on the console was "stopping bluetooth." I waited a while just in case it was doing something under the covers, but ultimately I killed the process and rebooted. The system was very confused about what was installed and what wasn't. Network support was gone again. &lt;br /&gt;&lt;br /&gt;Since I was still early in the recovery process, I just reinstalled from scratch again. This time, after running the update commands in Terminal, I didn't try to do any updates through Update Manager.&lt;br /&gt;&lt;br /&gt;To the contrary, I started the gnome configuration editor (alt+F2, enter gconf-editor, click Run), went to apps &amp;gt; Update Notifier, and deselected the auto-run checkbox. This is to protect myself from responding to the prompt about available updates. I'll update packages that are flagged as dependencies for software that I want to install. Otherwise, I'll stick with the working version of 9.04.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2010/04/rethinking-directory-structure.html"&gt;Rethinking directory structure&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-3946055340899209595?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/3946055340899209595/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2010/04/interesting-times.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/3946055340899209595'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/3946055340899209595'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2010/04/interesting-times.html' title='Interesting times'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-2315454390370890376</id><published>2009-12-03T07:30:00.004-05:00</published><updated>2009-12-03T07:40:15.245-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='usability'/><category scheme='http://www.blogger.com/atom/ns#' term='wubi'/><category scheme='http://www.blogger.com/atom/ns#' term='vista'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='dual-boot'/><title type='text'>Microsoft drives another Windows user to Linux</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2009/12/cd-to-mp3-conversion.html"&gt;CD to MP3 conversion&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This is a Good News, Bad News post. The Good News is summarized by the title of the post. The Bad News is called "Ease of Access."&lt;br /&gt;&lt;br /&gt;My wife recently had a strange problem with Microsoft Windows Vista. For no apparent reason and at irregular times, a pop-up window appeared offering various accessibility options, and a synthesized voice read the contents of the screen aloud. This was particularly puzzling since nothing of the sort has happened in the several years she has been using the machine, running the very same copy of Windows Vista the whole time. &lt;br /&gt;&lt;br /&gt;We learned this annoyance is an intentional feature of Windows Vista, ironically named Ease of Access. Far from making access "easy," its actual effect is to render the system completely unusable. With the feature active, whenever you type more than three characters into any input field in any program, the Ease of Access pop-up window appears and takes control of all keyboard input. The feature seems to activate and deactivate itself whenever it feels the urge.&lt;br /&gt;&lt;br /&gt;I found an inquiry on a Microsoft forum from a customer who was experiencing the same problem: &lt;a href="http://social.answers.microsoft.com/Forums/en-US/vistaappearance/thread/cefa6d08-f32f-4de6-a74f-a6bd53843b52"&gt;http://social.answers.microsoft.com/Forums/en-US/vistaappearance/thread/cefa6d08-f32f-4de6-a74f-a6bd53843b52&lt;/a&gt;. He writes, "...i have had nothing but trouble with the ease of access randomly opening without provacation, EVEN AT START UP before I have even logged on to my computer, when it is doing that I can almost NOT CONTROL my mouse at all, it keeps pulling my mouse down to the lower left of my screen and opens up!" &lt;br /&gt;&lt;br /&gt;A Microsoft engineer with the screen name "Keith" replied, "...Ease of Access is built into the operating system and you will not be able to uninstall it but...you can search the Web for a 3d party program that will disable Ease of Access." He goes on to warn us about the dangers of running programs not published by Microsoft Corporation.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Restoring keyboard control and blessed silence&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;I found that by unchecking the appropriate checkbox we could silence the annoying synthesized voice, but we were unable to find a way to disable the Ease of Access feature altogether. "Keith" offered the following suggestion to disable the onscreen keyboard:&lt;br /&gt;&lt;br /&gt;1. Click the Start Orb on the Desktop&lt;br /&gt;&lt;br /&gt;2. Select Control Panel&lt;br /&gt;&lt;br /&gt;3. Select Ease of Access (Classic View)&lt;br /&gt;&lt;br /&gt;4. Select Use the computer without a mouse or keyboard&lt;br /&gt;&lt;br /&gt;5. Remove the Checkmark by Use On-Screen Keyboard&lt;br /&gt;&lt;br /&gt;6. Select Apply and then close the window&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Disabling the Ease of Access button on the logon screen&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;There is no practical way to remove the Ease of Access feature from Windows, since Microsoft have so cleverly hard-wired the bloody thing into the guts of the OS. There is a free download from &lt;a href="http://www.softpedia.com"&gt;Softpedia&lt;/a&gt; called Ease of Access Disabler that can render the Ease of Access button on the logon screen inactive. The program is described at &lt;a href="http://www.softpedia.com/get/Tweak/System-Tweak/Ease-of-Access-disabler.shtml"&gt;http://www.softpedia.com/get/Tweak/System-Tweak/Ease-of-Access-disabler.shtml&lt;/a&gt;. This will, at least, protect you from people who play pranks by activating Ease of Access while you're away from your desk (yes, that's right: anyone can change the settings, even when the computer is locked - another clever design point by the fine folks at Microsoft), as well as protecting you from accidentally clicking on the button yourself.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Please welcome a new Linux user&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;My wife is a long-time user of Windows and has resisted change, even through the years when I switched to the Mac and later to Linux. In the past when I've mentioned ease of use and convenient features of other operating systems, she has responded with the sort of friendly pro- and anti-Microsoft banter that many people enjoy. You know the script: "I'm a PC, ha ha ha." So, I figured she simply preferred Windows, and that's fine. It's a personal choice.&lt;br /&gt;&lt;br /&gt;As I tinkered with her machine in search of a solution, my wife grew impatient. I told her that I knew she liked Windows, so I wanted to try and fix the problem for her. Exasperated, she said "I don't care if it's Windows or Utoombo or Watonga or whatever. &lt;i&gt;I just want to use my computer!&lt;/i&gt;"&lt;br /&gt;&lt;br /&gt;Well, I can relate to that. &lt;br /&gt;&lt;br /&gt;I had recently installed Wubi on that machine and set up a dual boot with Ubuntu and Vista. I showed her how to log in and where to find her files. She was already using OpenOffice and Firefox, so those programs were familiar. Ubuntu supports our wireless printer and household network out of the box. I showed her how to play audio CDs on Ubuntu. Now she can do everything on Ubuntu she ever did on Vista, with the sole exception of running a client for an online game site that is only available for Windows or OS X. When she wants to play, she takes her chances with Ease of Access popping up. If worse comes to worst, she can download the game client for OS X and use my old MacBook Pro for that activity. &lt;br /&gt;&lt;br /&gt;Next: &lt;a href=""&gt;TBD&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-2315454390370890376?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/2315454390370890376/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2009/12/microsoft-drives-another-windows-user.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/2315454390370890376'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/2315454390370890376'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2009/12/microsoft-drives-another-windows-user.html' title='Microsoft drives another Windows user to Linux'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-5642002234566183904</id><published>2009-12-01T21:13:00.002-05:00</published><updated>2009-12-03T07:32:34.402-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mp3'/><category scheme='http://www.blogger.com/atom/ns#' term='grip'/><category scheme='http://www.blogger.com/atom/ns#' term='audio'/><category scheme='http://www.blogger.com/atom/ns#' term='rip'/><title type='text'>CD to MP3 conversion</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2009/11/installing-wubi-on-hp-pavilion-notebook.html"&gt;Installing Wubi on HP Pavilion notebook&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;RubyRipper - FAIL&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;RubyRipper was recommended on the Ubuntu community documentation site. To install it, install dependencies:&lt;pre&gt;sudo apt-get install cd-discid cdparanoia flac lame mp3gain normalize-audio ruby-gnome2 ruby vorbisgain&lt;/pre&gt;Get RubyRipper from &lt;a href="http://linux.softpedia.com/progDownload/Rubyripper-Download-20741.html"&gt;http://linux.softpedia.com/progDownload/Rubyripper-Download-20741.html&lt;/a&gt; and follow the installation instructions for the format of your choice. I used the Debian package install, and it seemed to work fine.&lt;br /&gt;&lt;br /&gt;RubyRipper then appeared in the Gnome menu under Applications -&gt; Sound and Video. I tried it with a couple of CDs and specifying different output formats with absolutely no success. As far as I can tell, RubyRipper doesn't even begin to work.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Grip&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;Grip was also mentioned on the community documentation site. The project home page at &lt;a href="http://nostatic.org/grip/grip-download.shtml"&gt;http://nostatic.org/grip/grip-download.shtml&lt;/a&gt; does not mention an Ubuntu repository package, but when I ran&lt;pre&gt;sudo apt-get install grip&lt;/pre&gt;it installed fine and Grip then appeared in the Gnome menu under Applications -&gt; Sound and Video. &lt;br /&gt;&lt;br /&gt;On starting Grip, it warned me that it was a development version and not a stable version. I tried it with the same CDs as I had used to test RubyRipper. Worked fine, no problems.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2009/12/microsoft-drives-another-windows-user.html"&gt;Microsoft drives another Windows user to Linux&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-5642002234566183904?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/5642002234566183904/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2009/12/cd-to-mp3-conversion.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/5642002234566183904'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/5642002234566183904'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2009/12/cd-to-mp3-conversion.html' title='CD to MP3 conversion'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-3345002741354720980</id><published>2009-11-24T08:43:00.003-05:00</published><updated>2009-12-01T21:29:09.018-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='troubleshooting'/><category scheme='http://www.blogger.com/atom/ns#' term='hp-pavilion'/><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='32bit'/><category scheme='http://www.blogger.com/atom/ns#' term='wubi'/><title type='text'>Installing Wubi on HP Pavilion notebook</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2009/11/flash-player-for-firefox-libnspr4-dev.html"&gt;Flash player for Firefox libnspr4-dev dependency&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I liked Wubi so well on my Acer netbook that I installed it on my wife's HP Pavilion laptop as well. After rebooting the first time to complete the basic installation, the grub boot loader would never recognize the Linux OS. I tried various this to fix it but was unable to get it to work.&lt;br /&gt;&lt;br /&gt;I noticed that the Wubi installer site always downloaded the 64-bit version of the program and offered no way to override this. The Wubi FAQ at &lt;a href="http://wubi-installer.org/faq.php"&gt;http://wubi-installer.org/faq.php&lt;/a&gt; includes an entry about installing the 32-bit version of Wubi. It suggested running Wubi from a command line with the 32-bit option:&lt;pre&gt;wubi --32bit&lt;/pre&gt;This worked, and the HP Pavilion now has an Ubuntu instance installed.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2009/12/cd-to-mp3-conversion.html"&gt;CD to MP3 conversion&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-3345002741354720980?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/3345002741354720980/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2009/11/installing-wubi-on-hp-pavilion-notebook.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/3345002741354720980'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/3345002741354720980'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2009/11/installing-wubi-on-hp-pavilion-notebook.html' title='Installing Wubi on HP Pavilion notebook'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-8739812171142669243</id><published>2009-11-24T08:37:00.007-05:00</published><updated>2009-11-24T08:50:26.395-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='video'/><category scheme='http://www.blogger.com/atom/ns#' term='dependency'/><category scheme='http://www.blogger.com/atom/ns#' term='firefox'/><category scheme='http://www.blogger.com/atom/ns#' term='troubleshooting'/><category scheme='http://www.blogger.com/atom/ns#' term='libnspr4-dev'/><category scheme='http://www.blogger.com/atom/ns#' term='flash'/><title type='text'>Flash player for Firefox libnspr4-dev dependency</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2009/11/installing-wubi-on-acer-netbook.html"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Ran into a dependency problem with Ubuntu Karmic 9.10: Adobe Flash player plugin for Firefox depends on package libnspr4-dev, which apparently is problematic for one reason or another. I got the player to install by doing the following:&lt;pre&gt;sudo apt-get update&lt;br /&gt;sudo apt-get install libnspr4-dev&lt;/pre&gt;Without doing the update first, the install warned that it would remove several packages, including Firefox itself. Not very convenient.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2009/11/installing-wubi-on-hp-pavilion-notebook.html"&gt;Installing Wubi on HP Pavilion notebook&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-8739812171142669243?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/8739812171142669243/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2009/11/flash-player-for-firefox-libnspr4-dev.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/8739812171142669243'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/8739812171142669243'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2009/11/flash-player-for-firefox-libnspr4-dev.html' title='Flash player for Firefox libnspr4-dev dependency'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-4267996282760093010</id><published>2009-11-15T16:33:00.018-05:00</published><updated>2009-11-24T08:42:44.025-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='configuration'/><category scheme='http://www.blogger.com/atom/ns#' term='development'/><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='wubi'/><category scheme='http://www.blogger.com/atom/ns#' term='rails'/><category scheme='http://www.blogger.com/atom/ns#' term='acer'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='monodevelop'/><category scheme='http://www.blogger.com/atom/ns#' term='netbook'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='karmic'/><category scheme='http://www.blogger.com/atom/ns#' term='tomcat'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Installing Wubi on Acer Netbook</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2009/11/firefox-addon-toolbar-buttons-not.html"&gt;Firefox addon toolbar buttons not displayed&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I've been using my Toshiba Satellite as my main workhorse, and my Acer Netbook as a system for running presentations at conferences and user group meetings and for clients. I took only the Acer with me on a business trip recently, and I became quite frustrated with using Windows XP all the time, rather than just for running presentations. Besides that, I missed having the usual tools available. I decided to load Ubuntu Linux on the Acer so I would have similar environments on both machines, and to avoid the hassle of using Windows.&lt;br /&gt;&lt;br /&gt;I have a conventional dual-boot setup on the Toshiba. For the Acer, I decided to try Wubi, a program for Microsoft Windows that manages an Ubuntu dual boot for you, without your having to repartition the hard drive manually. I wanted to see how the user experience compares with the conventional dual boot setup. &lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Wubi install&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;First, I went to &lt;a href="http://wubi-installer.org/"&gt;http://wubi-installer.org/&lt;/a&gt; and downloaded the Wubi installer.&lt;br /&gt;&lt;br /&gt;Next, I started Windows XP on the Acer and ran the installer, following the prompts as needed. Everything went smoothly.&lt;br /&gt;&lt;br /&gt;After rebooting into Ubuntu Linux, Wubi copied the basic installation files and set up its pseudo partition. It installed 9.10 Karmic.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Making Ubuntu the default OS on boot&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;By default, Wubi has Windows as the default OS. To change that, here is what I did:&lt;br /&gt;&lt;br /&gt;1. Boot into Windows XP.&lt;br /&gt;&lt;br /&gt;2. Go to Control Panel &lt;br /&gt;&lt;br /&gt;3. Switch to Classic View&lt;br /&gt;&lt;br /&gt;4. Choose: System -&gt; Advanced -&gt; Startup and Recovery &lt;br /&gt;&lt;br /&gt;5. From "Default Operating System" drop-down list, choose "Ubuntu"&lt;br /&gt;&lt;br /&gt;6. Click OK on all open dialog windows to close them&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Ubuntu upgrade&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;From there, I followed my own instructions for updating the system and loading the various programs I use, starting with this blog post: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/updating-ubuntu.html"&gt;http://kotowanandesu.blogspot.com/2009/08/updating-ubuntu.html&lt;/a&gt;. The system upgrade went smoothly.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Ruby development support&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;The next step was to install support for ruby development. I followed the steps I had documented previously in this post: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/installing-support-for-ruby.html"&gt;http://kotowanandesu.blogspot.com/2009/08/installing-support-for-ruby.html&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Things had changed a bit since I installed 9.04. Here are the differences I encountered:&lt;br /&gt;&lt;br /&gt;1. When I ran the command&lt;pre&gt;sudo apt-get install libmysql-ruby libmysqlclient-dev&lt;/pre&gt;the virtual package name libmysqlclient-dev was resolved automatically and the correct components were installed without the need for any additional action on my part.&lt;br /&gt;&lt;br /&gt;2. When I installed the ruby bindings for MySQL, the software installed correctly but the ri documentation was missing a lot of bits and pieces. I did not consider this a serious problem.&lt;br /&gt;&lt;br /&gt;3. The menu option Applications -&gt; Add/Remove Applications was replaced by Ubuntu Software Center. I discovered that when I started to type the name of an application into the search box, it auto-filled all matching names. This was faster than the old way of finding the packages I wanted. &lt;br /&gt;&lt;br /&gt;No problems with the rest of the ruby-related stuff, except some of the ri docs for nokogiri were missing. For the scripts and aliases documented in the original blog post, I just copied the files from the Toshiba laptop.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Java development support&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;I followed the instructions I had documented earlier in this post: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/installing-support-for-java.html"&gt;http://kotowanandesu.blogspot.com/2009/08/installing-support-for-java.html&lt;/a&gt;. Everything worked the same as the first time, with the following exceptions:&lt;br /&gt;&lt;br /&gt;1. Eclipse Galileo was installed by default. No additional steps were needed on my part.&lt;br /&gt;&lt;br /&gt;2. Previously, Eclipse installed with a default value for the classpath variable M2_REPO. This time, it had no default definition. In Eclipse, under Window -&gt; Preferences -&gt; Java -&gt; Build Path -&gt; Classpath Variables, I added M2_REPO to point to /home/dave/.m2.&lt;br /&gt;&lt;br /&gt;3. This time, migrating my existing projects to the new instance of Ubuntu was easier, since I was copying them from another Ubuntu instance that was configured in the same way. The first time around, I copied project files from an OS X system that was configured a bit differently. &lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Tomcat install&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;I had some difficulty with the standard installation procedure the first time around, as described in this post: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/installing-tomcat.html"&gt;http://kotowanandesu.blogspot.com/2009/08/installing-tomcat.html&lt;/a&gt;. This time, I checked for updated documentation and found this information about installing Tomcat 6 on Ubuntu 9.10: &lt;a href="https://help.ubuntu.com/9.10/serverguide/C/tomcat.html"&gt;https://help.ubuntu.com/9.10/serverguide/C/tomcat.html&lt;/a&gt;. Per that documentation, I ran the command&lt;pre&gt;sudo apt-get install tomcat6&lt;/pre&gt;and the It Works! page came up fine.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;ColdFusion install&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;I skipped the ColdFusion installation for the moment, since I wouldn't need it in the near future.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;.NET support&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;As before (see &lt;a href="http://kotowanandesu.blogspot.com/2009/08/installing-support-for-net.html"&gt;http://kotowanandesu.blogspot.com/2009/08/installing-support-for-net.html&lt;/a&gt;), I entered the command&lt;pre&gt;sudo apt-get install mono-devel&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;To install the IDE, used Ubuntu Software Center, and then found it under Applications -&gt; Programming. Go figure. I didn't try the Hello, World! programs this time, because I'm confident in the package.&lt;br /&gt;&lt;br /&gt;The NUnit and debugger installs went smoothly.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Git install&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;The git install went smoothly, as documented here: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/installing-git.html"&gt;http://kotowanandesu.blogspot.com/2009/08/installing-git.html&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;eXPlainPMT install&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;I skipped this install, since I've started using the Kanban approach rather than the iterative approach on personal development projects.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Firefox development add-ons&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;I skipped this, since I won't be using the Acer as my primary development platform.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;...and the rest of it&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;All that remained was to copy files from the Toshiba to the Acer. Up and running!&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2009/11/flash-player-for-firefox-libnspr4-dev.html"&gt;Flash player for Firefox libnspr4-dev dependency&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-4267996282760093010?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/4267996282760093010/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2009/11/installing-wubi-on-acer-netbook.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/4267996282760093010'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/4267996282760093010'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2009/11/installing-wubi-on-acer-netbook.html' title='Installing Wubi on Acer Netbook'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-1125256780110736491</id><published>2009-11-01T09:30:00.005-05:00</published><updated>2009-11-15T16:47:21.100-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='firefox'/><category scheme='http://www.blogger.com/atom/ns#' term='troubleshooting'/><category scheme='http://www.blogger.com/atom/ns#' term='addons'/><category scheme='http://www.blogger.com/atom/ns#' term='buttons'/><title type='text'>Firefox addon toolbar buttons not displayed</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2009/10/troubles-with-flash-player.html"&gt;Troubles with Flash player&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;After installing some addons to Firefox, I noticed that some of the buttons associated with addons that were supposed to show up on the navigation bar were not displayed. From &lt;a href="http://www.ideashower.com/support/read-it-later/cant-find-read-it-later-button/"&gt;a thread&lt;/a&gt; on the Read It Later site, I learned that the &amp;quot;Ubuntu Firefox Modifications&amp;quot; addon may cause this problem. I disabled &amp;quot;Ubuntu Firefox Modifications&amp;quot; and the problem was solved. &lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2009/11/installing-wubi-on-acer-netbook.html"&gt;Installing Wubi on Acer Netbook&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-1125256780110736491?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/1125256780110736491/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2009/11/firefox-addon-toolbar-buttons-not.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/1125256780110736491'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/1125256780110736491'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2009/11/firefox-addon-toolbar-buttons-not.html' title='Firefox addon toolbar buttons not displayed'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-1885038787501477313</id><published>2009-10-28T15:23:00.010-04:00</published><updated>2009-11-01T10:26:07.482-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='video'/><category scheme='http://www.blogger.com/atom/ns#' term='firefox'/><category scheme='http://www.blogger.com/atom/ns#' term='troubleshooting'/><category scheme='http://www.blogger.com/atom/ns#' term='media-player'/><category scheme='http://www.blogger.com/atom/ns#' term='plugin'/><category scheme='http://www.blogger.com/atom/ns#' term='mplayer'/><title type='text'>Troubles with Flash player</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2009/10/static-from-speakers.html"&gt;Static from the speakers&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I had been having a lot of trouble with the Flash player plugin for Firefox on Ubuntu. When I first switched to Ubuntu, there was no Flash plugin for 64-bit Linux in general release. After a while, they published an &amp;quot;alpha&amp;quot; version, and it appeared to work. But after the latest Firefox upgrade, YouTube videos did not play and no error message was displayed to indicate any problems with the plugin.&lt;br /&gt;&lt;br /&gt;A post on &lt;a href="https://answers.launchpad.net/ubuntu/+source/firefox/+question/36307"&gt;launchpad.net&lt;/a&gt; suggested using any of the following Firefox plugins:&lt;ul&gt;&lt;br /&gt;&lt;li&gt;MPlayer (package name mozilla-mplayer)&lt;/li&gt;&lt;li&gt;Totem (package name totem-mozilla)&lt;/li&gt;&lt;li&gt;VLC (package name mozilla-plugin-vlc)&lt;/li&gt;&lt;/ul&gt;I've noticed that MPlayer, which came bundled with Ubuntu, appears to play every kind of media file I've got with no difficulty, so I decided to try the MPlayer plugin. I installed it with&lt;pre&gt;sudo apt-get install mozilla-mplayer&lt;br /&gt;&lt;/pre&gt;and restarted Firefox. Absolutely no problems. This is the way to go, rather than the Flash plugin.&lt;br /&gt;&lt;br /&gt;That is, it's the way to go &lt;i&gt;when it works&lt;/i&gt;. I haven't investigated the cause, but sometimes Firefox doesn't seem to know it ought to launch the MPlayer plugin. I suspect it has to do with the way the HTML is written on some sites. The observed behavior appears to be: When the page checks for the existence of the Flash plugin so that it can initiate a download for clients that don't have it installed, it finds a plugin associated with Flash video so it doesn't prompt for the download, but it also doesn't know how to invoke the MPlayer plugin, so you end up with nothing.&lt;br /&gt;&lt;br /&gt;I've found that if I download the video manually, it will play just fine with MPlayer. Another workaround is to launch Opera and view the video with the &amp;quot;standard&amp;quot; Flash player in Opera. That seems to work without any problems. &lt;br /&gt;&lt;br /&gt;I don't intend to invest much personal time on this problem. Based on what I've seen, my guess is that it boils down to a problem in the 64-bit version of Flash player for Firefox. When looking for answers I found &lt;a href="http://news.cnet.com/problems-updating-the-flash-player-in-firefox-heres-help/"&gt;a CNET article about the Firefox Flash plugin&lt;/a&gt; that suggests there has been a history of problems with that plugin ever since it was first introduced.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2009/11/firefox-addon-toolbar-buttons-not.html"&gt;Firefox addon toolbar buttons not displayed&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-1885038787501477313?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/1885038787501477313/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2009/10/troubles-with-flash-player.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/1885038787501477313'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/1885038787501477313'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2009/10/troubles-with-flash-player.html' title='Troubles with Flash player'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-3363930330896644123</id><published>2009-10-23T14:41:00.005-04:00</published><updated>2009-10-28T15:33:31.856-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='troubleshooting'/><category scheme='http://www.blogger.com/atom/ns#' term='static'/><category scheme='http://www.blogger.com/atom/ns#' term='sound'/><category scheme='http://www.blogger.com/atom/ns#' term='audio'/><title type='text'>Static from the speakers</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2009/10/another-reason-to-like-ubuntu.html"&gt;Another reason to like Ubuntu&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;After a series of software updates, I noticed that the speakers were emitting static instead of clean sound whenever there was audio output. I did a net search on the keywords "ubuntu audio static" and immediately found this resource: &lt;a href="http://beyondteck.blogspot.com/2009/04/ubuntu-audio-does-not-work-static-sound.html"&gt;http://beyondteck.blogspot.com/2009/04/ubuntu-audio-does-not-work-static-sound.html&lt;/a&gt;. &lt;br /&gt;&lt;br /&gt;The problem description and the solution were exactly what I needed. Apparently, one of the software updates had modified my audio settings, for reasons unknown. After adjusting them, everything worked properly again.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2009/10/troubles-with-flash-player.html"&gt;Troubles with the Flash player&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-3363930330896644123?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/3363930330896644123/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2009/10/static-from-speakers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/3363930330896644123'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/3363930330896644123'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2009/10/static-from-speakers.html' title='Static from the speakers'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-5507115301079323619</id><published>2009-10-23T14:29:00.005-04:00</published><updated>2009-10-23T14:45:20.190-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='troubleshooting'/><category scheme='http://www.blogger.com/atom/ns#' term='sound'/><category scheme='http://www.blogger.com/atom/ns#' term='audio'/><title type='text'>Another reason to like Ubuntu</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2009/10/umlet-install.html"&gt;UMLet install&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Ubuntu provides automated updates much as Microsoft and Apple do for their operating systems. I recently accepted an updated kernel, and afterwards I noticed some rendering problems on the Gnome desktop. A quick net search didn't reveal any fixes, probably because the problem is so fresh. &lt;br /&gt;&lt;br /&gt;I rebooted Ubuntu and selected the previous kernel build from the boot menu. It works just fine now. &lt;br /&gt;&lt;br /&gt;I really appreciate the boot process that allows you to drop back to a previous kernel build in such a simple and painless way. Now I won't have to cope with that problem while waiting for the fix to be published. &lt;br /&gt;&lt;br /&gt;I find this much easier than the procedures for recovering a previously-working version of Microsoft Windows or Apple OS X. Thanks, Ubuntu team!&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2009/10/static-from-speakers.html"&gt;Static from the speakers&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-5507115301079323619?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/5507115301079323619/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2009/10/another-reason-to-like-ubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/5507115301079323619'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/5507115301079323619'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2009/10/another-reason-to-like-ubuntu.html' title='Another reason to like Ubuntu'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-5093044090806207699</id><published>2009-10-22T13:48:00.006-04:00</published><updated>2009-12-02T15:40:26.735-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='uml'/><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><title type='text'>UMLet install</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2009/10/freemind-install.html"&gt;Freemind install&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I found a useful UML modeling tool that's suitable for agile modeling, called UMLet. I wrote my opinions about it on my &lt;a href="http://www.davenicolette.net/agile/index.blog/1956439/umlet-uml-diagramming-tool/"&gt;Effective Software Development&lt;/a&gt; blog, and I won't repeat them here. This entry is just about how I installed it on Ubuntu Linux.&lt;br /&gt;&lt;br /&gt;First I downloaded the archive from the UMLet site at &lt;a href="http://www.umlet.com/"&gt;http://www.umlet.com&lt;/a&gt;. I unzipped the archive for the standalone version of UMLet into /home/umlet.&lt;br /&gt;&lt;br /&gt;To make it easier to start UMLet, I defined an alias in .bash_aliases as follows:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;alias umlet='java -jar ~/umlet/UMLet/umlet.jar'&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Then I created a desktop file for UMLet and saved it in /usr/share/applications as umlet.desktop. The contents are:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;[Desktop Entry]&lt;br /&gt;Encoding=UTF-8&lt;br /&gt;Name=UMLet&lt;br /&gt;Comment=UML diagramming tool&lt;br /&gt;Exec=umlet&lt;br /&gt;Icon=uml_icon.png&lt;br /&gt;Terminal=false&lt;br /&gt;Type=Application&lt;br /&gt;Categories=GNOME;Application;Development;&lt;br /&gt;StartupNotify=true&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;The desktop definition makes UMLet appear in the Applications -&gt; Programming menu in the Gnome desktop. The icon file referenced in the desktop file is just an icon I found on the net somewhere that reminds me of UML. UMLet doesn't have its own icon. &lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2009/10/another-reason-to-like-ubuntu.html"&gt;Another reason to like Ubuntu&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-5093044090806207699?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/5093044090806207699/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2009/10/umlet-install.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/5093044090806207699'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/5093044090806207699'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2009/10/umlet-install.html' title='UMLet install'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-3977721120983272965</id><published>2009-10-18T10:38:00.005-04:00</published><updated>2009-10-23T14:38:45.290-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='freemind'/><category scheme='http://www.blogger.com/atom/ns#' term='mindmap'/><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><title type='text'>Freemind install</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2009/09/google-earth-install.html"&gt;Google Earth install&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Downloaded Freemind from &lt;a href="http://freemind.sourceforge.net"&gt;Sourceforge&lt;/a&gt; and unpacked the distro in my home directory.&lt;br /&gt;&lt;br /&gt;Downloaded the Freemind icon by Christian Foltin from &lt;a href="http://macin.wordpress.com/2008/10/19/freemind-081/"&gt;this Wordpress blog&lt;/a&gt;, whose owner does not make it easy to identify him/her, so I don't know whom to thank for making it available. Copied the icon to /usr/share/pixmaps and named it freemind.png.&lt;br /&gt;&lt;br /&gt;Created a desktop file in /usr/share/applications named freemind.desktop with the following contents:&lt;pre&gt;&lt;br /&gt;[Desktop Entry]&lt;br /&gt;Name=Freemind&lt;br /&gt;Comment=Mind mapping tool&lt;br /&gt;Exec=/home/dave/freemind/freemind.sh&lt;br /&gt;Terminal=false&lt;br /&gt;Type=Application&lt;br /&gt;Icon=freemind.png&lt;br /&gt;StartupNotify=true&lt;br /&gt;Categories=Office;&lt;br /&gt;&lt;/pre&gt;Freemind now appears in the Applications -&gt; Office menu.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2009/10/umlet-install.html"&gt;UMLet install&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-3977721120983272965?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/3977721120983272965/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2009/10/freemind-install.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/3977721120983272965'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/3977721120983272965'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2009/10/freemind-install.html' title='Freemind install'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-399474844048856580</id><published>2009-09-26T14:49:00.007-04:00</published><updated>2009-10-25T10:48:28.251-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='googleearth'/><title type='text'>Google Earth install</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2009/09/firefox-35-install.html"&gt;Firefox 3.5 install&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The Linux installation for Google Earth isn't a simple click or double-click. Here's what I did:&lt;br /&gt;&lt;br /&gt;1. Open a browser and navigate to &lt;a href="http://earth.google.com/download-earth.html"&gt;http://earth.google.com/download-earth.html&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;2. Download the installer for Linux. At the time I did it, the file name was GoogleEarthLinux.bin. Download it to whatever directory you please.&lt;br /&gt;&lt;br /&gt;3. Open a Terminal window and go to the directory where you downloaded the installer.&lt;br /&gt;&lt;br /&gt;4. Grant execute privileges on the installer. I used &lt;br /&gt;&lt;pre&gt;&lt;br /&gt;chmod +x GoogleEarthLinux.bin&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;5. Run the installer with &lt;br /&gt;&lt;pre&gt;&lt;br /&gt;sh GoogleEarthLinux.bin&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Set the installation directory and bin path as you please, following the prompts displayed by the installer.&lt;br /&gt;&lt;br /&gt;The install worked fine, but it didn't add an entry to the Applications menu in Gnome. They don't make any assumptions about which desktop you might be using. To add it, I took the following steps:&lt;br /&gt;&lt;br /&gt;1. Copied the Google Earth icon from the installation directory to /usr/share/pixmaps.&lt;br /&gt;&lt;br /&gt;2. Created a googleearth.desktop file in /usr/share/applications with the following contents:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;[Desktop Entry]&lt;br /&gt;Name=Google Earth&lt;br /&gt;GenericName=Google Earth&lt;br /&gt;Exec=googleearth&lt;br /&gt;Terminal=false&lt;br /&gt;X-MultipleArgs=false&lt;br /&gt;Type=Application&lt;br /&gt;Icon=googleearth-icon.png&lt;br /&gt;Categories=Application;Network;&lt;br /&gt;StartupNotify=true&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;This worked fine.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2009/10/freemind-install.html"&gt;Freemind install&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-399474844048856580?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/399474844048856580/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2009/09/google-earth-install.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/399474844048856580'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/399474844048856580'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2009/09/google-earth-install.html' title='Google Earth install'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-5326499308184433165</id><published>2009-09-25T09:34:00.004-04:00</published><updated>2009-09-26T15:06:21.214-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='firefox'/><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><title type='text'>Firefox 3.5 install</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2009/09/value-stream-mapping-font.html"&gt;Value Stream Mapping font&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;A "normal" Firefox 3.5 for Ubuntu has been created, and it was a recommended system upgrade as of this morning's automatic upgrades. I chose it, and it messed me up badly. The Shiretoko install was gone, but the new Firefox 3.5 did not work. &lt;br /&gt;&lt;br /&gt;I got around the problem by running sudo apt-get remove firefox-3.5 and then sudo apt-get install firefox-3.5. Fortunately, this cleared up whatever had been clobbered by the earlier install.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2009/09/google-earth-install.html"&gt;Google Earth install&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-5326499308184433165?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/5326499308184433165/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2009/09/firefox-35-install.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/5326499308184433165'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/5326499308184433165'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2009/09/firefox-35-install.html' title='Firefox 3.5 install'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-790050306895208256</id><published>2009-09-14T13:34:00.005-04:00</published><updated>2010-09-09T19:39:38.800-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vsm'/><category scheme='http://www.blogger.com/atom/ns#' term='truetype'/><category scheme='http://www.blogger.com/atom/ns#' term='font'/><category scheme='http://www.blogger.com/atom/ns#' term='fc-cache'/><category scheme='http://www.blogger.com/atom/ns#' term='value stream mapping'/><category scheme='http://www.blogger.com/atom/ns#' term='ttf'/><title type='text'>Value Stream Mapping font</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/partial-success-with-logitech-ex100.html"&gt;Partial success with Logitech EX100 wireless keyboard and mouse&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I came across a useful tool for Value Stream Mapping: A free VSM TrueType font, offered by &lt;a href="http://www.ambor.com/public/vsm/vsmfont.html"&gt;ambor.com&lt;/a&gt;. The ambor.com site provides instructions for installing on Windows and OS X. To install on Ubuntu, I did the following:&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt;Downloaded the .ttf file from ambor.com&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Copied the .ttf file to /usr/share/fonts/truetype&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Ran the command: sudo fc-cache -fv&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;The font works nicely with OpenOffice under Ubuntu.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2009/09/firefox-35-install.html"&gt;Firefox 3.5 install&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-790050306895208256?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/790050306895208256/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2009/09/value-stream-mapping-font.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/790050306895208256'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/790050306895208256'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2009/09/value-stream-mapping-font.html' title='Value Stream Mapping font'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-2194754659824078675</id><published>2009-08-22T17:47:00.007-04:00</published><updated>2009-09-14T13:35:53.682-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='keyboard-wireless'/><category scheme='http://www.blogger.com/atom/ns#' term='logitech'/><category scheme='http://www.blogger.com/atom/ns#' term='fail'/><category scheme='http://www.blogger.com/atom/ns#' term='mouse'/><category scheme='http://www.blogger.com/atom/ns#' term='keyboard-external'/><category scheme='http://www.blogger.com/atom/ns#' term='mouse-external'/><category scheme='http://www.blogger.com/atom/ns#' term='mouse-wireless'/><title type='text'>Partial success with Logitech EX100 wireless keyboard and mouse</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/ubuntu-no-love-for-kodak-printers.html"&gt;Ubuntu: No love for Kodak printers&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The second home office peripheral I wanted to try with the new Ubuntu laptop was the Logitech EX100 wireless keyboard and mouse. I had hoped it would solve the usability problem with the Synaptic touch pad moving the input cursor when it detected hand movements above the pad. &lt;br /&gt;&lt;br /&gt;It's one of those good news, bad news things. The good news is the wireless mouse worked flawlessly on a plug-and-play basis with no installation, configuration, or other effort on my part. With the touch pad turned off, I've been typing my little heart out for several minutes now, and Ubuntu is still responding to keyboard input (from the Toshiba laptop's keyboard).&lt;br /&gt;&lt;br /&gt;The bad news is that I've got no response from the wireless keyboard. But the truth is, the wireless mouse solves my particular problem quite nicely.&lt;br /&gt;&lt;br /&gt;I found a note on a forum complaining about this model of wireless mouse not working with Open Office spreadsheet on Ubuntu. I gave that a try, and apparently the problem was solved in a subsequent release. No problems here.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2009/09/value-stream-mapping-font.html"&gt;Value Stream Mapping font&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-2194754659824078675?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/2194754659824078675/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2009/08/partial-success-with-logitech-ex100.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/2194754659824078675'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/2194754659824078675'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2009/08/partial-success-with-logitech-ex100.html' title='Partial success with Logitech EX100 wireless keyboard and mouse'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-8083261494041018416</id><published>2009-08-22T17:26:00.007-04:00</published><updated>2009-08-23T06:47:18.842-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='kodak'/><category scheme='http://www.blogger.com/atom/ns#' term='fail'/><category scheme='http://www.blogger.com/atom/ns#' term='printer'/><category scheme='http://www.blogger.com/atom/ns#' term='esp-3'/><title type='text'>Ubuntu: No love for Kodak printers</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/installing-banshee-media-player-and.html"&gt;Installing Banshee media player&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Or maybe I should say, Kodak: No love for Ubuntu. Either way, the outcome is the same.&lt;br /&gt;&lt;br /&gt;Back at home, I was eager to try my shiny new laptop with some of my home office peripherals. I found no driver for the Kodak ESP-3 multipurpose printer on CUPS. The Kodak driver download site had nothing available for Unix, and no listing for Linux at all. A &lt;a href="http://ubuntuforums.org/archive/index.php/t-1068863.html"&gt;thread on Ubuntu forums&lt;/a&gt; where people were asking about this printer model indicated there is no driver for it and no practical workaround for using the printer with Ubuntu. &lt;br /&gt;&lt;br /&gt;Last post, I reported one less reason to boot into Vista. Sadly, I must now report one &lt;i&gt;more&lt;/i&gt; reason to boot into Vista. &lt;sigh&gt;&lt;br /&gt;&lt;br /&gt;You might ask: So, why not replace the Kodak printer with a supported model? I might answer: Remember the reason I was in the market for a new laptop in the first place? It was high cost of ownership of hardware. The Kodak ESP-3 is a low cost of ownership printer. It's also low-maintenance and very reliable. I'm keeping it.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/partial-success-with-logitech-ex100.html"&gt;Partial success with Logitech EX100 keyboard and mouse&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-8083261494041018416?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/8083261494041018416/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2009/08/ubuntu-no-love-for-kodak-printers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/8083261494041018416'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/8083261494041018416'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2009/08/ubuntu-no-love-for-kodak-printers.html' title='Ubuntu: No love for Kodak printers'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-8292611370724087814</id><published>2009-08-20T20:27:00.006-04:00</published><updated>2009-08-22T17:34:02.631-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='video'/><category scheme='http://www.blogger.com/atom/ns#' term='ffmpeg'/><category scheme='http://www.blogger.com/atom/ns#' term='media-player'/><category scheme='http://www.blogger.com/atom/ns#' term='downloadhelper'/><category scheme='http://www.blogger.com/atom/ns#' term='banshee'/><title type='text'>Installing Banshee media player and ffmpeg video converter</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/audio-support-fixed.html"&gt;Audio support fixed&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;With audio working, I went ahead and installed support for watching videos. &lt;br /&gt;&lt;br /&gt;I started Firefox and went to &lt;a href="https://addons.mozilla.org/en-US/firefox/"&gt;https://addons.mozilla.org/en-US/firefox/&lt;/a&gt;. There, I installed the Video DownloadHelper add-on. Then I installed ffmpeg (video converter) and Banshee (media player) from a command line:&lt;pre&gt;sudo apt-get install ffmpeg&lt;br /&gt;sudo apt-get install banshee&lt;/pre&gt;Smooth as silk, no problems, no extra steps. Done. Lovely!&lt;br /&gt;&lt;br /&gt;One less reason to boot into Vista. That in itself is like a cool drink of water on a hot day.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/ubuntu-no-love-for-kodak-printers.html"&gt;Ubuntu: No love for Kodak printers&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-8292611370724087814?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/8292611370724087814/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2009/08/installing-banshee-media-player-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/8292611370724087814'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/8292611370724087814'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2009/08/installing-banshee-media-player-and.html' title='Installing Banshee media player and ffmpeg video converter'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-6055008923346066732</id><published>2009-08-20T20:19:00.004-04:00</published><updated>2009-08-20T20:56:19.049-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sound'/><category scheme='http://www.blogger.com/atom/ns#' term='alsa'/><category scheme='http://www.blogger.com/atom/ns#' term='audio'/><category scheme='http://www.blogger.com/atom/ns#' term='alsamixer'/><title type='text'>Audio support fixed</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/problem-with-keyboard-and-synaptic.html"&gt;Problem with keyboard and Synaptic touch pad&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Well, I &lt;i&gt;told&lt;/i&gt; you I was a noob, didn't I? &lt;br /&gt;&lt;br /&gt;Searching around the net I learned that one can check to see if one has support for audio by trying to run alsamixer. If the software isn't there, the program won't start. I tried&lt;pre&gt;alsamixer&lt;/pre&gt; and a mixer panel came up. The master volume slider was set to minimum. I moved it to maximum.&lt;br /&gt;&lt;br /&gt;Problem solved.&lt;br /&gt;&lt;br /&gt;Geez, what a noob!&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/installing-banshee-media-player-and.html"&gt;Installing Banshee media player and ffmpeg video converter&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-6055008923346066732?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/6055008923346066732/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2009/08/audio-support-fixed.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/6055008923346066732'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/6055008923346066732'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2009/08/audio-support-fixed.html' title='Audio support fixed'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-719996802141784897</id><published>2009-08-16T20:47:00.008-04:00</published><updated>2009-08-20T20:25:01.309-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='synaptic'/><category scheme='http://www.blogger.com/atom/ns#' term='Toshiba'/><category scheme='http://www.blogger.com/atom/ns#' term='keyboard'/><category scheme='http://www.blogger.com/atom/ns#' term='fail'/><category scheme='http://www.blogger.com/atom/ns#' term='vista'/><category scheme='http://www.blogger.com/atom/ns#' term='touch-pad'/><category scheme='http://www.blogger.com/atom/ns#' term='mouse'/><title type='text'>Problem with keyboard and Synaptic touch pad</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/linux-vs-vista-download-performance.html"&gt;Linux vs. Vista download performance&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;One of the problems I've mentioned here is that from time to time Ubuntu would stop responding to the keyboard and touch pad. I had not been able to find a report of exactly the same behavior with Ubuntu 9.04 or with Toshiba laptops. I did find some similar reports dating from 2007. &lt;br /&gt;&lt;br /&gt;Today I was working on the Vista side of the system to disable some of its pre-configured annoyances, since it had become clear that I would have to use Vista for certain non-work-related tasks. The same behavior occurred once while I was working on Vista.&lt;br /&gt;&lt;br /&gt;If the problem affects both operating systems, then it follows that it isn't a problem with the OS, drivers, or firmware. It has to be either the BIOS or the hardware.&lt;br /&gt;&lt;br /&gt;This is good news, because if the problem affects Vista users then maybe Microsoft will pressure Toshiba and/or Phoenix Technologies to fix it. They certainly won't care about Linux users. &lt;br /&gt;&lt;br /&gt;It may be coincidental, but I've observed an apparent correlation with using the hardware switch to turn off the touch pad so that you can type freely without having your hand movements interpreted as mouse movements. The problem has been less frequent when I avoid turning off the touch pad and just live with the occasional cursor jumps.&lt;br /&gt;&lt;br /&gt;Another correlation is that when I close the lid and then open it again later to resume work, Ubuntu no longer responds to the keyboard. I have not observed this behavior when using Vista.&lt;br /&gt;&lt;br /&gt;When I get home from this road trip I plan to test a wireless mouse with its own USB Bluetooth adapter. If that works, then the inability of Ubuntu to see the built-in Bluetooth adapter will be less annoying. I'm hopeful that this will eliminate the interference between the keyboard and touch pad, as well. &lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/audio-support-fixed.html"&gt;Audio support fixed&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-719996802141784897?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/719996802141784897/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2009/08/problem-with-keyboard-and-synaptic.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/719996802141784897'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/719996802141784897'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2009/08/problem-with-keyboard-and-synaptic.html' title='Problem with keyboard and Synaptic touch pad'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-5544237195264910003</id><published>2009-08-16T20:30:00.007-04:00</published><updated>2009-08-19T12:28:44.132-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='performance'/><category scheme='http://www.blogger.com/atom/ns#' term='comparison'/><category scheme='http://www.blogger.com/atom/ns#' term='download'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='vista'/><title type='text'>Linux vs. Vista download performance</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/making-vista-liveable.html"&gt;Making Vista liveable&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;When installing one of the two Windows program I need, I noticed a significant discrepancy between the download times on Vista and Ubuntu. Vista doesn't always behave this badly, so there must be a factor involved in this that isn't obvious to me. In any case, here's what I observed.&lt;br /&gt;&lt;br /&gt;I needed to install the Zune software (to manage my Zune portable media player) on the Vista instance on my dual-boot Toshiba Satellite P500. I booted into Vista, opened Internet Explorer, and navigated to &lt;a href="http://www.zune.net/en-US/software/default.htm"&gt;http://www.zune.net/en-US/software/default.htm&lt;/a&gt; to download the Zune 3.0 software. &lt;br /&gt;&lt;br /&gt;The download ran for about 10 hours before it was rudely interrupted by the scheduled automatic system update at 3:00 a.m. I awoke to discover the machine had rebooted into Ubuntu, the default OS, after the Windows update restarted the system. The download had not been completed. I tried again, and saw that the download was proceeding extremely slowly. I canceled it and decided to download the file from Ubuntu, just to see if there might be a difference.&lt;br /&gt;&lt;br /&gt;In Ubuntu, using Firefox, the same download finished in 5 minutes. Same site, same file, same Internet connection, same hardware. Different OS, different Web browser. In other words: Two suspects.&lt;br /&gt;&lt;br /&gt;The 133 MB file was not the Zune software. It was only the &lt;i&gt;installer&lt;/i&gt; for the Zune software. Having installed Zune software before (on Windows XP), I knew the installer would have to download components during the installation procedure. Those downloads could not be done on the Ubuntu instance because they were tied into the actual software installation. So, there would be another opportunity to observe download behavior on Vista.&lt;br /&gt;&lt;br /&gt;Booting into Vista again, I copied the Zune installer and ran it. When it got to the &lt;i&gt;downloading components&lt;/i&gt; step in the installation, the downloads once again ran extremely slowly. I left it running and went to work for the day.&lt;br /&gt;&lt;br /&gt;When I returned 11 hours later, the &lt;i&gt;download components&lt;/i&gt; step was still running. It finished after 11.5 hours. The remainder of the installation steps finished in a few seconds.&lt;br /&gt;&lt;br /&gt;Based on previous installs of Zune software, I can say the Zune installer was not the cause of the slow download. Internet Explorer was not involved in this step, so it could not have been the culprit. Only one suspect remained: Vista. &lt;br /&gt;&lt;br /&gt;Hmm. &lt;a href="http://www.softwaretop100.org/list2009.php"&gt;Largest software company&lt;/a&gt;. Many of the &lt;a href="http://www.microsoft.com/presspass/exec/de/default.mspx"&gt;top engineers in the field&lt;/a&gt; on staff. More than &lt;a href="http://www.computerhope.com/history/windows.htm"&gt;25 years continuous product development experience&lt;/a&gt; in the Windows product line. And &lt;i&gt;this&lt;/i&gt; is the best they can do? Really? &lt;br /&gt;&lt;br /&gt;Interesting.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/problem-with-keyboard-and-synaptic.html"&gt;Problem with keyboard and Synaptic touch pad&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-5544237195264910003?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/5544237195264910003/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2009/08/linux-vs-vista-download-performance.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/5544237195264910003'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/5544237195264910003'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2009/08/linux-vs-vista-download-performance.html' title='Linux vs. Vista download performance'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-9148515063222251605</id><published>2009-08-16T18:37:00.016-04:00</published><updated>2009-08-19T10:39:31.482-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='startup'/><category scheme='http://www.blogger.com/atom/ns#' term='configuration'/><category scheme='http://www.blogger.com/atom/ns#' term='vista'/><category scheme='http://www.blogger.com/atom/ns#' term='notification-balloons'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='autocomplete'/><title type='text'>Making Vista liveable</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/firefox-web-development-add-ons.html"&gt;Firefox Web development add-ons&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Okay, I've installed a lot of development tools and so forth, and I'm pretty happy with the way it all works. When I turned my attention to &amp;quot;consumer&amp;quot; uses of my shiny new machine, I encountered a couple of problems. Ubuntu cannot see the Toshiba's audio adapter or Bluetooth adapter. I spent a couple of hours online looking for solutions and found none, except for a problem with audio on Toshiba laptops dating from 2007 and involving an earlier incarnation of Ubuntu. &lt;br /&gt;&lt;br /&gt;I did find a couple of references to a contractual arrangement between Microsoft Corporation and Phoenix Technologies, the makers of the machine's BIOS, that some people assume means that Phoenix may have designed the BIOS to be unfriendly toward operating systems other than Microsoft Vista. I think that is probably speculation on their part, and I plan to keep looking for solutions.&lt;br /&gt;&lt;br /&gt;At the moment, I have no way to predict whether I will be able to get Ubuntu to work with the audio adapter and Bluetooth adapter in the Toshiba Satellite. It's possible someone will create drivers, firmware, or whatever else is required to support them. It's also possible that the Phoenix BIOS is actually the problem. &lt;br /&gt;&lt;br /&gt;In any case, I need a way to organize my music files and sync my Zune, and I need a Windows system to run Music Publisher. If the audio problem is not solved, I will have to switch to Vista when I want to visit YouTube or Hulu, listen to music on Pandora or a streaming radio station, or listen to news. It would be nice to have audio when using Skype, too. That meant I would be spending at least &lt;i&gt;some&lt;/i&gt; of my time on Vista.&lt;br /&gt;&lt;br /&gt;OEMs have a long tradition of configuring pre-installed Windows systems in a way designed to piss people off and make them hate computers. Although Toshiba's motto is &amp;quot;leading innovation,&amp;quot; in this regard they are respectful of tradition. &lt;br /&gt;&lt;br /&gt;So, how could I make the Vista environment less annoying? Here are a few steps I took that seemed to help. None of this pertains to Ubuntu, of course.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Removing unnecessary programs from startup&lt;/h3&gt;&lt;br /&gt;Press the Start orb, type msconfig into the Search field, and press Enter. This opens the System Configuration utility. Go to the Start tab. YMMV, but what I did was to deselect the following entries:&lt;ul&gt;&lt;li&gt;Intel(R) Common User Interface - igfxtray.exe&lt;/li&gt;&lt;li&gt;Intel(R) Common User Interface - hkcmd.exe&lt;/li&gt;&lt;li&gt;Intel(R) Common User Interface - igfxpers.exe&lt;/li&gt;&lt;li&gt;TOSHIBA Button Support&lt;/li&gt;&lt;li&gt;TOSHIBA Zooming Utility&lt;/li&gt;&lt;li&gt;TOSHIBA Flash Cards&lt;/li&gt;&lt;li&gt;TOSHIBA Web Camera&lt;/li&gt;&lt;li&gt;SmartFaceVWatcher&lt;/li&gt;&lt;li&gt;RealConnect Agent&lt;/li&gt;&lt;li&gt;Google Toolbar Notifier&lt;/li&gt;&lt;li&gt;CyberLink Power Cinema&lt;/li&gt;&lt;li&gt;CyberLink MediaLibrary Service&lt;/li&gt;&lt;/ul&gt;These changes reduced startup time noticeably and reduced the number of annoying reminders and pop-ups almost to none.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Disabling &amp;quot;notification balloons&amp;quot;&lt;/h3&gt;&lt;br /&gt;Press the Start orb, type regedit into the Search field, and press Enter. This opens the Registry Editor. Navigate to HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Explorer/Advanced. From the menu choose New -&gt; DWORD(32 bit). Name it EnableBalloonTips. Give it a value of zero. Close the Registry Editor. &lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Disabling Auto-Complete in Internet Explorer&lt;/h3&gt;&lt;br /&gt;Start Internet Explorer. On the main menu, choose Tools -&gt; Internet Options. Go to the Content tab. Under AutoComplete, press Settings. In the resulting dialog box, deselect all the checkboxes. Press OK. &lt;br /&gt;&lt;br /&gt;To get rid of existing AutoComplete entries, in Internet Options go to the General tab. In the Delete section, press Delete Forms.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Disabling assorted annoyances in Google Toolbar&lt;/h3&gt;&lt;br /&gt;In Internet Explorer, choose the Tools drop-down near the right-hand end of the Google Toolbar. Choose Options from the drop-down menu. Choose the Search tab. Under 'Search features', deselect 'Suggest searches as you type'.&lt;br /&gt;&lt;br /&gt;Go to the General tab. Under 'Additional settings', deselect 'Send usage statistics to Google'.&lt;br /&gt;&lt;br /&gt;Go to the Custom Buttons tab. Deselect all the items you don't want.&lt;br /&gt;&lt;br /&gt;Go to the AutoFill tab. Deselect 'AutoFill'.&lt;br /&gt;&lt;br /&gt;Press the Save button.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Installing necessary Windows programs&lt;/h3&gt;&lt;br /&gt;As I mentioned previously, there are two Windows-only programs I need: Braeburn Software's Music Publisher and the Microsoft Zune sync software.&lt;br /&gt;&lt;br /&gt;Music Publisher is a commercial product that comes on a CD. Installation consists of running the installer off the CD. No problems there.&lt;br /&gt;&lt;br /&gt;The Zune software is a free download. Getting the download to work turned into an educational exercise on the relative downloading performance of Vista vs. Ubuntu. It's a tale in its own right, so I &lt;a href="http://kotowanandesu.blogspot.com/2009/08/linux-vs-vista-download-performance.html"&gt;blogged about it separately&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Making frequently-used programs easy to access&lt;/h3&gt;&lt;br /&gt;I took the following steps to place entries in the Start menu for the programs I use most often on Vista:&lt;ol&gt;&lt;li&gt;Right-clicked the taskbar and chose Properties from the context menu to open the Taskbar and Start Menu utility.&lt;/li&gt;&lt;li&gt;Went to the Start Menu tab.&lt;/li&gt;&lt;li&gt;Deselected the checkboxes labeled &lt;i&gt;Store and display a list of recently opened files&lt;/i&gt; and &lt;i&gt;Store and display a list of recently opened programs&lt;/i&gt;.&lt;/li&gt;&lt;li&gt;Clicked the Customize button next to the Start Menu radio button near the top of the panel.&lt;/li&gt;&lt;li&gt;Deselect the checkboxes near the bottom of the panel labeled &lt;i&gt;Internet link&lt;/i&gt; and &lt;i&gt;E-mail link&lt;/i&gt;.&lt;/li&gt;&lt;li&gt;Clicked OK until I had clicked my way out of the Taskbar and Start Menu utility.&lt;/li&gt;&lt;li&gt;Clicked the Start orb and then the All Programs link.&lt;/li&gt;&lt;li&gt;Navigated to the shortcut for each program of interest, right-clicked it, and clicked &lt;i&gt;Pin to Start Menu&lt;/i&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;General beautification&lt;/h3&gt;&lt;br /&gt;Downloaded the flattering photgraph of me from this very website and set it as my User icon in Vista.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/linux-vs-vista-download-performance.html"&gt;Linux vs. Vista download performance&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-9148515063222251605?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/9148515063222251605/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2009/08/making-vista-liveable.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/9148515063222251605'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/9148515063222251605'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2009/08/making-vista-liveable.html' title='Making Vista liveable'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-4383775912261804339</id><published>2009-08-16T13:00:00.008-04:00</published><updated>2009-08-17T16:59:18.960-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='firefox'/><category scheme='http://www.blogger.com/atom/ns#' term='development'/><title type='text'>Firefox web development add-ons</title><content type='html'>Previous:  &lt;a href="http://kotowanandesu.blogspot.com/2009/08/installing-explainpmt.html"&gt;Installing eXPlainPMT&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Upgraded Firefox&lt;/h3&gt;&lt;br /&gt;Ubuntu came with Firefox 3.0.2 pre-installed. To upgrade it, I typed 'apt:firefox-3.5' in the Firefox location field. This is a front-end to Synaptic Package Manager that was added to Firefox for the Ubuntu distro. &lt;br /&gt;&lt;br /&gt;This installed Firefox 3.5.2 and added an entry in the Applications -&gt; Internet menu named 'Shiretoko Web Browser' (the codename for Firefox 3.5).&lt;br /&gt;&lt;br /&gt;On starting the new browser, I saw that it had transferred my bookmarks correctly. However, it did not find a compatible version of Ubuntu Firefox Extensions. I typed 'apt:' and 'apt:firefox-3.5' into the location field and it complained about the protocol name. Maybe this handy feature is gone!&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Add-ons for web development&lt;/h3&gt;&lt;br /&gt;I browsed to &lt;a href="https://addons.mozilla.org/en-US/firefox/"&gt;https://addons.mozilla.org/en-US/firefox/&lt;/a&gt; and selected the following add-ons (selected all before restarting Firefox):&lt;ul&gt;&lt;li&gt;Abduction!&lt;/li&gt;&lt;li&gt;Bottom Error Console&lt;/li&gt;&lt;li&gt;ColorZilla&lt;/li&gt;&lt;li&gt;Console&lt;super&gt;2&lt;/super&gt;&lt;/li&gt;&lt;li&gt;Dom Inspector&lt;/li&gt;&lt;li&gt;EditCSS&lt;/li&gt;&lt;li&gt;Execute JS&lt;/li&gt;&lt;li&gt;Firebug&lt;/li&gt;&lt;li&gt;lori (Life-of-request info)&lt;/li&gt;&lt;li&gt;QuickRestart&lt;/li&gt;&lt;li&gt;SQL Injection&lt;/li&gt;&lt;li&gt;SQLite Manager&lt;/li&gt;&lt;li&gt;Web Developer&lt;/li&gt;&lt;li&gt;XSL Results&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;The current version of Html Validator was not available on the Mozilla add-on site on the date when I was installing add-ons. The version on the developer's site at &lt;a href="http://users.skynet.be/mgueury/mozilla/"&gt;http://users.skynet.be/mgueury/mozilla/&lt;/a&gt; turned out to be incompatible with Shiretoko. Too bad, since this one does validation locally in the browser and does not depend on any third-party sites.&lt;br /&gt;&lt;br /&gt;The current version of Selenium IDE was not available on the Mozilla site. I installed it from &amp;quot;Selenium HQ&amp;quot; at &lt;a href="http://seleniumhq.org/download/"&gt;http://seleniumhq.org/download/&lt;/a&gt;. The install worked fine.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/making-vista-liveable.html"&gt;Making Vista liveable&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-4383775912261804339?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/4383775912261804339/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2009/08/firefox-web-development-add-ons.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/4383775912261804339'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/4383775912261804339'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2009/08/firefox-web-development-add-ons.html' title='Firefox web development add-ons'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-8078906992062355328</id><published>2009-08-15T21:04:00.017-04:00</published><updated>2009-10-28T15:54:10.337-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='project-management'/><category scheme='http://www.blogger.com/atom/ns#' term='explainpmt'/><title type='text'>Installing eXPlainPMT</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/installing-git.html"&gt;Installing Git&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;eXPlainPMT is an Open Source project planning tool geared for Extreme Programming. &lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Installation&lt;/h3&gt;&lt;br /&gt;I installed it like this:&lt;ol&gt;&lt;li&gt;Downloaded the distribution archive from &lt;a href="http://github.com/explainpmt/explainpmt/tree/master"&gt;http://github.com/explainpmt/explainpmt/tree/master&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;Unzipped the archive into my home directory.&lt;/li&gt;&lt;li&gt;Renamed the top-level directory 'explainpmt'.&lt;/li&gt;&lt;li&gt;I'm using SQLite for this program, so I didn't need to create a MySQL database.&lt;/li&gt;&lt;li&gt;The instructions say to edit config/database.yml, but this distribution had no such file. There was a database_cruise.yml with an entry for postgresql, but I wanted to use sqlite. I created a database.yml file with the following contents:&lt;pre&gt;production:&lt;br /&gt;    adapter: sqlite3&lt;br /&gt;    database: db/production.db&lt;br /&gt;development:&lt;br /&gt;    adapter: sqlite3&lt;br /&gt;    database: db/development.db&lt;br /&gt;test:&lt;br /&gt;    adapter: sqlite3&lt;br /&gt;    database: db/test.db&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;Created file log/production.log and gave it permissions 0666.&lt;/li&gt;&lt;li&gt;In the explainpmt directory: Ran&lt;pre&gt;rake db:migrate RAILS_ENV=production&lt;/pre&gt;Note the syntax differs from the instructions given on Github. It complained about the Rails version and suggested this to fix it:&lt;pre&gt;sudo gem install -v=2.0.2 rails&lt;/pre&gt;After that the rake command completed successfully.&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;h3&gt;Verify installation&lt;/h3&gt;&lt;br /&gt;From the explainpmt directory, I ran this command to start up the program:&lt;pre&gt;./script/server webrick -e production -p 8100&lt;/pre&gt;In Firefox, I went to localhost:8100. eXPlainPMT started up clean. I entered the default userid and password, admin/admin, and everything looked normal.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Conveniences&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;When I want to use eXPlainPMT for a personal development project, I copy the full eXPlainPMT directory structure to /projects/projectname/explainpmt so that there is a separate &amp;quot;backlog&amp;quot; or &amp;quot;master story list&amp;quot; or &amp;quot;work queue&amp;quot; (pick your favorite buzzwords) for the project. That means starting a separate eXPlainPMT instance for each project. To simplify starting and stopping the tool, I created a bash script to wrap the command line shown above and to capture the pid to stop the server later. You can cd to the /projects/projectname directory and type 'backlog xxxx' where xxxx is the port number you want the server to listen on. When finished working on that project for the moment, you can type 'backlog_stop'. The script looks like this:&lt;pre&gt;#!/bin/bash&lt;br /&gt;# Start an instance of eXPlainPMT&lt;br /&gt;# Assumes you are in the /projects/projectname directory &lt;br /&gt;# and eXPlainPMT lives in /projects/projectname/explainpmt&lt;br /&gt;if [ ! $# == 1 ]; then&lt;br /&gt;  echo "Usage: $0 port-number"&lt;br /&gt;  exit&lt;br /&gt;fi&lt;br /&gt;`./script/server webrick -e production -p $1 2&gt; temp_$` &amp;&lt;br /&gt;sleep 5&lt;br /&gt;# Grab the pid and create a quick and dirty shutdown script&lt;br /&gt;echo `awk '/pid=/ {split($5,thepid,"="); print "kill -9 " thepid[2]}' &lt;br /&gt;    temp_$` &gt; backlog_stop&lt;br /&gt;chmod +x backlog_stop&lt;br /&gt;firefox http://localhost:$1&lt;/pre&gt;Also added an alias to .bash_aliases:&lt;pre&gt;# Start any eXPlainPMT server&lt;br /&gt;alias backlog='~/bin/backlog_start'&lt;/pre&gt;&lt;br /&gt;&lt;h3&gt;A comment on the installation instructions&lt;/h3&gt;&lt;br /&gt;I've used eXPlainPMT in the past and so I was reasonably familiar with it. Had that not been the case, I suspect I would have given up and looked for another tool. The installation instructions are sparse and several releases out of date. I don't know that a novice user would be successful following the published installation instructions. This may not be the best way to encourage people to use an Open Source product.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/firefox-web-development-add-ons.html"&gt;Firefox development tools&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-8078906992062355328?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/8078906992062355328/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2009/08/installing-explainpmt.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/8078906992062355328'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/8078906992062355328'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2009/08/installing-explainpmt.html' title='Installing eXPlainPMT'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-3150491753556239003</id><published>2009-08-15T20:43:00.004-04:00</published><updated>2009-08-15T22:09:10.380-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='git'/><category scheme='http://www.blogger.com/atom/ns#' term='source-control'/><title type='text'>Installing Git</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/pimp-my-instiki.html"&gt;Pimp My Instiki&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Git is a distributed source control management system that is useful both for managing my own local projects and for downloading and contributing to Open Source projects. I installed it on Ubuntu with this command:&lt;pre&gt;sudo apt-get install git-core&lt;/pre&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/installing-explainpmt.html"&gt;Installing eXPlainPMT&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-3150491753556239003?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/3150491753556239003/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2009/08/installing-git.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/3150491753556239003'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/3150491753556239003'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2009/08/installing-git.html' title='Installing Git'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-7713730352921539410</id><published>2009-08-14T11:59:00.008-04:00</published><updated>2009-10-28T15:49:15.713-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='wiki'/><category scheme='http://www.blogger.com/atom/ns#' term='personalization'/><category scheme='http://www.blogger.com/atom/ns#' term='instiki'/><title type='text'>Pimp My Instiki</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/installing-support-for-net.html"&gt;Installing support for .NET development&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Instiki is a simple wiki that I use to keep track of useful information. I find it easier to find information if it's organized in a wiki than if it's scattered all over the filesystem.&lt;br /&gt;&lt;br /&gt;To get Instiki, go to &lt;a href="http://www.instiki.org"&gt;http://www.instiki.org&lt;/a&gt; and download it. There's no further installation to do, and no mandatory configuration before you can start using Instiki. Start an instance by navigating to the directory where you installed Instiki and running the &lt;i&gt;instiki&lt;/i&gt; command.&lt;br /&gt;&lt;br /&gt;Instiki is very simple and is Open Source. Users are encouraged to customize it. Some people use Instiki as the basis of public websites, and they do some pretty extensive customization. For my purposes, it's just a single-user wiki running on my laptop. To make it a little friendlier and better integrated with my desktop, I've made the following changes.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Start and stop scripts&lt;/h3&gt;&lt;br /&gt;As shipped, Instiki expects you to start it from a command line and stop it by typing ctrl+C. I set up a start script that starts Webrick in the background and saves the pid so that a kill command can be issued later.&lt;br /&gt;&lt;br /&gt;Start script is ~/bin/wiki. It picks up the pid from stderr, where Instiki writes it, and creates the stop script on the fly in ~/bin/wiki_stop. The stop script does a kill -9, since Instiki appears to ignore SIGTERM.&lt;pre&gt;#!/bin/bash&lt;br /&gt;# Start the instiki wiki&lt;br /&gt;cd ~/wiki/inst*&lt;br /&gt;`./instiki 2&gt; wiki_$` &amp;&lt;br /&gt;sleep 12&lt;br /&gt;# Grab the pid and create a quick &lt;br /&gt;# and dirty shutdown script.&lt;br /&gt;echo `awk '/pid=/ {split($5,thepid,"="); print "kill -9 " &lt;br /&gt;        thepid[2]}' wiki_$` &gt; ~/bin/wiki_stop&lt;br /&gt;chmod +x ~/bin/wiki_stop&lt;br /&gt;# This will start Firefox if necessary. &lt;br /&gt;# Otherwise it will open in a new tab.&lt;br /&gt;firefox http://localhost:2500/&lt;/pre&gt;I set up aliases for the scripts in ~/.bash_aliases.&lt;pre&gt;alias wiki='~/bin/wiki'&lt;br /&gt;alias wiki_stop='~/bin/wiki_stop'&lt;/pre&gt;&lt;br /&gt;&lt;h3&gt;Associated an icon with Instiki and created a desktop definition&lt;/h3&gt;&lt;br /&gt;AFAIK no one has yet created a logo or icon for Instiki. I found a nice one in a set called Influens by artist Matt U on Deviant Art, at &lt;a href="http://mat-u.deviantart.com/art/influens-icons-62280875"&gt;http://mat-u.deviantart.com/art/influens-icons-62280875&lt;/a&gt;. It looks like this:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_6p-etKjPKvU/SoLCUsafbqI/AAAAAAAAAFE/lMmNpWH27Sg/s1600-h/Documents.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 200px; height: 200px;" src="http://2.bp.blogspot.com/_6p-etKjPKvU/SoLCUsafbqI/AAAAAAAAAFE/lMmNpWH27Sg/s200/Documents.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5369067366554496674" /&gt;&lt;/a&gt;&lt;br /&gt;The icon is apopros of the way I use Instiki in that it depicts a folder of documents with sticky notes on them, suggesting an informal, working scratchpad area.&lt;br /&gt;&lt;br /&gt;I copied it to ~/wiki/instiki.png and created an instiki.desktop file in /usr/share/applications with the following contents:&lt;pre&gt;[Desktop Entry]&lt;br /&gt;Encoding=UTF-8&lt;br /&gt;Name=Instiki&lt;br /&gt;Comment=Personal Wiki&lt;br /&gt;Exec=wiki&lt;br /&gt;Icon=/home/dave/wiki/instiki.png&lt;br /&gt;Terminal=false&lt;br /&gt;Type=Application&lt;br /&gt;Categories=GNOME;Application;Development;&lt;br /&gt;StartupNotify=true&lt;/pre&gt;Made the favicon for Instiki match the desktop icon by copying the .ico version of the file to ~/wiki/inst*/public/favicon.ico.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Reclaimed screen real estate when viewing a page&lt;/h3&gt;&lt;br /&gt;By default, Instiki displays wiki content in a narrow column centered on the page. To make this area wider I made the following change in ~/wiki/inst*/public/stylesheets/instiki.css. As shipped, the definition of #Content looks like this:&lt;pre&gt;#Content {&lt;br /&gt;border-top:none;&lt;br /&gt;margin:auto;&lt;br /&gt;padding:0.3em;&lt;br /&gt;text-align:left;&lt;br /&gt;width:100%;&lt;br /&gt;max-width:55em;&lt;br /&gt;}&lt;/pre&gt;I removed the max-width specification, resulting in this:&lt;pre&gt;&lt;br /&gt;#Content {&lt;br /&gt;border-top:none;&lt;br /&gt;margin:auto;&lt;br /&gt;padding:0.3em;&lt;br /&gt;text-align:left;&lt;br /&gt;width:100%;&lt;br /&gt;}&lt;/pre&gt;&lt;br /&gt;&lt;h3&gt;Reclaimed screen real estate when editing a page&lt;/h3&gt;&lt;br /&gt;The edit and create views provide a small textarea for entering content. They also display a few examples of wiki markup in an area on the right-hand side of the frame. Since I'm using Instiki on my local machine only, I don't have to worry about accommodating different screen sizes or different markup languages. I'd rather have a large textarea that mostly fills the frame. I don't need the markup help to be visible all the time and I'm always using Textile, so I could free up some real estate by replacing the help area with a single link. Here are the portions of ~/wiki/inst*/app/views/wiki/edit.rhtml that were affected, as shipped:&lt;pre&gt;&lt;br /&gt;&amp;lt;%- &lt;br /&gt;  @title = "Editing #{@page.name.escapeHTML}"&lt;br /&gt;  @content_width = 720&lt;br /&gt;  @hide_navigation = true&lt;br /&gt;-%&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;div id="MarkupHelp"&amp;gt;&lt;br /&gt;  &amp;lt;%= render(:file =&gt; "#{@web.markup}_help") %&amp;gt;&lt;br /&gt;  &amp;lt;%= render(:file =&gt; 'wiki_words_help') %&amp;gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&lt;br /&gt; &amp;lt;% form_tag({ &lt;br /&gt;    :action =&gt; 'save', &lt;br /&gt;    :web =&gt; @web.address, &lt;br /&gt;    :id =&gt; @page.name },&lt;br /&gt;  { 'id' =&gt; 'editForm', &lt;br /&gt;    'method' =&gt; 'post', &lt;br /&gt;    'onsubmit' =&gt; 'cleanAuthorName()',&lt;br /&gt;    'accept-charset' =&gt; 'utf-8' }) do %&amp;gt;&lt;br /&gt;  &amp;lt;div&gt; &lt;br /&gt;  &amp;lt;textarea name="content" id="content" rows="24" cols="60"&amp;gt;&lt;br /&gt;  &amp;lt;%= h(flash[:content] || &lt;br /&gt;    ((params['content'] &amp;&amp; params['content'].is_utf8?) ?  &lt;br /&gt;    params['content'] : @page.content).purify) %&amp;gt;&amp;lt;/textarea&amp;gt;&lt;br /&gt; . . .&lt;/pre&gt;I removed the MarkupHelp div, added a link to Textile help to open in a new tab, and increased the size of the textarea, resulting in this:&lt;pre&gt;&lt;br /&gt;&amp;lt;%- &lt;br /&gt;  @title = "Editing #{@page.name.escapeHTML}"&lt;br /&gt;  @content_width = 720&lt;br /&gt;  @hide_navigation = true&lt;br /&gt;-%&amp;gt;&lt;br /&gt; &amp;lt;% form_tag({ &lt;br /&gt;    :action =&gt; 'save', &lt;br /&gt;    :web =&gt; @web.address, &lt;br /&gt;    :id =&gt; @page.name },&lt;br /&gt; { 'id' =&gt; 'editForm', &lt;br /&gt;   'method' =&gt; 'post', &lt;br /&gt;   'onsubmit' =&gt; 'cleanAuthorName()',&lt;br /&gt;   'accept-charset' =&gt; 'utf-8' }) do %&amp;gt;&lt;br /&gt;  &amp;lt;div&amp;gt;&lt;br /&gt;&amp;lt;a href="http://hobix.com/textile/quick.html" &lt;br /&gt;    target="_blank"&amp;gt;Textile Help&amp;lt;/a&amp;gt;&amp;lt;br /&amp;gt; &lt;br /&gt;&amp;lt;textarea name="content" id="content" &lt;br /&gt;    rows="30" cols="190"&amp;gt;&amp;lt;%= h(flash[:content] || &lt;br /&gt;   ((params['content'] &amp;&amp; params['content'].is_utf8?) ?  &lt;br /&gt;    params['content'] : @page.content).purify) %&amp;gt;&amp;lt;/textarea&amp;gt;&lt;br /&gt; . . .&lt;/pre&gt;I made the same changes in ~/wiki/inst*/app/views/wiki/new.rhtml.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Disabled spam filtering&lt;/h3&gt;&lt;br /&gt;Since this instance of Instiki resides locally and is not accessible on the network, I didn't need Instiki to protect me from my own innocent updates. I disabled spam filtering by deleting the file config/spam_patterns.txt.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;One more thing...&lt;/h3&gt;&lt;br /&gt;I copied my personalized version of Instiki over from my MacBook Pro rather than installing Instiki fresh and repeating the modifications. Initially, Instiki would not start up. It displayed the catch-all &amp;quot;Do you smell smoke?&amp;quot; message and offered no clues on the console or log file. &lt;br /&gt;&lt;br /&gt;A brief Internet search turned up a note on &lt;a href="http://rubyforge.org/pipermail/instiki-users/2009-April.txt"&gt;http://rubyforge.org/pipermail/instiki-users/2009-April.txt&lt;/a&gt; reporting that on Debian and its variants (including Ubuntu) some packages on which Instiki depends are not installed by default. I ran the following command, and the problem was fixed:&lt;pre&gt;sudo apt-get install &lt;br /&gt;    ruby1.8-dev swig libsqlite3-ruby1.8 flex bison&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/installing-git.html"&gt;Installing Git&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-7713730352921539410?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/7713730352921539410/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2009/08/pimp-my-instiki.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/7713730352921539410'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/7713730352921539410'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2009/08/pimp-my-instiki.html' title='Pimp My Instiki'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_6p-etKjPKvU/SoLCUsafbqI/AAAAAAAAAFE/lMmNpWH27Sg/s72-c/Documents.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-283482309728511862</id><published>2009-08-13T13:32:00.014-04:00</published><updated>2009-08-19T09:30:20.079-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='monodevelop'/><category scheme='http://www.blogger.com/atom/ns#' term='development'/><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='winforms'/><category scheme='http://www.blogger.com/atom/ns#' term='mono'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><category scheme='http://www.blogger.com/atom/ns#' term='nunit'/><category scheme='http://www.blogger.com/atom/ns#' term='gtk#'/><category scheme='http://www.blogger.com/atom/ns#' term='dotnet'/><title type='text'>Installing support for .NET development</title><content type='html'>This is a follow-up from &lt;a href="http://kotowanandesu.blogspot.com/2009/08/installing-support-for-coldfusion.html"&gt;Installing support for ColdFusion development&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Fair warning: This is not a definitive tutorial, it's just an informal record of my experiences in trying to install software for .NET development on Ubuntu. I had not done any .NET development prior to this. Maybe in a future blog post I'll have something more interesting to share.&lt;br /&gt;&lt;br /&gt;.NET development is supported on Linux by the Open Source project &lt;i&gt;mono&lt;/i&gt;, at &lt;a href="http://www.mono-project.com"&gt;http://www.mono-project.com&lt;/a&gt;. In reading about this on the web, I learned that the Ubuntu distro includes support for &lt;i&gt;running&lt;/i&gt; .NET applications with mono, but not for developing them. My first step, then, was to install the basic mono package:&lt;pre&gt;sudo apt-get install mono-devel&lt;/pre&gt;To verify the installation worked, I followed the instructions at &lt;a href="http://www.mono-project.com/Mono_Basics"&gt;http://www.mono-project.com/Mono_Basics&lt;/a&gt; to compile and run a few simple Hello World programs. &lt;br /&gt;&lt;br /&gt;The first is a command-line Hello World that looks like this:&lt;pre&gt;using System;&lt;br /&gt; &lt;br /&gt;public class HelloWorld&lt;br /&gt;{&lt;br /&gt; static public void Main ()&lt;br /&gt; {&lt;br /&gt;  Console.WriteLine ("Hello Mono World");&lt;br /&gt; }&lt;br /&gt; &lt;br /&gt;}&lt;/pre&gt;To produce a .NET 2.0 assembly, I compiled with&lt;pre&gt;gmcs hello1.cs&lt;/pre&gt;No errors reported. To execute the program, I used&lt;pre&gt;mono hello1.exe&lt;/pre&gt;It worked fine.&lt;br /&gt;&lt;br /&gt;BTW this was my first-ever C# program. I'm so proud! :-) Oh, wait. I didn't test-drive it. I'm so ashamed. :-(&lt;br /&gt;&lt;br /&gt;The second test was a gtk# version of the same thing. It looks like this:&lt;pre&gt;using Gtk;&lt;br /&gt;using System;&lt;br /&gt; &lt;br /&gt;class Hello {&lt;br /&gt; &lt;br /&gt;        static void Main()&lt;br /&gt;        {&lt;br /&gt;                Application.Init ();&lt;br /&gt; &lt;br /&gt;                Window window = new Window ("helloworld");&lt;br /&gt;                window.Show();&lt;br /&gt;    &lt;br /&gt;                Application.Run ();&lt;br /&gt;    &lt;br /&gt;        }&lt;br /&gt;}&lt;/pre&gt;and is compiled like this:&lt;pre&gt;gmcs hello2.cs -pkg:gtk-sharp-2.0&lt;/pre&gt;I ran it with&lt;pre&gt;mono hello2.exe&lt;/pre&gt;and it worked fine.&lt;br /&gt;&lt;br /&gt;Next there was a Winforms sample. It looks like this:&lt;pre&gt;using System;&lt;br /&gt;using System.Windows.Forms;&lt;br /&gt; &lt;br /&gt;public class HelloWorld : Form&lt;br /&gt;{&lt;br /&gt; static public void Main ()&lt;br /&gt; {&lt;br /&gt;  Application.Run (new HelloWorld ());&lt;br /&gt; }&lt;br /&gt; &lt;br /&gt; public HelloWorld ()&lt;br /&gt; {&lt;br /&gt;  Text = "Hello Mono World";&lt;br /&gt; }&lt;br /&gt;}&lt;/pre&gt;I compiled it according to the instructions with this command:&lt;pre&gt;gmcs hello3.cs -pkg:dotnet&lt;/pre&gt;This one didn't go quite so well. It complained about 13 missing dlls. &lt;br /&gt;&lt;br /&gt;I found a suggestion at &lt;a href="http://code.google.com/p/paint-mono/issues/detail?id=6"&gt;http://code.google.com/p/paint-mono/issues/detail?id=6&lt;/a&gt; to try this:&lt;pre&gt;sudo apt-get install libmono-winforms2.0-cil&lt;/pre&gt;and compile with&lt;pre&gt;gmcs hello3.cs -r:System.Windows.Forms.dll&lt;/pre&gt;This time the compile worked. I tried running the program with&lt;pre&gt;mono hello3.exe&lt;/pre&gt;and it worked fine.&lt;br /&gt;&lt;br /&gt;So at that point I had at least a partial installation of basic mono development tools. Clearly, there were still missing pieces, but at the time I did not know what more to look for.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;MonoDevelop IDE&lt;/h3&gt;&lt;br /&gt;This is an IDE for working with mono. The home page is &lt;a href="http://www.monodevelop.com"&gt;http://www.monodevelop.com&lt;/a&gt;. I installed it with&lt;pre&gt;sudo apt-get install monodevelop&lt;/pre&gt;Mono Develop appeared under Applications -&gt; Programming and it started up nicely. I didn't know what more to check, so I declared victory and moved on.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;NUnit (unit testing tool)&lt;/h3&gt;&lt;br /&gt;I didn't find any useful help on the NUnit site at &lt;a href="http://www.nunit.org"&gt;http://www.nunit.org&lt;/a&gt;, so I searched the web and found some help at &lt;a href="stackoverflow.com/questions/924239/what-the-best-setup-latest-mono-monodevelop-on-ubuntu-9-04"&gt;stackoverflow.com/questions/924239/what-the-best-setup-latest-mono-monodevelop-on-ubuntu-9-04&lt;/a&gt;. They suggested this:&lt;pre&gt;sudo apt-get install&lt;br /&gt;    monodevelop-nunit monodevelop-debugger-mdb&lt;/pre&gt;As far as I could tell, this appeared to work.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;NUnit with MonoDevelop&lt;/h3&gt;&lt;br /&gt;I had to search for help with this, as well. There doesn't seem to be any single comprehensive source of &amp;quot;getting started&amp;quot; information for people who want to learn to work with mono. At &lt;a href="http://www.dijksterhuis.org/using-nunit-with-monodevelop/"&gt;http://www.dijksterhuis.org/using-nunit-with-monodevelop/&lt;/a&gt; Martijn Dijksterhuis suggests the following.&lt;br /&gt;&lt;br /&gt;First, create a new Solution in MonoDevelop. I chose Console Project and skipped the options presented in the Project Features dialog. Then, right-click the References item in the Solution tree menu in the left-hand pane. Choose Edit References and select NUnit.Core and NUnit.Framework to include them in the Solution. What I found at that point were two options named nunit.core (all lower case) and two options named nunit.framework. One of each had a version number. I chose the entries that had version numbers.&lt;br /&gt;&lt;br /&gt;Next step was to paste in the sample program Martijn had posted:&lt;pre&gt;using System;&lt;br /&gt;using NUnit.Framework;&lt;br /&gt;&lt;br /&gt;namespace bank&lt;br /&gt;{&lt;br /&gt;    public class Account&lt;br /&gt;    {&lt;br /&gt;        private float balance;&lt;br /&gt;        public void Deposit(float amount)&lt;br /&gt;        {&lt;br /&gt;            balance += amount;&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        public void Withdraw(float amount)&lt;br /&gt;        {&lt;br /&gt;            balance -= amount;&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        public void TransferFunds(Account destination, float amount)&lt;br /&gt;        {&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        public float Balance&lt;br /&gt;        {&lt;br /&gt;            get { return balance; }&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;namespace bank&lt;br /&gt;{&lt;br /&gt;    [TestFixture]&lt;br /&gt;    public class AccountTest&lt;br /&gt;    {&lt;br /&gt;        [Test]&lt;br /&gt;        public void TransferFunds()&lt;br /&gt;        {&lt;br /&gt;            Account source = new Account();&lt;br /&gt;            source.Deposit(200.00F);&lt;br /&gt;            Account destination = new Account();&lt;br /&gt;            destination.Deposit(150.00F);&lt;br /&gt;&lt;br /&gt;            source.TransferFunds(destination, 100.00F);&lt;br /&gt;            Assert.AreEqual(250.00F, destination.Balance);&lt;br /&gt;            Assert.AreEqual(100.00F, source.Balance);&lt;br /&gt;&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        [Test]&lt;br /&gt;        public void DepositFunds()&lt;br /&gt;        {&lt;br /&gt;            Account source = new Account();&lt;br /&gt;            source.Deposit(200.00F);&lt;br /&gt;            Assert.AreEqual(200.00F, source.Balance);&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;namespace UnitTestDemo&lt;br /&gt;{&lt;br /&gt;    public class MyAccountingSoftware&lt;br /&gt;    {&lt;br /&gt;&lt;br /&gt;        public static void Main()&lt;br /&gt;        {&lt;br /&gt;            bank.Account DemoAccount = new bank.Account();&lt;br /&gt;            DemoAccount.Deposit(1000.00F);&lt;br /&gt;            DemoAccount.Withdraw(500.50F);&lt;br /&gt;            Console.WriteLine("Our account balance is {0}", DemoAccount.Balance);&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;    }&lt;br /&gt;}&lt;/pre&gt;I chose View -&gt; Unit Tests from the MonoDevelop menubar and right-clicked my Solution, then chose View -&gt; Test Results to see the results. It appeared as if NUnit ran, and the sample program had 1 passing and 1 failing test. Looked good enough as a start.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/pimp-my-instiki.html"&gt;Pimp My Instiki&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-283482309728511862?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/283482309728511862/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2009/08/installing-support-for-net.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/283482309728511862'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/283482309728511862'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2009/08/installing-support-for-net.html' title='Installing support for .NET development'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-4783702943915186572</id><published>2009-08-13T07:00:00.017-04:00</published><updated>2009-08-19T09:23:28.987-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='coldfusion'/><category scheme='http://www.blogger.com/atom/ns#' term='modelglue'/><category scheme='http://www.blogger.com/atom/ns#' term='development'/><category scheme='http://www.blogger.com/atom/ns#' term='configuration'/><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='mxunit'/><category scheme='http://www.blogger.com/atom/ns#' term='coldspring'/><title type='text'>Installing support for ColdFusion development</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/installing-tomcat_14.html"&gt;Installing Tomcat&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;I wanted to set up a ColdFusion development environment similar to that used at a current client of mine. That environment is based on ColdFusion, ColdSpring, ModelGlue, and MXUnit. The software used in this set-up is:&lt;ul&gt;&lt;li&gt;&lt;b&gt;Eclipse&lt;/b&gt; - development IDE&lt;/li&gt;&lt;li&gt;&lt;b&gt;ColdFusion&lt;/b&gt; - the base product&lt;/li&gt;&lt;li&gt;&lt;b&gt;ColdFusion Eclipse Plugin&lt;/b&gt; - Eclipse support for ColdFusion development&lt;/li&gt;&lt;li&gt;&lt;b&gt;ColdFusion ModelGlue&lt;/b&gt; - an MVC framework for webapps&lt;/li&gt;&lt;li&gt;&lt;b&gt;ColdSpring&lt;/b&gt; - a Spring-like IoC implementation for ColdFusion&lt;/li&gt;&lt;li&gt;&lt;b&gt;MXUnit&lt;/b&gt; - a unit test framework for ColdFusion, based on JUnit&lt;/li&gt;&lt;li&gt;&lt;b&gt;CFEclipse Plugin&lt;/b&gt; - Eclipse support for CFML&lt;/li&gt;&lt;li&gt;&lt;b&gt;MXUnit Eclipse Plugin&lt;/b&gt; - Eclipse support for MXUnit&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;h3&gt;ColdFusion&lt;/h3&gt;&lt;br /&gt;I followed instructions on &lt;a href="http://www.adobe.com"&gt;http://www.adobe.com&lt;/a&gt; to download and install ColdFusion Developer Edition.&lt;ol&gt;&lt;li&gt;Navigate to the ColdFusion product page on Adobe's website: &lt;a href="http://www.adobe.com/products/coldfusion/"&gt;http://www.adobe.com/products/coldfusion/&lt;/a&gt;.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Follow the link labeled &lt;i&gt;Download the free Developer Edition&lt;/i&gt;.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Sign in to the Adobe site. Create a userid and password if you don't already have one. Don't worry, it's harmless.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;From the drop-down list for ColdFusion Developer Edition, choose the appropriate language and operating system.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Click the button labeled &lt;i&gt;Download&lt;/i&gt; next to the Developer Edition drop-down box.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;I copied the downloaded file, which is an installation program, to an &amp;quot;installation&amp;quot; directory, gave myself execution permission on it, and ran it. I followed the prompts to install a standalone ColdFusion server with a root directory of /home/dave/coldfusion8, to listen on port 8500.&lt;/li&gt; &lt;br /&gt;&lt;li&gt;Started ColdFusion with&lt;pre&gt;sudo ./coldfusion8/bin/coldfusion start&lt;/pre&gt;and navigated in Firefox to localhost:8500. (Yeah, you read that right: You need root privileges to start a single-user development server on your own machine. That's &amp;quot;enterprise&amp;quot; software, for ya. &amp;lt;sigh&amp;gt;) It told me no application was configured to respond to the request. I tried localhost:8500/CFIDE (based on what I saw in ~/coldfusion8/wwwroot, and not because I knew what I was doing) and it displayed a directory listing of wwwroot/CFIDE. I clicked on &lt;i&gt;administrator&lt;/i&gt; and the ColdFusion Administrator app started up. It accepted the password I had defined during the installation process, and appeared to be working. I took this to mean a crude install of the base product had been accomplished. I looked, but couldn't find a sample app. Often, vendors include a sample app you can attempt to run, so that you can see whether the product installed correctly. No such luck here. If there are problems, I suppose they will turn up as I continue configuring the environment.&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;h3&gt;Install ColdSpring&lt;/h3&gt; &lt;br /&gt;ColdSpring is a port of Spring to ColdFusion. Its main features are support for IoC and AOP. I obtained it from &lt;a href="http://www.coldspringframework.org/"&gt;http://www.coldspringframework.org/&lt;/a&gt;. The site offers a quick start guide, a reference guide, and API docs for CFCs. The simplicity and clarity of the packaging and documentation were a refreshing contrast to the &amp;quot;enterprisey&amp;quot; organization and packaging of ColdFusion itself. &lt;br /&gt;&lt;br /&gt;I downloaded the pdf Reference Guide. The guide states you can install ColdSpring by placing the source in the web root directory. I learned the hard way that they &lt;i&gt;should have said&lt;/i&gt; to unpack the distribution archive in the web root directory. &amp;quot;Place the source&amp;quot; there didn't imply that to me. &lt;br /&gt;&lt;br /&gt;There is more than merely a problem with wording, though. While the Reference Guide says you can &lt;i&gt;either&lt;/i&gt; place the source in wwwroot &lt;i&gt;or&lt;/i&gt; define mappings in Administrator, in fact you must do both. After I defined a mapping for /coldspring to wwwroot, the &lt;i&gt;quickstart&lt;/i&gt; app worked. The other sample apps did not work. This tells me the basic install is okay, and there are some configuration secrets that the developers and supporters of ColdSpring think are too obvious to bear mentioning. I'll have to seek help to complete the configuration later, when I'm ready to try &lt;i&gt;using&lt;/i&gt; these tools.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Install ModelGlue&lt;/h3&gt;&lt;br /&gt;ModelGlue is a Model-View-Container framework that comes in ColdFusion and Flex flavors. I downloaded a zipped distribution archive from &lt;a href="http://www.modelglue.org"&gt;http://www.modelglue.org&lt;/a&gt;. At first glance, the documentation at &lt;a href="http://docs.model-glue.com/"&gt;http://docs.model-glue.com/&lt;/a&gt; looks comprehensive, well-organized, and filled with concrete, practical examples, tutorials, and how-tos. One exceptionally good feature of the documentation is that the main heading on the first page reads, &amp;quot;Don't panic!&amp;quot; The site also has installation and configuration instructions, which I followed more-or-less like this:&lt;ol&gt;&lt;li&gt;Unpack the distribution archive&lt;/li&gt;&lt;li&gt;Copy the ModelGlue folder to ColdFusion's wwwroot folder&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;h3&gt;Install MXUnit&lt;/h3&gt;&lt;br /&gt;MXUnit is a unit testing framework based on JUnit. To get it, I went to &lt;a href="http://www.mxunit.org/"&gt;http://www.mxunit.org/&lt;/a&gt; and downloaded the distribution archive. Then I unpacked it in the coldfusion8/wwwroot directory.&lt;br /&gt;&lt;br /&gt;To verify the installation, I started the ColdFusion server and went to &lt;a href="http://localhost:8500/mxunit/index.cfm"&gt;http://localhost:8500/mxunit/index.cfm&lt;/a&gt;. It ran a trivial sample app and displayed a &amp;quot;Congratulations&amp;quot; message.&lt;br /&gt;&lt;br /&gt;So far, so good with the ColdFusion setup.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Install the CFEclipse Eclipse Plugin&lt;/h3&gt;&lt;br /&gt;This is an Eclipse plugin that provides language support for ColdFusion Markup Language (CFML). The CFEclipse wiki has current information about the Eclipse update site, recent versions, known problems and workarounds. When I installed it, the update site was www.cfeclipse.org/update. Installation instructions are at &lt;a href="http://trac.cfeclipse.org/wiki/InstallingCfeclipse"&gt;http://trac.cfeclipse.org/wiki/InstallingCfeclipse&lt;/a&gt;. I followed the instructions more-or-less this way:&lt;ol&gt;&lt;li&gt;Started Eclipse&lt;/li&gt;&lt;li&gt;From the main menu, chose Help -&gt; Install New Software...&lt;/li&gt;&lt;li&gt;In the Install dialog window, clicked the Add button. Entered 'CFEclipse' in Name and 'http://www.cfeclipse.org/update' in Location. Clicked OK.&lt;/li&gt;&lt;li&gt;Eclipse displayed two downloadable items, the editor and the documentation. I checked both. I also unchecked the 'group items by category' box and clicked Next. This resulted in an error, apparently because it tried to grab the documentation for Eclipse 3.4 and 3.5. I only needed 3.5, so I deselected the documentation for 3.4 and tried again. It seemed to like this better.&lt;/li&gt;&lt;li&gt;Clicked Next on the 'review' dialog.&lt;/li&gt;&lt;li&gt;On the 'accept licenses' dialog, clicked the 'accept' radio button but the installation did not work. The Next and Finish buttons remained disabled. I tried checking 'do not accept', scrolling from top to bottom of each license, and then checking 'accept' on each one. This time, the Finish button became enabled.&lt;/li&gt;&lt;li&gt;Eclipse called for a restart, and I clicked Yes to restart it.&lt;/li&gt;&lt;/ol&gt;Since I have no existing ColdFusion code and no ColdFusion experience, I didn't try to write a test app. I noticed that when I opened the perspectives dialog, there was an entry for CFEclipse. I chose it and things looked pretty normal.  &lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Install the MXUnit Eclipse Plugin&lt;/h3&gt;&lt;br /&gt;The installation instructions at &lt;a href="http://www.mxunit.org/doc/index.cfm?doc=installplugin"&gt;http://www.mxunit.org/doc/index.cfm?doc=installplugin&lt;/a&gt; appear to be designed for an earlier version of Eclipse and for Microsoft Windows. It looks like a standard Eclipse software update, so I used the information from the site but followed a procedure like the one I used for the CFEclipse Plugin. The update site is http://mxunit.org/update. This installed MXUnit Test Runner.&lt;br /&gt;&lt;br /&gt;At this point I believed I had a working installation of the ColdFusion development tools my client uses. &lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/installing-support-for-net.html"&gt;Installing support for .NET development&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-4783702943915186572?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/4783702943915186572/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2009/08/installing-support-for-coldfusion.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/4783702943915186572'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/4783702943915186572'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2009/08/installing-support-for-coldfusion.html' title='Installing support for ColdFusion development'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-6346615462764479108</id><published>2009-08-13T06:50:00.005-04:00</published><updated>2009-08-15T09:33:48.714-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='development'/><category scheme='http://www.blogger.com/atom/ns#' term='configuration'/><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='tomcat'/><title type='text'>Installing Tomcat</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/installing-tomcat.html"&gt;Installing Tomcat - FAIL!&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I went to &lt;a href="http://tomcat.apache.org"&gt;http://tomcat.apache.org&lt;/a&gt; and downloaded a zipped archive of Tomcat. I unpacked it into my home directory, resulting in a directory tree starting with &lt;i&gt;apache-tomcat-x.x.x&lt;/i&gt;. I renamed the top-level directory &lt;i&gt;tomcat-dev&lt;/i&gt;.&lt;br /&gt;&lt;br /&gt;In Terminal I changed to the tomcat-dev/bin directory and granted execute permission on everything in it with&lt;pre&gt;chmod +x *&lt;/pre&gt;Then I tried starting Tomcat with&lt;pre&gt;startup.sh&lt;/pre&gt;I expected this to start a server listening on port 8080. It worked.&lt;br /&gt;&lt;br /&gt;I edited conf/server.xml and set the connection port to 8081. I edited conf/tomcat-users.xml to define a user like this&lt;pre&gt;&lt;tomcat-users&gt;&lt;br /&gt;  &amp;lt;role rolename="manager"/&amp;gt;&lt;br /&gt;  &amp;lt;role rolename="tomcat"/&amp;gt;&lt;br /&gt;  &amp;lt;user username="tomcat" password="tomcat" roles="tomcat,manager"/&amp;gt;&lt;br /&gt;&amp;lt;/tomcat-users&amp;gt;&lt;/pre&gt;Tomcat started properly on 8081, and I could get to the Manager app.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/installing-support-for-coldfusion.html"&gt;Installing support for ColdFusion development&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-6346615462764479108?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/6346615462764479108/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2009/08/installing-tomcat_14.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/6346615462764479108'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/6346615462764479108'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2009/08/installing-tomcat_14.html' title='Installing Tomcat'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-5734651041541417365</id><published>2009-08-13T06:45:00.004-04:00</published><updated>2009-08-14T17:41:40.821-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='development'/><category scheme='http://www.blogger.com/atom/ns#' term='configuration'/><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='fail'/><category scheme='http://www.blogger.com/atom/ns#' term='tomcat'/><title type='text'>Installing Tomcat - FAIL!</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/installing-support-for-java.html"&gt;Installing support for Java development&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Installing Tomcat should be routine. I've done it many times on Windows and OS X systems. Installing it on Ubuntu turned out to be a lengthy and frustrating experience. &lt;br /&gt;&lt;br /&gt;The Ubuntu help pages have a description of how to install Tomcat system-wide or on a per-user basis for a development environment; see &lt;a href="https://help.ubuntu.com/8.10/serverguide/C/tomcat.html"&gt;https://help.ubuntu.com/8.10/serverguide/C/tomcat.html&lt;/a&gt;. &lt;br /&gt;&lt;br /&gt;I followed the instructions provided on that page under &lt;i&gt;Using private instances&lt;/i&gt;. The commands to install Tomcat and to create a user-specific instance were:&lt;pre&gt;sudo apt-get install tomcat6-user&lt;br /&gt;tomcat6-instance-create my-instance&lt;br /&gt;&lt;/pre&gt;This resulted in a Tomcat installation under ~/my-instance. I'm not crazy about that directory name. Before changing it, I wanted to verify the installation was okay so far. I checked my-instance/conf/server.xml and saw it was set to listen on port 8080, so I left it alone. I ran this command:&lt;pre&gt;my-instance/bin/startup.sh&lt;/pre&gt;Browsing to localhost:8080 in Firefox got me a blank document. I tried localhost:8080/manager and got a blank document. I tried localhost:8080/tomcat and got a blank document. In my-instance/logs, both catalina.out and the log file indicated startup was normal, services started properly, and showed no other activity and no errors. I had not seen this behavior in a Tomcat installation before.&lt;br /&gt;&lt;br /&gt;I edited my-instance/conf/server.xml and changed the connector port to 8088, then tried it again. Same behavior. The documentation states that no webapps are deployed by default. That might be the reason it serves nothing but blank documents. Apparently, the &lt;i&gt;manager&lt;/i&gt; app is not included in the per-user package. Normally, I expect to see the "It works!" message by default.&lt;br /&gt;&lt;br /&gt;My next thought was to download the manager application by itself and drop it into the webapps directory. All the documentation I could find stated that the manager application is included by default in Tomcat installations. Clearly, this is not the case for the user-specific Ubuntu package. &lt;br /&gt;&lt;br /&gt;The Ubuntu Tomcat help page listed this command to install the manager application, assuming you had installed the service version of Tomcat. It looked as if this might do the trick:&lt;pre&gt;sudo apt-get install tomcat6-admin&lt;/pre&gt;Unfortunately, this resulted in a Tomcat service automatically installing and starting. &lt;br /&gt;&lt;br /&gt;It was unclear how to shut the thing down manually. I found a posting online that indicated the start and stop commands are in /etc/init.d. I ran&lt;pre&gt;/etc/init.d/tomcat6 stop&lt;/pre&gt;to shut down the instance. I was unable to locate a .war file for the manager app anywhere.&lt;br /&gt;&lt;br /&gt;A task that should have taken me five minutes had now extended into hours. I had to stop and go to work. Before I gave up for the morning, I found a backup copy of another Tomcat installation on an external hard drive. I was thinking of copying the manager and host-manager applications from there to the user-specific Tomcat installation on Ubuntu, but on reflection I realized this was not a repeatable or reliable way to install software. &lt;br /&gt;&lt;br /&gt;I decided to install dev instances of Tomcat the &amp;quot;old-fashioned way.&amp;quot; &lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/installing-tomcat_14.html"&gt;Installing Tomcat&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-5734651041541417365?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/5734651041541417365/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2009/08/installing-tomcat.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/5734651041541417365'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/5734651041541417365'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2009/08/installing-tomcat.html' title='Installing Tomcat - FAIL!'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-7195431676704131189</id><published>2009-08-13T06:22:00.019-04:00</published><updated>2009-08-19T09:22:00.540-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='maven2'/><category scheme='http://www.blogger.com/atom/ns#' term='development'/><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><title type='text'>Installing support for Java development</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/installing-support-for-ruby.html"&gt;Installing support for Ruby development&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Basic software installs&lt;/h3&gt;&lt;br /&gt;I installed the Java development tools, Eclipse, and Maven with these commands:&lt;pre&gt;sudo apt-get install sun-java6-jdk&lt;br /&gt;    sun-java6-plugin maven2 eclipse&lt;/pre&gt;To check which version of Java was the default after the install, I ran&lt;pre&gt;java -version&lt;/pre&gt;It displayed 1.5.0, so I ran this command to set version 6 as the default:&lt;pre&gt;sudo update-java-alternatives -s java-6-sun&lt;/pre&gt;After that when I ran java -version it came back with 1.6.0.&lt;br /&gt;&lt;br /&gt;To verify maven2 was installed correctly, I ran the following command:&lt;pre&gt;mvn --version&lt;/pre&gt;No problems at this point.&lt;br /&gt;&lt;br /&gt;To verify Eclipse was installed correctly, I went to the Applications -&gt; Programming on the main menubar and saw there was an entry for Eclipse. I selected it, saw that it started, and exited. I noticed the version was 3.2. I will check into getting a more recent version later.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Maven configuration&lt;/h3&gt;&lt;br /&gt;Although maven2 appeared to have installed correctly, I was unable to locate the local repo or the maven home directory or any environment variable settings pertaining to maven. A quick web search failed to turn up any useful information about the default location where apt-get installs maven2. &lt;br /&gt;&lt;br /&gt;As far as I could tell, being a n00b and all, the environment variables maven2 supposedly needs to be set were not set, and there was no local repo. I decided to try&lt;pre&gt;mvn archetype:generate&lt;/pre&gt;just to see whether it would do anything or complain about missing components or unknown paths or whatever. I chose &lt;i&gt;quickstart&lt;/i&gt; when prompted, and it worked perfectly. It also created .m2/repository as it downloaded dependencies. Nice to know.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Upgrading Eclipse to 3.5 &amp;quot;Galileo&amp;quot;&lt;/h3&gt;&lt;br /&gt;At the time I installed it, the latest Eclipse release wasn't yet included in the Ubuntu distro. John Paulett provides a nice set of instructions for installing it on Ubuntu 9.04 on his site at &lt;a href="http://johnpaulett.com/2009/06/26/install-eclipse-galileo-3-5-on-ubuntu-jaunty-9-04/"&gt;http://johnpaulett.com/2009/06/26/install-eclipse-galileo-3-5-on-ubuntu-jaunty-9-04/&lt;/a&gt;. Using his instructions as a guide, this is how I installed Eclipse 3.5:&lt;ol&gt;&lt;li&gt;Created a directory for Eclipse under /home. John recommends ~/bin/packages/eclipse, and he later installs Galileo in ~/bin/packages/eclipse/eclipse3.5 because he needs multiple versions of Eclipse. I don't need multiple versions, so I installed it in ~/bin/packages.&lt;pre&gt;cd ~/bin&lt;br /&gt;mkdir packages&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;Downloaded the 64-bit version of Eclipse 3.5 (long lines are broken for readability in Blogger):&lt;pre&gt;cd packages&lt;br /&gt;wget http://d2u376ub0heus3.cloudfront.net/galileo/&lt;br /&gt;    eclipse-java-galileo-linux-gtk-x86_64.tar.gz&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;Next, I unpacked the archive in place, in the packages directory:&lt;pre&gt;tar xzvf eclipse-java-galileo-linux-gtk*.tar.gz&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;I deviated from John's instructions at this point, and just updated /usr/share/applications/eclipse.desktop to point to the executable I had just installed:&lt;pre&gt;Exec=/home/dave/bin/packages/eclipse/eclipse&lt;/pre&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;I started Eclipse from the main menu, Applications -&gt; Programming -&gt; Eclipse, and it started the new Galileo version. Eclipse had no trouble opening one of the workspaces I had copied over from my OS X system.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Eclipse configuration&lt;/h3&gt;&lt;br /&gt;I set the M2_REPO classpath variable in Eclipse to point to the local repo. I started Eclipse and navigated to Window -&gt; Preferences, then expanded the tree menu items Java -&gt; Build Path -&gt; Classpath Variables. &lt;br /&gt;&lt;br /&gt;I noticed that this version of Eclipse comes with an M2_REPO already defined. It points to the default location of /Users/dave/.m2. Then I chose &lt;i&gt;Edit&lt;/i&gt; and changed the value to /home/dave/.m2.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Migrating Java development projects&lt;/h3&gt;&lt;br /&gt;I copied my ~/.m2/repository from the MacBook Pro to an external drive, and then from there merged it with the ~/.m2/repository on Ubuntu. &lt;br /&gt;&lt;br /&gt;I copied my eclipse-workspaces directory from the MacBook Pro to the external drive, and from there to the ~/projects directory on Ubuntu. &lt;br /&gt;&lt;br /&gt;Next step was to try and build the projects I'm currently working on to discover what configuration options I would have to change to get things working on the new system. I've been around the block too many times to expect things to &amp;quot;just work.&amp;quot; Somewhere, something must be pointing to a resource that doesn't exist on the new system, or depends on a different version of something than the one I've installed. I decided to try building a Function Point Analysis application I'd been working on last year. It's a good test case for maven2 because it's got multiple components and a hierarchy of POMs. &lt;br /&gt;&lt;br /&gt;I was surprised and pleased when mvn compile worked on the first try. I ran mvn test and got two failures out of many, many tests. Old, dusty neurons fired, reminding me that these tests used to fail with maven on my old system, too. They worked under Eclipse. So it was time to see if Eclipse would &amp;quot;just work,&amp;quot; too. Wouldn't that be nice? Sure it would. Actually, I knew it wouldn't work because I needed to change the build dependencies in Eclipse to reflect their new locations. But I could at least see that no other, unexpected errors occurred.&lt;br /&gt;&lt;br /&gt;The project would not build inside Eclipse because references to external libraries were invalid. I expected this, since I had set things up differently on OS X. I knew I would have to redefine a few things with the new setup. I was satisfied that things were in place and would work. There was just some housekeeping to do since I had decided to organize the files differently on the new system. Java was good to go!&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/installing-tomcat.html"&gt;Installing Tomcat - FAIL!&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-7195431676704131189?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/7195431676704131189/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2009/08/installing-support-for-java.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/7195431676704131189'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/7195431676704131189'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2009/08/installing-support-for-java.html' title='Installing support for Java development'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-3540219425917593519</id><published>2009-08-12T04:57:00.027-04:00</published><updated>2009-11-15T16:31:05.947-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='rspec'/><category scheme='http://www.blogger.com/atom/ns#' term='geany'/><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><category scheme='http://www.blogger.com/atom/ns#' term='development'/><category scheme='http://www.blogger.com/atom/ns#' term='webrat'/><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='rails'/><category scheme='http://www.blogger.com/atom/ns#' term='gems'/><category scheme='http://www.blogger.com/atom/ns#' term='cucumber'/><category scheme='http://www.blogger.com/atom/ns#' term='rcov'/><title type='text'>Installing support for Ruby development</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/updating-ubuntu.html"&gt;Updating Ubuntu&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Ruby&lt;/h3&gt;&lt;br /&gt;To install Ruby support:&lt;pre&gt;sudo apt-get install ruby-full&lt;/pre&gt;&lt;h3&gt;Geany (an IDE)&lt;/h3&gt;&lt;br /&gt;Low let's get Geany, a rudimentary IDE I find handy for Ruby development.&lt;pre&gt;sudo apt-get install geany&lt;/pre&gt;&lt;h3&gt;Gems (to install other Ruby packages)&lt;/h3&gt;&lt;br /&gt;This installation procedure is a little different from the usual apt-get thing.&lt;br /&gt;&lt;br /&gt;1. Look on Ruby Forge and see what the latest version of Ruby Gems is: &lt;a href="http://rubyforge.org/frs/?group_id=126"&gt;http://rubyforge.org/frs/?group_id=126&lt;/a&gt;. Hover over the .tgz filename to see the correct URL for the wget command.&lt;br /&gt;&lt;br /&gt;2. The Ruby community does not recommend using apt-get to install Ruby Gems because Advanced Package Tool and gems may get out of sync about versions. The recommended way is to open a Terminal window and enter the following commands (in this case the version I found in step 1 was 1.3.4). Long lines are split for readability in Blogger. Use common sense.&lt;pre&gt;cd ~&lt;br /&gt;wget http://rubyforge.org/frs/download.php/57643/&lt;br /&gt;        rubygems-1.3.4.tgz&lt;br /&gt;tar xzvf rubygems-1.3.4.tgz&lt;br /&gt;cd rubygems-1.3.4&lt;br /&gt;sudo ruby setup.rb&lt;/pre&gt;3. Note which executable was installed (a message appears near the end of the installation) and define a symlink to it. In this case it was version 1.8.&lt;pre&gt;sudo ln -s /usr/bin/gem1.8 /usr/bin/gem&lt;/pre&gt;4. If the installation worked, the following command will display version information. In this case we want to see "1.3.4". By changing directories first I help myself believe the PATH was updated. I hear it's good to believe.&lt;pre&gt;cd&lt;br /&gt;gem -v&lt;/pre&gt;&lt;br /&gt;&lt;h3&gt;MySQL server&lt;/h3&gt;&lt;br /&gt;I use MySQL for Ruby on Rails development (and other things, too). To install:&lt;pre&gt;sudo apt-get install mysql-server&lt;/pre&gt;Of course, you should set the MySQL root password to something other than &amp;quot;empty&amp;quot; when prompted. The installer starts mysqld. To be sure it worked, run&lt;pre&gt;ps ax | grep mysql&lt;/pre&gt;and look for /var/run/mysqld/mysqld.pid.&lt;br /&gt;&lt;br /&gt;After installation, you can stop and start MySQL through System -&gt; Administration -&gt; Services on the main menubar. Alternatively, you can start and stop MySQL from a Terminal window using the commands:&lt;pre&gt;sudo /etc/init.d/mysql start&lt;/pre&gt;and&lt;br /&gt;&lt;pre&gt;sudo /etc/init.d/mysql stop&lt;/pre&gt;&lt;br /&gt;&lt;h3&gt;MySQL GUI client&lt;/h3&gt;&lt;br /&gt;To install a gui client for MySQL, choose Applications -&gt; Add/Remove Applications from the main menubar. If prompted to update the list of available packages, do so. Under Show, choose "All available applications". Select "MySQL Administrator" for a GUI client and "MySQL Query Browser" for a GUI tool for running queries. After the installer finishes, the two applications will appear under Applications -&gt; Programming on the main menubar.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Ruby bindings for MySQL&lt;/h3&gt;&lt;br /&gt;Open a Terminal window and enter the following commands:&lt;pre&gt;cd ~&lt;br /&gt;sudo apt-get install libmysql-ruby libmysqlclient-dev&lt;/pre&gt;The package libmysqlclient-dev is a virtual package. When you run the command above, you will see an error message that shows the name of the real package. Substitute it in the command line and run it again. When I ran it, it showed libmysqlclient15-dev, so I ran the command this way:&lt;pre&gt;sudo apt-get install libmysql-ruby libmysqlclient15-dev&lt;/pre&gt;Run this command to build it:&lt;pre&gt;sudo gem install mysql&lt;/pre&gt;&lt;br /&gt;&lt;h3&gt;Rails&lt;/h3&gt;&lt;br /&gt;Use Gems to install Rails. Open a Terminal window and enter the following command&lt;pre&gt;cd ~&lt;br /&gt;sudo gem install rails&lt;/pre&gt;If the installation succeeded, the following command will display version information:&lt;pre&gt;rails -v&lt;/pre&gt;Verify the installation by generating a trivial rails app:&lt;pre&gt;cd ~&lt;br /&gt;rails myrailsapp -d mysql&lt;/pre&gt;or, for sqlite3:&lt;pre&gt;cd ~&lt;br /&gt;rails myrailsapp&lt;/pre&gt;In myrailsapp/script, run the command:&lt;pre&gt;./server&lt;/pre&gt;If all is well, a WEBrick server will start and will listen on port 3000 for HTTP requests. Try loading the following URL in a browser. You should see a welcome page.&lt;pre&gt;http://localhost:3000&lt;/pre&gt;&lt;br /&gt;&lt;h3&gt;Testing tools&lt;/h3&gt;&lt;br /&gt;These are tools for test-driven-, behavior-driven-, and storytest-driven-development:&lt;ul&gt;&lt;li&gt;Autotest - continuous testing (part of ZenTest)&lt;/li&gt;&lt;li&gt;Cucumber - storytest tool&lt;/li&gt;&lt;li&gt;RCov - coverage tool&lt;/li&gt;&lt;li&gt;rspec - BDD tool&lt;/li&gt;&lt;li&gt;Webrat - browser simulator (used by Cucumber)&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;On Debian variants (like Ubuntu), you have to install a couple of libraries before installing Webrat. They are needed by Nokogiri, the XML libary used in Webrat.&lt;pre&gt;sudo gem install ZenTest&lt;br /&gt;sudo gem install rcov&lt;br /&gt;sudo gem install rspec rspec-rails&lt;br /&gt;sudo gem install cucumber&lt;br /&gt;sudo apt-get install libxslt1-dev libxml2-dev&lt;br /&gt;sudo gem install webrat&lt;/pre&gt;&lt;br /&gt;&lt;h3&gt;Some conveniences&lt;/h3&gt;&lt;br /&gt;I'm rather slow-witted, so I find it helpful to follow a few conventions even though I'm the only person working on my system or on my little side projects. I put my software development projects under a directory called /projects. I nearly always use Geany for Ruby on Rails development. I use rspec and Cucumber with these projects. So it's convenient to have a quick way to set up a new Ruby on Rails project in the usual directory that includes the elements I usually want and that creates a Geany project file. To that end, I created a shell script in ~/bin that sets these things up for me. The script &lt;i&gt;newrailsapp&lt;/i&gt; looked like this as of the time I posted this information:&lt;pre&gt;#!/bin/bash&lt;br /&gt;if [ -z $1 ]; then&lt;br /&gt;    echo "usage: newrailsapp appname"&lt;br /&gt;    exit&lt;br /&gt;fi&lt;br /&gt;if [ -e $1 ]; then&lt;br /&gt;    echo "Can't create $1 because it already exists. Quitting."&lt;br /&gt;    exit&lt;br /&gt;fi&lt;br /&gt;&lt;br /&gt;# Create the rails app&lt;br /&gt;&lt;br /&gt;rails -d mysql $1&lt;br /&gt;&lt;br /&gt;# Generate rspec support for the app&lt;br /&gt;&lt;br /&gt;cd $1&lt;br /&gt;./script/generate rspec&lt;br /&gt;./script/generate cucumber&lt;br /&gt;&lt;br /&gt;# Create a geany project file for the app&lt;br /&gt;&lt;br /&gt;echo "Creating geany project file $1.geany"&lt;br /&gt;cd ..&lt;br /&gt;echo "[indentation]" &gt; $1.geany&lt;br /&gt;echo "indent_width=4" &gt;&gt; $1.geany&lt;br /&gt;echo "indent_type=1" &gt;&gt; $1.geany&lt;br /&gt;echo "indent_hard_tab_width=8" &gt;&gt; $1.geany&lt;br /&gt;echo "detect_indent=false" &gt;&gt; $1.geany&lt;br /&gt;echo "indent_mode=2" &gt;&gt; $1.geany&lt;br /&gt;echo " " &gt;&gt; $1.geany&lt;br /&gt;echo "[project]" &gt;&gt; $1.geany&lt;br /&gt;echo "name=$1" &gt;&gt; $1.geany&lt;br /&gt;echo "base_path=/home/dave/projects/$1/" &gt;&gt; $1.geany&lt;br /&gt;echo "make_in_base_path=false" &gt;&gt; $1.geany&lt;br /&gt;echo " " &gt;&gt; $1.geany&lt;br /&gt;echo "[files]" &gt;&gt; $1.geany&lt;br /&gt;echo "current_page=-1" &gt;&gt; $1.geany&lt;/pre&gt;Also created these aliases in ~/.bash_aliases:&lt;pre&gt;# Start Geany (IDE)&lt;br /&gt;alias geany='geany &amp;'&lt;br /&gt;# Start and stop any Rails test server&lt;br /&gt;alias server='script/server &amp;'&lt;br /&gt;alias server_stop='~/bin/server_stop'&lt;/pre&gt;&lt;br /&gt;The alias &lt;i&gt;geany&lt;/i&gt; just starts Geany in the background. Saves a couple of keystrokes.&lt;br /&gt;&lt;br /&gt;The purpose of &lt;i&gt;server&lt;/i&gt; is to start a Webrick server for dev-testing a Rails app. It's meant to be run from a command line when you're in the appropriate &lt;i&gt;project&lt;/i&gt; subdirectory. The &lt;i&gt;server&lt;/i&gt; script looks like this:&lt;pre&gt;#!/bin/bash&lt;br /&gt;script/server &amp;&lt;/pre&gt;The purpose of &lt;i&gt;server_stop&lt;/i&gt; is to stop a Webrick server. It looks like this (with the usual caveat about long lines)&lt;pre&gt;#!/bin/bash&lt;br /&gt;kill -9 `ps -o pid,cmd --no-heading -p $(pgrep ruby)&lt;br /&gt;         | grep script/server | awk '{print $1}'`&lt;/pre&gt;The assumption is that there will only be one Webrick server running at a time. It's a safe assumption because all of this is set up for a single user environment.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/installing-support-for-java.html"&gt;Installing support for Java development&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-3540219425917593519?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/3540219425917593519/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2009/08/installing-support-for-ruby.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/3540219425917593519'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/3540219425917593519'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2009/08/installing-support-for-ruby.html' title='Installing support for Ruby development'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-8720003396463406311</id><published>2009-08-12T04:50:00.009-04:00</published><updated>2009-08-15T10:55:35.338-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='upgrade'/><category scheme='http://www.blogger.com/atom/ns#' term='update'/><title type='text'>Updating Ubuntu</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/toshiba-satellite-ubuntu-vista-dual.html"&gt;Toshiba Satellite Ubuntu-Vista dual-boot configuration&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;With the basic install of Ubuntu done, it was time to bring the instance up to date. To do that, I ran the following commands:&lt;br /&gt;&lt;pre&gt;sudo apt-get update&lt;br /&gt;sudo apt-get upgrade&lt;br /&gt;sudo apt-get install build-essential&lt;/pre&gt;The first two commands download and install various software updates for the OS. &lt;br /&gt;&lt;br /&gt;The &lt;i&gt;build-essential&lt;/i&gt; package consists of C header files, libraries, compilers and so forth necessary for building software. &lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/installing-support-for-ruby.html"&gt;Installing support for Ruby development&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-8720003396463406311?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/8720003396463406311/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2009/08/updating-ubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/8720003396463406311'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/8720003396463406311'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2009/08/updating-ubuntu.html' title='Updating Ubuntu'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-8639493025393454927</id><published>2009-08-11T16:23:00.013-04:00</published><updated>2009-08-15T10:45:34.696-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Toshiba'/><category scheme='http://www.blogger.com/atom/ns#' term='fail'/><category scheme='http://www.blogger.com/atom/ns#' term='vista'/><category scheme='http://www.blogger.com/atom/ns#' term='recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='switch'/><category scheme='http://www.blogger.com/atom/ns#' term='dual-boot'/><title type='text'>Toshiba Satellite Ubuntu-Vista dual boot configuration</title><content type='html'>Previos: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/great-laptop-quest-part-2-hardware.html"&gt;The Great Laptop Quest Part 2: The Hardware&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;It should be a straightforward matter to configure a machine to boot into alternate operating systems. Resize, move, and/or create partitions on the hard drive or drives; install the operating systems into the appropriate partitions; mount any shared data partitions in each operating system; and &amp;quot;To start, press any key.&amp;quot;&lt;br /&gt;&lt;br /&gt;It &lt;i&gt;should&lt;/i&gt; be a straightforward matter.&lt;br /&gt;&lt;br /&gt;In reading about the particular hardware and software products I intended to configure on the Toshiba Satellite laptop, I learned about quite a few problems people were having when trying to set up a dual boot with Windows Vista. Vista, it seems, is a bit non-standard in the way it manages its boot partition. What's more, it's fairly unfriendly toward those who try to muck with it. The salient points are:&lt;ol&gt;&lt;li&gt;Vista has to boot from the first primary partition on the hard drive.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Vista writes a special &amp;quot;boot code&amp;quot; into bytes 63 through 2047 of the boot partition. The &amp;quot;real&amp;quot; partition data starts at offset 2048. This appears to be designed to defeat partition management programs that were not published by Microsoft Corporation. If that was the design intent, then it has succeeded.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;When you use a non-Microsoft partition management program to shrink the Vista boot partition to make space on the hard drive for a second operating system, the program might innocently rewrite the partition data starting at offset zero. After all, why &lt;i&gt;shouldn't&lt;/i&gt; it? At that point Vista is broken.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Did I say &amp;quot;broken?&amp;quot; I'm sorry. I meant to say, &amp;quot;unrecoverable.&amp;quot; There's no option but to reinstall Vista from scratch using the original installation DVDs. Unfortunately...&lt;/li&gt;&lt;br /&gt;&lt;li&gt;...you don't have the original installation DVDs if you purchased an OEM system with Vista pre-installed.&lt;/li&gt;&lt;/ol&gt;On my first attempt to set up the dual boot environment, I followed the tutorial at &lt;a href="http://apcmag.com/how_to_dualboot_vista_with_linux_vista_installed_first.htm"&gt;http://apcmag.com/how_to_dualboot_vista_with_linux_vista_installed_first.htm&lt;/a&gt;, which seemed to me to be well throught-out and reasonable. I used Vista's Disk Manager utility to shrink the partition. Then I installed Ubuntu using a Live CD burned on the Mac. The installation went smoothly and there were almost no issues on the Ubuntu side. I spent a few hours tracking down a problem with Ubuntu recognizing the Intel 5100agn wireless chipset, and there was an issue with power management settings causing &amp;quot;shutdown&amp;quot; to terminate Ubuntu but not to turn the machine off. When I booted into Vista the first time after the Ubuntu install, there were no errors related to the partition resize. &lt;br /&gt;&lt;br /&gt;So I had a functional dual boot configuration. But the resulting configuration was not quite what I had in mind. Disk Manager would not allow the Vista boot partition to shrink any smaller than about half its original size. That resulted in a Vista partition of about 154 GB. Since my goal was to create a shared data partition occupying most of the hard drive space, most of the Vista partition would simply contain wasted space. What I really wanted to do was shrink the Vista partition to about 16 GB. Neither Disk Manager on Vista nor the partitioner in the Ubuntu install process offered a way for me to set up the partitions in this way, although the Ubuntu installer did have an option to set up all partitions manually. Under the circumstances, I wasn't confident that doing so would leave Vista undamaged or recoverable. &lt;br /&gt;&lt;br /&gt;What I had in mind was a configuration like the one described in this description of a partitioning scheme: &lt;a href="http://www.psychocats.net/ubuntu/partitioning"&gt;http://www.psychocats.net/ubuntu/partitioning&lt;/a&gt;. Although Ubuntucat considers this approach outdated and currently favors Wubi, I think the partitioning scheme shown below would be ideal for my needs:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_6p-etKjPKvU/SoHTeS0u-PI/AAAAAAAAAE8/hL_s9jbNoDY/s1600-h/partitioning5.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 29px;" src="http://3.bp.blogspot.com/_6p-etKjPKvU/SoHTeS0u-PI/AAAAAAAAAE8/hL_s9jbNoDY/s320/partitioning5.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5368804748204898546" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;What about the risk of destroying my Vista installation? I sifted through many online forum postings, blog entries, and articles. I kept finding contradictory information. It occurred to me that the apparent contradictions might simply be due to timing. Many of the horror stories about repartitioning causing a broken and unrecoverable Vista installation dated from 2007. Reading more carefully, I learned that &lt;i&gt;gparted&lt;/i&gt; version 0.3.4 and later are reported to be able to resize a Vista partition without damaging it, although &lt;i&gt;moving&lt;/i&gt; a Vista partition may require a system recovery using a bootable Vista installation disc. Well, I wasn't planning to &lt;i&gt;move&lt;/i&gt; the partition, was I? &lt;br /&gt;&lt;br /&gt;Furthermore, I read on a couple of forums (for instance, here: &lt;a href="http://forums.computers.toshiba-europe.com/forums/thread.jspa?threadID=45393&amp;tstart=0"&gt;http://forums.computers.toshiba-europe.com/forums/thread.jspa?threadID=45393&amp;tstart=0&lt;/a&gt;) that Toshiba ships its pre-installed Vista systems with a recovery partition on the hard drive, as well as a utility to create a bootable recovery disc based on the contents of that partition. It was claimed that the recovery disc can fix the problems that resizing the Vista partition might cause. &amp;quot;Recovery&amp;quot; in this case means restoring the factory settings; that is, putting the factory-installed Vista back where it was when the unit shipped. That would wipe out any user data or installed applications as well as the Ubuntu partitions. But it would (hopefully) get the machine back into a usable state so that I could continue to break it again and again in the process of learning how to get to the configuration I really wanted. &lt;br /&gt;&lt;br /&gt;This information gave me greater confidence to try to configure the hard drive as I had originally intended. In addition, my risk of data loss was minimal. I had not yet installed anything on the Vista instance or the Ubuntu instance. They were both clean installs. If the Vista recovery disc failed to repair any damage I might do to the Vista partition, I could order an installation DVD from Toshiba for a nominal price (about $20). My greatest cost in that case would be the time lost while waiting for the installation DVD to be delivered. Even if &lt;i&gt;that&lt;/i&gt; failed, I could conceivably install Ubuntu alone on the Toshiba laptop and use the little Acer unit for the two Windows-specific applications I cared about. All my current work is safely on the MacBook Pro and/or an external storage device. &lt;br /&gt;&lt;br /&gt;So, why not? &lt;br /&gt;&lt;br /&gt;I booted from the Ubuntu Live CD and followed the instructions at &lt;a href="https://help.ubuntu.com/community/WindowsDualBoot"&gt;https://help.ubuntu.com/community/WindowsDualBoot&lt;/a&gt; for setting up a dual boot configuration with Windows. The partitioner was unable to resize the Vista partition. After it spun for a long time at 0% complete, it aborted the operation with no further information. &lt;br /&gt;&lt;br /&gt;End of story for now. Obviously, I need more knowledge and experience before I can successfully set up a system such as many Linux aficionados consider routine and simple. Frustrating!&lt;br /&gt;&lt;br /&gt;Afterwards I tried booting into Vista. It detected a problem with the hard drive and ran chkdsk. It found no errors, yet hung at the point where it says, &amp;quot;Please wait while your computer restarts.&amp;quot; After 15 minutes the computer had not restarted. With some apprehension, I powered it off manually and turned it back on. Fortunately, Vista started normally this time. &lt;br /&gt;&lt;br /&gt;Next, I shut down Vista and booted into Ubuntu, to ensure I hadn't broken it. It started fine. &lt;br /&gt;&lt;br /&gt;For the moment, the configuration has a couple of shortcomings:&lt;ol&gt;&lt;li&gt;I wasn't able to allocate as much hard disc space to Ubuntu as I had wanted; and&lt;/li&gt;&lt;li&gt;My /home directory will be embedded in the same partition as the rest of Ubuntu.&lt;/li&gt;&lt;/ol&gt;When I've learned enough to configure the system in a more suitable way, I'll be able to save my /home directory contents by making a backup of its contents prior to installing another Linux. That's slightly less convenient than having the /home directory in its own partition, but probably not a big deal.&lt;br /&gt;&lt;br /&gt;Next: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/updating-ubuntu.html"&gt;Updating Ubuntu&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-8639493025393454927?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/8639493025393454927/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2009/08/toshiba-satellite-ubuntu-vista-dual.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/8639493025393454927'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/8639493025393454927'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2009/08/toshiba-satellite-ubuntu-vista-dual.html' title='Toshiba Satellite Ubuntu-Vista dual boot configuration'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_6p-etKjPKvU/SoHTeS0u-PI/AAAAAAAAAE8/hL_s9jbNoDY/s72-c/partitioning5.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-1239581798970159194</id><published>2009-08-11T11:24:00.010-04:00</published><updated>2009-08-15T10:48:57.088-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='os x'/><category scheme='http://www.blogger.com/atom/ns#' term='vista'/><category scheme='http://www.blogger.com/atom/ns#' term='xp'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='switch'/><category scheme='http://www.blogger.com/atom/ns#' term='mac'/><category scheme='http://www.blogger.com/atom/ns#' term='quest'/><category scheme='http://www.blogger.com/atom/ns#' term='apple'/><title type='text'>The Great Laptop Quest Part 2: The Hardware</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/great-laptop-quest-part-1-software.html"&gt;The Great Laptop Quest Part 1: Software Support&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Okay, so we know Ubuntu Linux supports all the applications I need in my work and most of those I like to use for pleasure. Now it was time to find a laptop with the necessary hardware features, service life, and aesthetic characteristics. &lt;br /&gt;&lt;br /&gt;I looked at quite a few specifications online. Having used Apple products for the past several years, I was very much out of touch with the current state of the art in non-Apple OEM products. I assumed all Intel-based laptops would be comparable. I was disappointed in the relatively lame hardware configurations offered by other OEMs. In the 15" display range, all the OEM laptops offer relatively poor display resolution. The other Intel OEM equipment lacks integrated Bluetooth support, and not all products offer Bluetooth even as an add-on. Many of the OEM units lack an IEEE-1394 (aka Firewire, I.Link, or Lynx) port. Many OEMs are still installing tray-style DVD drives instead of the more reliable slot-style drives. Backlit keyboards are treated as special upgrades rather than basic features.&lt;br /&gt;&lt;br /&gt;A sturdy full-size keyboard is an important consideration for me, as well. I do a considerable amount of typing, and keyboard longevity has been a problem for me not only with my current MacBook Pro but also with past laptops, particularly those from Dell and Texas Instruments (probably a moot point). &lt;br /&gt;&lt;br /&gt;Support for dual monitors is another useful feature. I like this feature when making presentations.&lt;br /&gt;&lt;br /&gt;Eventually I was able to find only a handful of OEM laptops that were comparable to Apple equipment. I was surprised and a bit disappointed at just how short the list of candidates turned out to be. If only Apple's quality rose to the level of their coolness factor!&lt;br /&gt;&lt;br /&gt;The price differential was so extreme that it became a decision factor for choosing the replacement equipment for the MacBook Pro. I found that I could obtain &lt;i&gt;two&lt;/i&gt; laptops and pay &lt;i&gt;less than one-third the price&lt;/i&gt; of a single MacBook Pro comparable to the one I'm replacing. The 15.4" MacBook Pro had always been a compromise size: Small enough (just) to carry to meetings and presentations, and large enough (just) to serve as my workhorse platform for everyday work. With the price differential greater than 3:1, it was feasible to consider a higher-end laptop that had more of the hardware options I wanted and that had a larger display, along with a &amp;quot;netbook&amp;quot;-sized unit for presentations and note-taking. &lt;br /&gt;&lt;br /&gt;I found many favorable customer reviews regarding the Toshiba Satellite series, representing the higher-end product range, and the Acer Aspire One, representing the netbook product range. Customers were writing that they had purchased their second unit, and their first unit was still in good working condition after 4 years or more. If these units last 6 years and cost 1/3 the price of a MacBook Pro, then the total cost of ownership will be 1/6th that of a new MacBook Pro. It's hard for coolness alone to compete with numbers like those. &lt;br /&gt;&lt;br /&gt;So, the &amp;quot;small enough and large enough&amp;quot; criterion could be met simply by purchasing one large laptop and one small one. No need for a compromise on size!&lt;br /&gt;&lt;br /&gt;Global electrical system support is largely a non-issue these days, but it was still worth investigating, just in case. Optional power supplies and third-party adapters take care of this requirement nicely.&lt;br /&gt;&lt;br /&gt;I must say no other laptop compares to the Mac in terms of aesthetic appeal. The highly-regarded Toshiba Satellite and Acer Aspire One units aren't bad-looking, though. In an era when most laptops still look like plain black slabs, the Toshiba and Acer stand out without looking garish. &lt;br /&gt;&lt;br /&gt;Based on my assessment of software and hardware, my Mac replacement would consist of these two units:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_6p-etKjPKvU/SoHAYA_mRrI/AAAAAAAAAEs/NwKVZkhLjjg/s1600-h/toshiba_satellite_p500.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 228px;" src="http://2.bp.blogspot.com/_6p-etKjPKvU/SoHAYA_mRrI/AAAAAAAAAEs/NwKVZkhLjjg/s320/toshiba_satellite_p500.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5368783749618484914" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_6p-etKjPKvU/SoHAgU3M_mI/AAAAAAAAAE0/YLyDqbcgOCk/s1600-h/acer_aspire_one.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 272px;" src="http://1.bp.blogspot.com/_6p-etKjPKvU/SoHAgU3M_mI/AAAAAAAAAE0/YLyDqbcgOCk/s320/acer_aspire_one.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5368783892390936162" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;My plan: Configure the Toshiba Satellite P500 with an 18.4" display as a dual boot with Ubuntu Linux as the default OS and Windows Vista as the alternate. Use the Acer Aspire One to run presentations and handle similar work-related tasks. Its pre-installed Windows XP environment is fine for the purpose. &lt;br /&gt;&lt;br /&gt;Next step: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/toshiba-satellite-ubuntu-vista-dual.html?zx=23aebffad96bca31"&gt;Ubuntu-Vista dual boot configuration on the Toshiba Satellite&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-1239581798970159194?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/1239581798970159194/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2009/08/great-laptop-quest-part-2-hardware.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/1239581798970159194'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/1239581798970159194'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2009/08/great-laptop-quest-part-2-hardware.html' title='The Great Laptop Quest Part 2: The Hardware'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_6p-etKjPKvU/SoHAYA_mRrI/AAAAAAAAAEs/NwKVZkhLjjg/s72-c/toshiba_satellite_p500.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-6960446604088410417</id><published>2009-08-11T10:37:00.013-04:00</published><updated>2009-08-15T10:49:54.616-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='os x'/><category scheme='http://www.blogger.com/atom/ns#' term='vista'/><category scheme='http://www.blogger.com/atom/ns#' term='xp'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='switch'/><category scheme='http://www.blogger.com/atom/ns#' term='mac'/><category scheme='http://www.blogger.com/atom/ns#' term='quest'/><category scheme='http://www.blogger.com/atom/ns#' term='apple'/><title type='text'>The Great Laptop Quest Part 1: Software Support</title><content type='html'>Previous: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/macrilege.html"&gt;Macrilege!&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;As a consultant and knowledge worker, I use my computer for writing; preparing and giving presentations; developing spreadsheets with graphics; and writing, testing, and demonstrating software in various languages. These tasks call for software that supports document authoring and desktop publishing, image manipulation, presentation slides, and all aspects of software development including version control and test environments suitable for local deployment.  &lt;br /&gt;&lt;br /&gt;For exchanging files with clients and colleagues who use Microsoft Office, I need word processing, spreadsheet, and presentation software that can read and write Microsoft Office file formats. Support for Windows fonts is also helpful, since most of the formatting issues that come up with transferring presentations between software packages have to do with font support. &lt;br /&gt;&lt;br /&gt;As a consumer, I use my computer for surfing the web, viewing videos, listening to music, organizing my media files and syncing to my portable media player, and playing casual games, where &amp;quot;casual&amp;quot; means games like Tetris or Minesweeper rather than those like Warhammer or Halo 3. &lt;br /&gt;&lt;br /&gt;Both for work and for pleasure, I also need the basic facilities people have come to expect in a personal computer system: Wireless networking capability, Bluetooth support, CD/DVD reading and writing, good display resolution, acceptable perceived responsiveness, and so forth. &lt;br /&gt;&lt;br /&gt;The software support described above constitutes my &lt;i&gt;needs&lt;/i&gt; in a laptop. Regarding &lt;i&gt;wants&lt;/i&gt;, it would be nice to be able to watch DVD movies on the computer, to make phone calls using a service such as Skype, to organize and play my media files, and to sync my portable media player. &lt;br /&gt;&lt;br /&gt;I installed several software packages on Ubuntu Linux under VmWare on my MacBook Pro to see whether Linux met these needs (and as many &lt;i&gt;wants&lt;/i&gt; as possible). My findings were encouraging.&lt;br /&gt;&lt;br /&gt;OpenOffice installed easily, worked well, and supported all my requirements in &amp;quot;office&amp;quot; software. The tools I use for Java development all work well - Java, Maven, Eclipse, etc. The tools I use for Ruby development all work well - Ruby, Rails, etc. I had problems getting NetBeans to start. I experimented with using Geany as the IDE for Ruby development, and found it satisfactory even if not as feature-rich as NetBeans. I understand there's a product called Mono that enables .NET development under Linux; that sounds interesting, but I didn't check it out for purposes of this investigation. For version control, I've been using subversion for quite some time and I've been transitioning to git. These programs work fine on Linux.&lt;br /&gt;&lt;br /&gt;I was able to install Apache, Tomcat, and MySQL with no difficulties. I found it easy to build and deploy Ruby on Rails applications and Java webapps to the Apache environment. All the tools relevant to this type of work are well supported on Linux.&lt;br /&gt;&lt;br /&gt;The mind mapping program I'm accustomed to using, FreeMind, works the same on Linux as on any other platform. For other tasks I perform on the computer, I had to try out different programs than those I had been using before. This turned out to be no problem at all. Gimp came pre-installed on Ubuntu, and works fine for my image editing needs. I found a news reader called Pan that has all the functionality I need. I installed ffmpeg and found it works fine for converting media files. A program called Banshee worked fine as a media library organizer and media player, although it is not able to sync my Zune. Banshee actually proves the case for Mono, since it's a .NET application. In addition to the basic Unix-style utilities for managing archive files, Linux supports ZipCreator, unrar, and several other tar-like and zip-like utilities. &lt;br /&gt;&lt;br /&gt;Firefox is the web browser that comes with Ubuntu (Gnome), and it was already my personal favorite so this was a natural fit. &lt;br /&gt;&lt;br /&gt;I like to use a wiki to maintain notes and reference information locally, for my own use. I had been using Confluence personal edition for this purpose. According to Atlassian's website, it's supposed to work on Linux, but I was unable to get it to start. I downloaded Instiki and manually converted my wiki pages; it wasn't too burdensome, and forced me to review the contents and delete out-of-date information, which was a useful exercise anyway.&lt;br /&gt;&lt;br /&gt;I could not verify hardware drivers and firmware in the VmWare environment. I had to rely on information in Linux forums online to assure myself that the necessary support was available. What I read sounded promising.&lt;br /&gt;&lt;br /&gt;It was not feasible to verify that Skype would work under 64-bit Linux, since my MacBook Pro is a 32-bit system and Skype does not (currently) offer a 64-bit version of its software for Linux. I did find explanations online of how to install the 32-bit verison of Skype on a 64-bit Linux system, so this sounded promising, as well.&lt;br /&gt;&lt;br /&gt;There is one Windows-specific application in particular that I use: Music Publisher from Braeburn Software. I made no attempt to check out comparable software for Linux, because I strongly prefer this particular product. I will have to run it on a Windows system. This does not affect my assessment of laptops for professional use and general personal use. &lt;br /&gt;&lt;br /&gt;The only disappointment was that I could not find a way to sync my Zune using Banshee (or even by copying files manually). It seems the Zune is not recognized at all as an external storage device. This is true both in Mac OS X and in Ubuntu Linux. Apparently, the Zune is specifically designed to work only with Microsoft Windows. This is not a show-stopper for my assessment, although it would be convenient to sync the Zune with my primary laptop. &lt;br /&gt;&lt;br /&gt;One of my requirements about software was that the system demand an &amp;quot;acceptable level of tinkering.&amp;quot; What does that mean? Well, most operating systems don't &amp;quot;just work,&amp;quot; like a toaster. Mac OS X comes closest. Microsoft Windows requires tinkering to get rid of a lot of annoying little reminders, helpful hints, confirmation dialogs, security warnings, advertisements, talking paper-clips, and pre-installed programs that nobody wants. Windows demands further tinkering on an ongoing basis to keep it free of malware. Unix and Linux systems have a reputation for requiring a high level of technical tweaking just to get them into a usable state and keep them operational. &lt;br /&gt;&lt;br /&gt;For my purposes, an &amp;quot;acceptable level of tinkering&amp;quot; falls somewhere between the tinkering the average consumer would accept and the tinkering a computer science major would accept. I have a technical background, so I am capable of learning and understanding whatever tinkering might be required. However, my goal in using my personal computer is not to tinker with it endlessly. I want my new system to be easy to use, but I'm prepared to do a bit of manual labor to get everything installed and configured properly. &lt;br /&gt;&lt;br /&gt;With that in mind, my VmWare assessment of Ubuntu Linux passed the test. &lt;br /&gt;&lt;br /&gt;As far as software support was concerned, Ubuntu Linux was looking good. Next step: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/great-laptop-quest-part-2-hardware.html"&gt;Check out the laptops available from vendors other than Apple&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-6960446604088410417?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/6960446604088410417/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2009/08/great-laptop-quest-part-1-software.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/6960446604088410417'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/6960446604088410417'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2009/08/great-laptop-quest-part-1-software.html' title='The Great Laptop Quest Part 1: Software Support'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-551707721426353172.post-4195918842348364473</id><published>2009-08-06T13:14:00.005-04:00</published><updated>2009-08-11T10:59:31.866-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='macrilege'/><category scheme='http://www.blogger.com/atom/ns#' term='os x'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='switch'/><category scheme='http://www.blogger.com/atom/ns#' term='mac'/><category scheme='http://www.blogger.com/atom/ns#' term='quest'/><category scheme='http://www.blogger.com/atom/ns#' term='apple'/><title type='text'>Macrilege!</title><content type='html'>&lt;p&gt;Apple customers are funny. They...that is, &lt;i&gt;we&lt;/i&gt;...seem to have almost a cult-like attitude about Apple products. Over the past few years, nearly all my colleagues have purchased Mac laptops. At user group meetings, conference presentations, training classes, on airplanes and on client engagements they pull out shiny new MacBook Pro laptops almost to the total exclusion of any other product. That sort of reverence seems a bit silly; it's just another company, after all. Yet, it's part of the Apple customer culture. Maybe that's why I feel compelled to justify my recent decision to move &lt;i&gt;away&lt;/i&gt; from the Mac platform. Maybe, too, it's why I feel an irrational sort of guilt about it.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I've been a happy Mac user for about five years now. I've got no complaints about Mac OS X. The problem is the cost of ownership of the Apple hardware. My MacBook Pro (the second Mac I've owned) is in need of replacement, and it's less than three years young. I've replaced the keyboard, and worn out the second keyboard. I've replaced the battery and the power supply. The display has many dead pixels and uneven brightness. The machine has started to exhibit intermittent scary behavior having to do with electricity, causing the occasional mysterious crash. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Okay, so why not just get a new MacBook Pro? Well, my first Mac, a PowerBook G4, cost about $2,500 and was serviceable for about two years. It still runs today, but not reliably enough to use for anything important. The MacBook Pro cost about $3,000 when it was new. A comparable replacement today would &lt;i&gt;start&lt;/i&gt; at around $3,600. When beefed up appropriately, it would be around $4,000 to $4,200. With an expected useful lifetime of around three years...well, it just doesn't add up.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Non-Apple laptops don't run Mac OS X. Has Microsoft Windows improved to the point that I can work with it happily? Based on my occasional use of my wife and son's Windows Vista machines, I would say &amp;quot;No.&amp;quot; Not to worry: There are &lt;i&gt;beaucoup&lt;/i&gt; versions of Unix and Linux out there. One in particular has become relatively user-friendly: Ubuntu (and its cousins). &lt;br /&gt;&lt;/p&gt;&lt;p&gt;So, should I just dump my Mac and buy a one-way ticket to Ubuntuland? It turns out that I'm just a tiny bit too risk-averse to take such a rash step. To find out whether Ubuntu could meet my needs, I made a list of my needs and then loaded an instance of Ubuntu Linux under VmWare on the MacBook Pro to check out the available software.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;When I thought about what, exactly, I actually &lt;i&gt;do&lt;/i&gt; with my computer, I was surprised at how modest my needs really are. I spend a lot of my &lt;i&gt;time&lt;/i&gt; working on the computer, but it seems I spend that time doing just a handful of different tasks. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;My software needs:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Support for all the types of work for which I use my computer&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Acceptable level of tinkering needed to configure the system and keep it running&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;My hardware needs:&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt;Support for all desired hardware features&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Reasonable initial price and total cost of ownership&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Portable, yet large enough to be a comfortable platform for work; and small enough to be convenient to carry to conference sessions and business meetings for giving presentations and taking notes&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Usable on different national electrical grids, since I travel in my work&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Reasonably nice-looking; doesn't look like a prop from &lt;i&gt;2001: A Space Odyssey&lt;/i&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_6p-etKjPKvU/SnsQbYAniPI/AAAAAAAAAD0/XDPEULP9tBA/s1600-h/monolith.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 240px; height: 320px;" src="http://2.bp.blogspot.com/_6p-etKjPKvU/SnsQbYAniPI/AAAAAAAAAD0/XDPEULP9tBA/s320/monolith.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5366901443429632242" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;Thus begins the search for a new laptop! Next: &lt;a href="http://kotowanandesu.blogspot.com/2009/08/great-laptop-quest-part-1-software.html"&gt;The Great Laptop Quest&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/551707721426353172-4195918842348364473?l=kotowanandesu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kotowanandesu.blogspot.com/feeds/4195918842348364473/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://kotowanandesu.blogspot.com/2009/08/macrilege.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/4195918842348364473'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/551707721426353172/posts/default/4195918842348364473'/><link rel='alternate' type='text/html' href='http://kotowanandesu.blogspot.com/2009/08/macrilege.html' title='Macrilege!'/><author><name>Dave</name><uri>http://www.blogger.com/profile/11755320188910974068</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_6p-etKjPKvU/SnsQbYAniPI/AAAAAAAAAD0/XDPEULP9tBA/s72-c/monolith.jpg' height='72' width='72'/><thr:total>0</thr:total></entry></feed>
