{"id":4751,"date":"2010-11-17T09:57:35","date_gmt":"2010-11-17T01:57:35","guid":{"rendered":"http:\/\/nick.onetwenty.org\/?p=4751"},"modified":"2010-11-17T12:10:28","modified_gmt":"2010-11-17T04:10:28","slug":"clean-install-of-ubuntu-10-10","status":"publish","type":"post","link":"https:\/\/nick.onetwenty.org\/index.php\/2010\/11\/17\/clean-install-of-ubuntu-10-10\/","title":{"rendered":"Clean install of Ubuntu 10.10"},"content":{"rendered":"<p>I&#8217;ve been upgrading my <a href=\"http:\/\/www.ubuntu.com\/\">Ubuntu<\/a> installation since 8.04, and it&#8217;s collected a fair amount of cruft. So I decided on a clean install of Ubuntu 10.10. I suppose that this post may be of interest to people planning something similar.<\/p>\n<p><strong>Step 1: Backup<\/strong><\/p>\n<p>To be honest, I usually ignore this step (and just trust that I won&#8217;t overwrite the wrong partition, and that the installer won&#8217;t accidentally corrupt files).<\/p>\n<p>Anyhow, this time I decided to backup my entire home directory. Since there are always a bunch of temporary files, I first ran <a href=\"http:\/\/bleachbit.sourceforge.net\/\">BleachBit<\/a> to remove unnecessary files. I then used <a href=\"http:\/\/www.opbyte.it\/grsync\/\">grsync<\/a> to backup to an external USB HDD. The great thing about <a href=\"http:\/\/samba.anu.edu.au\/rsync\/\">rsync<\/a> is that you can easily (and quickly) verify that everything copied properly by just running it again.<\/p>\n<p><strong>Step 2: Sync<\/strong><\/p>\n<p>I figured that it would be easier to return all my application settings to normal if I synced my data with an external resource (so that I could later sync the new install).<\/p>\n<p>I considered using <a href=\"https:\/\/one.ubuntu.com\/\">Ubuntu One<\/a>, but it wasn&#8217;t really the one-click secure process I had hoped for. It looked like I would need to setup sync for <a href=\"http:\/\/projects.gnome.org\/evolution\/\">Evolution<\/a>, <a href=\"http:\/\/projects.gnome.org\/tomboy\/\">Tomboy<\/a>, and <a href=\"http:\/\/live.gnome.org\/Empathy\">Empathy<\/a> separately. Also, I hasn&#8217;t too happy about sending my data to a third party.<\/p>\n<p>In the end I decided that I just needed to copy my <a href=\"http:\/\/www.keepassx.org\/\">KeePassX<\/a> passwords database, Evolution contacts, and Tomboy Notes to some storage media. So I copied the KeePass database, synced Tomboy to a folder, and dumped a <a href=\"http:\/\/en.wikipedia.org\/wiki\/VCard\">vCard<\/a> file with all contacts to the USB HDD.<\/p>\n<p>I also copied the KeePass database to <a href=\"http:\/\/twitter.com\/nickonetwenty\/status\/2658547594690560\">my new Android phone<\/a> so that I would have the wifi network settings handy immediately after installation (since I wouldn&#8217;t be able to install KeePassX before the wifi was setup).<\/p>\n<p><strong>Step 3: Installation<\/strong><\/p>\n<p>Installation went without a hitch. Rather than burn a CD, I used a 2GB USB stick to create a startup disk (using the handy Startup Disk Creator program included with Ubuntu). Incidentally, the USB drive created is also setup with <a href=\"http:\/\/en.wikipedia.org\/wiki\/Wubi_%28Ubuntu_installer%29\">Wubi<\/a> for installation under Windows.<\/p>\n<p>Since this is a desktop machine, I decided not to encrypt my home directory. My passwords and such are already encrypted and I&#8217;ll use an encrypted partition for other confidential data.<\/p>\n<p>After the initial installation, I had two more reboots in store for me before I had a base setup. The first reboot was to install security updates and the second was to install the NVIDIA proprietary accelerated graphics driver. All reasonable stuff I suppose.<\/p>\n<p><strong>Step 4: Basking in the Glory of a Clean Installation<\/strong><\/p>\n<p>Sniff. It&#8217;s so beautiful.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/nick.onetwenty.org\/wp-content\/uploads\/2010\/11\/Screenshot.jpg\"><img data-attachment-id=\"4759\" data-permalink=\"https:\/\/nick.onetwenty.org\/index.php\/2010\/11\/17\/clean-install-of-ubuntu-10-10\/screenshot\/\" data-orig-file=\"https:\/\/i0.wp.com\/nick.onetwenty.org\/wp-content\/uploads\/2010\/11\/Screenshot.jpg?fit=1920%2C1080&amp;ssl=1\" data-orig-size=\"1920,1080\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"Screenshot\" data-image-description=\"\" data-medium-file=\"https:\/\/i0.wp.com\/nick.onetwenty.org\/wp-content\/uploads\/2010\/11\/Screenshot.jpg?fit=300%2C168&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/nick.onetwenty.org\/wp-content\/uploads\/2010\/11\/Screenshot.jpg?fit=840%2C473&amp;ssl=1\" class=\"aligncenter size-medium wp-image-4759\" title=\"Screenshot\" src=\"https:\/\/i0.wp.com\/nick.onetwenty.org\/wp-content\/uploads\/2010\/11\/Screenshot.jpg?resize=300%2C168\" alt=\"\" width=\"300\" height=\"168\" srcset=\"https:\/\/i0.wp.com\/nick.onetwenty.org\/wp-content\/uploads\/2010\/11\/Screenshot.jpg?w=300&amp;ssl=1 300w, https:\/\/i0.wp.com\/nick.onetwenty.org\/wp-content\/uploads\/2010\/11\/Screenshot.jpg?w=1024&amp;ssl=1 1024w, https:\/\/i0.wp.com\/nick.onetwenty.org\/wp-content\/uploads\/2010\/11\/Screenshot.jpg?w=1920&amp;ssl=1 1920w, https:\/\/i0.wp.com\/nick.onetwenty.org\/wp-content\/uploads\/2010\/11\/Screenshot.jpg?w=1680 1680w\" sizes=\"(max-width: 300px) 85vw, 300px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p>I had already been using 10.10, but as I mentioned earlier it had collected a lot of cruft (unnecessary programs and files). The new default installation boots quickly, presents a clean login screen, and then loads an empty desktop with <a href=\"http:\/\/www.mozilla.com\/firefox\/\">Firefox<\/a> ready to go. Even the shut-down graphics and terminal appear to be native resolution now (1920&#215;1080) rather than low resolution (80 character wide) screens. Ahhh.<\/p>\n<p><strong>Step 6: (re)Sync<br \/>\n<\/strong><\/p>\n<p>I synced some data before overwriting my previous Ubuntu installation, so that I could easily and quickly sync it back into the new installation:<\/p>\n<ol>\n<li>Startup Tomboy and set the sync directory to the folder on the USB HDD<\/li>\n<li>Load the KeePass database so that I can configure my other accounts<\/li>\n<\/ol>\n<p>Since I have Windows 7 installed on another hard drive, I might move these sync files from the USB HDD to a new shared partition so that I can access them from either Ubuntu or Windows.<\/p>\n<p><strong>Step 5: User Interface Changes<\/strong><\/p>\n<p>I&#8217;m generally pretty happy with the default Ubuntu 10.10 user interface, but I like to make a few minor tweaks.<\/p>\n<ol>\n<li>Install &#8220;Advanced Desktop Effects Settings (ccsm)&#8221; via the Ubuntu Software Centre<\/li>\n<li>Install &#8220;compiz-fusion-plugins-extra&#8221; via Synaptic Package Manager<\/li>\n<li>Launch &#8220;System &gt; Preferences &gt; CompizConfig Settings Manager&#8221;<\/li>\n<li>Enable &#8220;Window Previews&#8221; under &#8220;Effects&#8221;<\/li>\n<li>Enable &#8220;Grid&#8221; under &#8220;Window Management&#8221;<\/li>\n<\/ol>\n<p>Incidentally, <a href=\"http:\/\/wiki.compiz.org\/Plugins\/Grid\">Grid<\/a> is the best window management plugin ever. If you use Ubuntu, you should definitely install and use it. It will change your life. Guaranteed.<\/p>\n<p><strong>Step 5: Software Installation<\/strong><\/p>\n<p>As much as I love the minimalism of a new installation, I need to install a few programs in order to be productive. I won&#8217;t go into this in too much detail other than to provide a list:<\/p>\n<ol>\n<li>Ubuntu restricted extras (Java, Flash, Codecs)<\/li>\n<li>KeePassX (Password management)<\/li>\n<li><a href=\"http:\/\/inkscape.org\/\">Inkscape<\/a> (Vector drawing\/illustration program)<\/li>\n<\/ol>\n<p>Actually, I&#8217;ll probably just stop there for now and only install other programs as I run into a need for them. I expect that I may end up installing most of the following (in no particular order):<\/p>\n<ol>\n<li>Gnome Partition Editor<\/li>\n<li><a href=\"http:\/\/www.gimp.org\/\">GIMP<\/a><\/li>\n<li><a href=\"http:\/\/mypaint.intilinux.com\/\">MyPaint<\/a><\/li>\n<li><a href=\"http:\/\/www.scribus.net\/\">ScribusNG<\/a><\/li>\n<li>QuickSynergy<\/li>\n<li><a href=\"http:\/\/www.virtualbox.org\/\">VirtualBox OSE<\/a><\/li>\n<li><a href=\"http:\/\/www.blender.org\">Blender<\/a><\/li>\n<li><a href=\"http:\/\/gtg.fritalk.com\/\">Getting Things Gnome<\/a><\/li>\n<li><a href=\"http:\/\/www.getmiro.com\/\">Miro<\/a><\/li>\n<li><a href=\"http:\/\/www.chromium.org\/Home\">Chromium<\/a><\/li>\n<li>Wine<\/li>\n<li>Skype<\/li>\n<\/ol>\n<p><strong>Step 6: Things Left to do<\/strong><\/p>\n<p>I still need to setup mail, instant messaging, and social broadcasting services. I also want to put some decent fonts into my .fonts directory and setup by bookmarks toolbar with a handful of my frequently visited sites.<\/p>\n<p>Then I&#8217;ll get onto importing photos and videos from the backup. Unfortunately, there doesn&#8217;t appear to be a photo-and-video manager under Ubuntu. So I&#8217;ll still have to manage videos manually and import them into Shotwell at a later date. I&#8217;m also a little bummed that Shotwell doesn&#8217;t handle hierarchical tags or tag icons (which I used in F-Spot). Oh well.<\/p>\n<p>Finally, I&#8217;ll probably selectively copy other files (documents etc.) as required. Hopefully this install will last another couple of years!<\/p>\n<p><em><strong>Update<\/strong>: Turns out Evolution can export all its settings (and tasks, events, email presumably) for import into another instance. I probably should have done that.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been upgrading my Ubuntu installation since 8.04, and it&#8217;s collected a fair amount of cruft. So I decided on a clean install of Ubuntu 10.10. I suppose that this post may be of interest to people planning something similar. Step 1: Backup To be honest, I usually ignore this step (and just trust that &hellip; <a href=\"https:\/\/nick.onetwenty.org\/index.php\/2010\/11\/17\/clean-install-of-ubuntu-10-10\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Clean install of Ubuntu 10.10&#8221;<\/span><\/a><\/p>\n","protected":false},"author":67,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[1],"tags":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paLsRH-1eD","_links":{"self":[{"href":"https:\/\/nick.onetwenty.org\/index.php\/wp-json\/wp\/v2\/posts\/4751"}],"collection":[{"href":"https:\/\/nick.onetwenty.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nick.onetwenty.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nick.onetwenty.org\/index.php\/wp-json\/wp\/v2\/users\/67"}],"replies":[{"embeddable":true,"href":"https:\/\/nick.onetwenty.org\/index.php\/wp-json\/wp\/v2\/comments?post=4751"}],"version-history":[{"count":17,"href":"https:\/\/nick.onetwenty.org\/index.php\/wp-json\/wp\/v2\/posts\/4751\/revisions"}],"predecessor-version":[{"id":4769,"href":"https:\/\/nick.onetwenty.org\/index.php\/wp-json\/wp\/v2\/posts\/4751\/revisions\/4769"}],"wp:attachment":[{"href":"https:\/\/nick.onetwenty.org\/index.php\/wp-json\/wp\/v2\/media?parent=4751"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nick.onetwenty.org\/index.php\/wp-json\/wp\/v2\/categories?post=4751"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nick.onetwenty.org\/index.php\/wp-json\/wp\/v2\/tags?post=4751"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}