<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Ubuntu on Wimpy's World</title><link>https://blog.wimpys.world/tags/ubuntu/</link><description>Recent content in Ubuntu on Wimpy's World</description><generator>Hugo -- gohugo.io</generator><language>en-gb</language><managingEditor>martin@wimpress.com (Martin Wimpress)</managingEditor><webMaster>martin@wimpress.com (Martin Wimpress)</webMaster><lastBuildDate>Fri, 28 Apr 2023 16:00:00 +0100</lastBuildDate><atom:link href="https://blog.wimpys.world/tags/ubuntu/rss.xml" rel="self" type="application/rss+xml"/><item><title>Flash Stadia Controller Bluetooth Firmware on Linux</title><link>https://blog.wimpys.world/posts/flash-stadia-controller-bluetooth-firmware-on-linux/</link><pubDate>Fri, 28 Apr 2023 16:00:00 +0100</pubDate><author>martin@wimpress.com (Martin Wimpress)</author><guid>https://wimpysworld.com/posts/flash-stadia-controller-bluetooth-firmware-on-linux/</guid><description>&lt;p&gt;I was a &lt;a href="https://stadia.google.com/gg/"&gt;Google Stadia&lt;/a&gt; &amp;ldquo;founder&amp;rdquo; and when it was shut down on January 18, 2023 I was left with 3 perfectly usable Stadia Controllers; provided I could connect them using a USB-C cable. I quite like the Stadia Controller, the form factor is similar to the PlayStation DualShock but with an Xbox style button layout.&lt;/p&gt;
&lt;p class="text-center"&gt;
&lt;img src="./stadia-controller.webp" class="img-fluid" alt="Stadia Controller"/&gt;
&lt;br /&gt;
&lt;em&gt;Stadia Controller&lt;/em&gt;
&lt;/p&gt;
&lt;p&gt;While using it via USB-C is great for PC, wireless connectivity would provide more options. Thankfully &lt;a href="https://stadia.google.com/controller"&gt;Google released Bluetooth firmware for the Stadia Controller&lt;/a&gt; which disables Stadia&amp;rsquo;s proprietary Wi-Fi connectivity and enables Bluetooth® Low Energy (BLE). You can then use it like a standard wireless Bluetooth controller with other hardware and also still plug your Stadia Controller into a device with a USB-C cable.&lt;/p&gt;
&lt;h2 id="compatibility-"&gt;Compatibility 🧩&lt;/h2&gt;
&lt;p&gt;The &lt;a href="https://support.google.com/stadia?p=controllerconnect#devicelist"&gt;Stadia Controller Device Compatibility List&lt;/a&gt; says&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;ldquo;Testing of Bluetooth mode was focused on the devices and systems listed below, but may not work with all hardware configurations.&amp;rdquo;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;ul&gt;
&lt;li&gt;Windows 10 and 11 + Steam&lt;/li&gt;
&lt;li&gt;MacOS® 13 + Steam&lt;/li&gt;
&lt;li&gt;ChromeOS&lt;/li&gt;
&lt;li&gt;Android&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Most importantly, it says &lt;em&gt;&lt;strong&gt;&amp;ldquo;computers must have a Bluetooth Low Energy adapter in order to communicate with the Stadia Controller in Bluetooth mode and that hardware compatibility will vary.&amp;rdquo;&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;h2 id="flash-stadia-controller-bluetooth-firmware-using-ubuntu-2204-"&gt;Flash Stadia Controller Bluetooth Firmware using Ubuntu 22.04 🐧&lt;/h2&gt;
&lt;p&gt;Here&amp;rsquo;s how I flashed that firmware on all 3 of my controllers using Linux; well Ubuntu 22.04 to be precise. The system requirements for the Bluetooth Firmware tool is stated to be Chrome 108 or newer. No problem! But, I was unable to get the controllers to show up in Chrome until some &lt;code&gt;udev&lt;/code&gt; rules were added. Open a terminal and run the following command from any directory:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-shell" data-lang="shell"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="o"&gt;{&lt;/span&gt; cat &lt;span class="s"&gt;&amp;lt;&amp;lt;EOF
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="s"&gt;# SDP protocol
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="s"&gt;KERNEL==&amp;#34;hidraw*&amp;#34;, ATTRS{idVendor}==&amp;#34;1fc9&amp;#34;, MODE=&amp;#34;0666&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="s"&gt;ACTION==&amp;#34;add&amp;#34;, SUBSYSTEM==&amp;#34;usb&amp;#34;, ATTR{idVendor}==&amp;#34;1fc9&amp;#34;, MODE=&amp;#34;0666&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="s"&gt;ACTION==&amp;#34;add&amp;#34;, SUBSYSTEM==&amp;#34;usb&amp;#34;, ATTR{idVendor}==&amp;#34;0d28&amp;#34;, MODE=&amp;#34;0666&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="s"&gt;# Flashloader
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="s"&gt;KERNEL==&amp;#34;hidraw*&amp;#34;, ATTRS{idVendor}==&amp;#34;15a2&amp;#34;, MODE=&amp;#34;0666&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="s"&gt;# Controller
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="s"&gt;KERNEL==&amp;#34;hidraw*&amp;#34;, SUBSYSTEM==&amp;#34;hidraw&amp;#34;, ATTRS{idVendor}==&amp;#34;18d1&amp;#34;, MODE=&amp;#34;0666&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="s"&gt;SUBSYSTEMS==&amp;#34;usb&amp;#34;, ATTRS{idVendor}==&amp;#34;18d1&amp;#34;, ATTRS{idProduct}==&amp;#34;9400&amp;#34;, MODE=&amp;#34;0660&amp;#34;, TAG+=&amp;#34;uaccess&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="s"&gt;EOF&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="o"&gt;}&lt;/span&gt; &lt;span class="p"&gt;|&lt;/span&gt; sudo tee /etc/udev/rules.d/70-stadiacontroller-flash.rules
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Now run the following to reload the &lt;code&gt;udev&lt;/code&gt; rules.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-shell" data-lang="shell"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo udevadm control --reload-rules
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo udevadm trigger
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;With that done, I restarted Google Chrome and followed the instructions on the &lt;a href="https://stadia.google.com/controller/index_en_GB.html"&gt;Stadia Controller Firmware Flashing Tool&lt;/a&gt; page. I was able to flash the firmware on all 3 of my controllers. The process is pretty straightforward but I&amp;rsquo;ve included the instructions below for reference.&lt;/p&gt;
&lt;h3 id="charge-your-controller"&gt;Charge your controller&lt;/h3&gt;
&lt;p&gt;Make sure that your controller has been charged for 30 minutes and that you&amp;rsquo;re using a USB data cable.&lt;/p&gt;
&lt;p class="text-center"&gt;
&lt;img src="./Verify_Plug_in_controller.svg" class="img-fluid" alt="Charge your controller"/&gt;
&lt;br&gt;
&lt;b&gt;Charge your controller&lt;/b&gt;
&lt;/p&gt;
&lt;h3 id="unplug-your-controller-to-power-it-off"&gt;Unplug your controller to power it off&lt;/h3&gt;
&lt;p&gt;If it turns on again, hold the Stadia button for 4 seconds to power it off&lt;/p&gt;
&lt;p class="text-center"&gt;
&lt;img src="./Unlock_Unplug.svg" class="img-fluid" alt="Unplug your controller to power it off"/&gt;
&lt;br&gt;
&lt;b&gt;Unplug your controller to power it off&lt;/b&gt;
&lt;/p&gt;
&lt;h3 id="hold-the-option-button-three-dots-while-plugging-in-your-controller"&gt;Hold the option button (three dots) while plugging in your controller&lt;/h3&gt;
&lt;p&gt;The status light should remain off. If it turns on, unplug the controller and try again&lt;/p&gt;
&lt;p class="text-center"&gt;
&lt;img src="./Unlock_Option_Plug.svg" class="img-fluid" alt="Hold the option button (three dots) while plugging in your controller"/&gt;
&lt;br&gt;
&lt;b&gt;Hold the option button (three dots) while plugging in your controller&lt;/b&gt;
&lt;/p&gt;
&lt;h3 id="press-the-option-assistant-a-and-y-buttons-at-the-same-time"&gt;Press the Option, Assistant, A, and Y buttons at the same time&lt;/h3&gt;
&lt;p&gt;There won&amp;rsquo;t be any controller feedback, proceed to the next step to confirm the controller is unlocked&lt;/p&gt;
&lt;p class="text-center"&gt;
&lt;img src="./Unlock_Four_buttons.svg" class="img-fluid" alt="Press the Option, Assistant, A, and Y buttons at the same time"/&gt;
&lt;br&gt;
&lt;b&gt;Press the Option, Assistant, A, and Y buttons at the same time&lt;/b&gt;
&lt;/p&gt;
&lt;h3 id="select-your-controller-in-the-chrome-device-list-and-click-connect"&gt;Select your controller in the Chrome device list and click &amp;ldquo;Connect&amp;rdquo;.&lt;/h3&gt;
&lt;p&gt;The text in the flashing utility says the Stadia Controller should be named &lt;strong&gt;&amp;ldquo;SP Blank RT Family&amp;rdquo;&lt;/strong&gt; or &amp;ldquo;Stadia Controller&amp;rdquo; or &amp;ldquo;USB COMPOSITE DEVICE&amp;rdquo;.&lt;/p&gt;
&lt;p class="text-center"&gt;
&lt;img src="./Chrome_dialog_Download_en-GB.svg" class="img-fluid" alt="Select your controller in the Chrome device list again and click Connect"/&gt;
&lt;br&gt;
&lt;b&gt;Select your controller in the Chrome device list again and click "Connect".&lt;/b&gt;
&lt;/p&gt;
&lt;h3 id="download-complete"&gt;Download complete&lt;/h3&gt;
&lt;p&gt;You&amp;rsquo;ve almost finished. Go to the final step to install the latest version of Bluetooth mode on your controller.&lt;/p&gt;
&lt;p class="text-center"&gt;
&lt;img src="./Download_Download_complete.svg" class="img-fluid" alt="Download complete"/&gt;
&lt;br&gt;
&lt;b&gt;Download complete&lt;/b&gt;
&lt;/p&gt;
&lt;h3 id="install-bluetooth-mode"&gt;Install Bluetooth mode&lt;/h3&gt;
&lt;p&gt;One more time - select your controller in the Chrome device list, then click &amp;ldquo;Connect&amp;rdquo;. Installation will start automatically and should only take a minute.&lt;/p&gt;
&lt;p&gt;The text in the flashing utility says the Stadia Controller should be named &lt;strong&gt;&amp;ldquo;USB COMPOSITE DEVICE&amp;rdquo;&lt;/strong&gt; or &amp;ldquo;Stadia Controller&amp;rdquo; or &amp;ldquo;SP Blank RT Family&amp;rdquo;.&lt;/p&gt;
&lt;p class="text-center"&gt;
&lt;img src="./Chrome_dialog_Install_en-GB.svg" class="img-fluid" alt="Install Bluetooth mode"/&gt;
&lt;br&gt;
&lt;b&gt;Install Bluetooth mode&lt;/b&gt;
&lt;/p&gt;
&lt;h3 id="installation-complete"&gt;Installation complete&lt;/h3&gt;
&lt;p&gt;Wait a minute or so for the firmware installation to complete.&lt;/p&gt;
&lt;p class="text-center"&gt;
&lt;img src="./Finish_Bluetooth_enabled.svg" class="img-fluid" alt="Installation complete"/&gt;
&lt;br&gt;
&lt;b&gt;Installation complete&lt;/b&gt;
&lt;/p&gt;
&lt;h2 id="pairing-stadia-controller-with-bluetooth"&gt;Pairing Stadia Controller with Bluetooth&lt;/h2&gt;
&lt;p&gt;Hold the Y and Stadia buttons for 2 seconds until the status light flashes orange. It is now in pairing mode and visible to other devices.&lt;/p&gt;
&lt;p class="text-center"&gt;
&lt;img src="./Pairing_mode.svg" class="img-fluid" alt="Pairing Stadia Controller with Bluetooth"/&gt;
&lt;br&gt;
&lt;b&gt;Pairing Stadia Controller with Bluetooth&lt;/b&gt;
&lt;/p&gt;
&lt;h2 id="hurray-up-"&gt;Hurray up! ⏳️&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;After the shutdown in January 2023, you have until December 31, 2023, to update the controller so it can use Bluetooth mode.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Fortunately, the &lt;a href="https://github.com/Scyne/stadiaRawBtFw"&gt;Stadia Controller firmware has been archived&lt;/a&gt; and an &lt;a href="https://luigimannoni.github.io/stadia-controller-flasher/"&gt;Unofficial Stadia Controller Flashing utility&lt;/a&gt; created which might prove useful after December 31, 2023.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://luigimannoni.github.io/stadia-controller-flasher/"&gt;&lt;strong&gt;Unofficial Stadia Controller Flashing utility&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Your mileage may vary using the re-implementation of the &lt;a href="https://github.com/luigimannoni/stadia-controller-flasher"&gt;Utility for flashing Stadia Controllers&lt;/a&gt;, so if you&amp;rsquo;re doing this before December 31, 2023, use the &lt;a href="https://stadia.google.com/controller/"&gt;official tool&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id="conclusion"&gt;Conclusion&lt;/h2&gt;
&lt;p&gt;After updating my Stadia Controllers with Bluetooth firmware, I&amp;rsquo;ve successfully paired them with my Android tablet, iPhone 13 and &lt;a href="https://chimeraos.org/"&gt;ChimeraOS&lt;/a&gt;; an operating system that provides an out-of-the-box couch gaming experience 🎮️ While Stadia might be dead and gone, I&amp;rsquo;m very happy to continue to get utility out of the controllers; which turned out to be free after the reimbursement Google offered when Stadia was shut down.&lt;/p&gt;</description><summary>How to flash Stadia Controller Bluetooth mode on Linux</summary></item><item><title>Why I chose the ThinkPad Z13 Gen1 as my Linux laptop</title><link>https://blog.wimpys.world/posts/why-i-chose-the-thinkpad-z13-as-my-linux-laptop/</link><pubDate>Tue, 18 Apr 2023 14:30:26 +0000</pubDate><author>martin@wimpress.com (Martin Wimpress)</author><guid>https://wimpysworld.com/posts/why-i-chose-the-thinkpad-z13-as-my-linux-laptop/</guid><description>&lt;p&gt;During the second half of 2022, I dusted off my laptop and travelled to three events for the first time in over two years. During these trips, it became apparent that my laptop is not the right tool for the job.&lt;/p&gt;
&lt;p&gt;At &lt;a href="https://events.linuxfoundation.org/archive/2022/kubecon-cloudnativecon-europe/"&gt;KubeCon EU 2022&lt;/a&gt; my colleague Lindsay brought her &lt;a href="https://www.apple.com/uk/macbook-pro-13/"&gt;Apple Macbook Pro M1&lt;/a&gt;. It was lightweight, compact, looked fabulous and had epic battery life. Meanwhile, my ThinkPad P1 Gen 1 looked fabulous but it is a bit of a chonker and a massive power pig 🔌🐖 Battery anxiety was constant that week and also on my subsequent trips to &lt;a href="https://www.sreday.com/"&gt;SREday 2022&lt;/a&gt; and the &lt;a href="https://events.canonical.com/event/2/"&gt;Ubuntu Summit 2022&lt;/a&gt;. Sensing that 2022 wasn&amp;rsquo;t an outlier and more travel would be on the cards in 2023 I decided that I wanted some of that thin and light laptop action. In early December 2022, I went hunting for a Linux laptop and this is my journey.&lt;/p&gt;
&lt;h2 id="as-featured-on-linux-matters-"&gt;As featured on Linux Matters! 🎙️&lt;/h2&gt;
&lt;p&gt;I recently discussed my hunt for a new Linux Loving Laptop on the &lt;a href="https://linuxmatters.sh/"&gt;Linux Matters&lt;/a&gt; podcast. &lt;strong&gt;You can hear that discussion with my friends Alan and Mark in &lt;a href="https://linuxmatters.sh/1/"&gt;Linux Matters: Mastodon on My Résumé (Episode 1)&lt;/a&gt;&lt;/strong&gt;.&lt;/p&gt;
&lt;p class="text-center"&gt;
&lt;a href="https://linuxmatters.sh" target="_blank"&gt;&lt;img src="https://linuxmatters.sh/img/episode/linuxmatters-banner-3000x750.webp" class="img-fluid" alt="Linux Matters Podcast"/&gt;&lt;/a&gt;
&lt;br /&gt;
&lt;em&gt;Linux Matters Podcast&lt;/em&gt;
&lt;/p&gt;
&lt;h2 id="past-laptop-purchasing-mistakes-"&gt;Past laptop purchasing mistakes 😱&lt;/h2&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;ldquo;Those that fail to learn from history are doomed to repeat it&amp;rdquo; - Winston Churchill.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;The requirements for my last two laptop purchases were very different from what I need today; a &lt;a href="https://www.dell.com/en-uk/shop/laptop-computers-2-in-1-pcs/precision-5550-mobile-workstation/spd/precision-15-5550-laptop"&gt;Dell XPS 15 5550&lt;/a&gt; and &lt;a href="https://www.lenovo.com/gb/en/p/laptops/thinkpad/thinkpadp/thinkpad-p1/22ws2wpp101"&gt;ThinkPad P1 Gen1&lt;/a&gt; Both have significant power requirements with 15.6&amp;quot; UHD displays and discrete NVIDIA GPUs. The ThinkPad P1 Gen also sports a Xeon CPU ⚡️ These made sense when I bought them, I was travelling one week every month and regularly compiling large applications, building container images, VMs and operating system images. These days I have a &lt;a href="https://www.amd.com/en/products/cpu/amd-ryzen-threadripper-3970x"&gt;Threadripper 3970X&lt;/a&gt; workstation at home that I can connect to via &lt;a href="https://tailscale.com/"&gt;Tailscale&lt;/a&gt; to run compute-intensive tasks. I simply don&amp;rsquo;t need a workhorse 🐴 laptop anymore.&lt;/p&gt;
&lt;h3 id="laptop-criteria-"&gt;Laptop criteria 📑&lt;/h3&gt;
&lt;p&gt;I&amp;rsquo;m deeply impressed with the outstanding work the &lt;a href="https://asahilinux.org/"&gt;Asahi Linux&lt;/a&gt; team are doing to enable Linux on Apple Silicon Macs, but running Linux on an M1 Mac isn&amp;rsquo;t viable for me as some hardware support (HDMI for example) is still a work in progress at the time of writing. Not ideal when you&amp;rsquo;re a conference speaker and running booth demos.&lt;/p&gt;
&lt;p&gt;These are my criteria for the new laptop. Some must-haves, some nice-to-haves and some hard exclusions.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Fully Linux compatible.
&lt;ul&gt;
&lt;li&gt;Linux pre-installed to demonstrate Linux is fully supported&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Full working day battery life; ~8 hours in my opinion.&lt;/li&gt;
&lt;li&gt;Low-power CPU, 35W or under
&lt;ul&gt;
&lt;li&gt;Ideally AMD 6000 series but a 12th Gen Intel as a compromise&lt;/li&gt;
&lt;li&gt;No 11th Gen Intel or AMD 5000 series CPUs will be considered&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;64GB RAM, will compromise on 32GB RAM&lt;/li&gt;
&lt;li&gt;13&amp;quot; or 14&amp;quot; 1920x1200 matte display
&lt;ul&gt;
&lt;li&gt;No UHD resolutions display will be considered (for power-saving reasons)&lt;/li&gt;
&lt;li&gt;Touch support is a nice-to-have, but not essential&lt;/li&gt;
&lt;li&gt;1920x1080 as a compromise, but nothing lower&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;No discrete GPU. Again for power-saving reasons.&lt;/li&gt;
&lt;li&gt;USB-C charging&lt;/li&gt;
&lt;li&gt;Dual NVME SSD, or at least a single 2TB (or more) SSD&lt;/li&gt;
&lt;li&gt;Decent keyboard and touchpad&lt;/li&gt;
&lt;li&gt;The Laptop should weigh close to 1kg&lt;/li&gt;
&lt;li&gt;Premium build quality and design (somewhat subjective I know)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;With this list of requirements established, I &lt;a href="https://docs.google.com/spreadsheets/d/1kaB1pxbbYa1ebxeDRTguQ9EZol1EhM-0FE45Da8AOn8/edit#gid=0"&gt;started collating Linux laptop comparison notes in this somewhat idiosyncratic spreadsheet&lt;/a&gt;&lt;/p&gt;
&lt;p class="text-center"&gt;
&lt;a href="https://docs.google.com/spreadsheets/d/1kaB1pxbbYa1ebxeDRTguQ9EZol1EhM-0FE45Da8AOn8/edit#gid=0" target="_blank"&gt;&lt;img src="./spreadsheet.webp" class="img-fluid" alt="Linux Laptop Comparison Spreadsheet"/&gt;&lt;/a&gt;
&lt;br /&gt;
&lt;em&gt;A spreadsheet that probably only makes sense to me&lt;/em&gt;
&lt;/p&gt;
&lt;p&gt;Looking at the list of laptops in the sheet above, you might be wondering why I didn&amp;rsquo;t consider any laptops from the established dedicated Linux laptop vendors such as &lt;a href="https://www.entroware.com/store/"&gt;Entroware&lt;/a&gt;, &lt;a href="https://slimbook.es/"&gt;Slimbook&lt;/a&gt; and &lt;a href="https://starlabs.systems/"&gt;StarLabs&lt;/a&gt;. Well, I did look at everything they offered at the time and none of them had a model available that met the requirements I&amp;rsquo;ve outlined above or the estimated dispatch time was nearly half a year.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;m not going to elaborate on the rationale behind ruling certain laptop models in or out, but I will say this; I was very impressed to see &lt;a href="http://lenovo.com/linux"&gt;&lt;strong&gt;every laptop in the Lenovo ThinkPad lineup had a Linux pre-install option&lt;/strong&gt;&lt;/a&gt; of either &lt;a href="https://ubuntu.com"&gt;Ubuntu&lt;/a&gt; or &lt;a href="https://getfedora.org/"&gt;Fedora&lt;/a&gt; in &amp;ldquo;Build YourPC&amp;rdquo; system configurator. While comparing the power requirements of Intel&amp;rsquo;s i7-12xx series and AMD&amp;rsquo;s 68x0 series CPU at the time, I was sold on the impressive battery endurance of AMD&amp;rsquo;s offerings and the superior integrated graphics, so I excluded any laptop with Intel CPUs quite early on.&lt;/p&gt;
&lt;h2 id="lenovo-thinkpad-z13-gen-1-with-ubuntu-pre-installed"&gt;Lenovo ThinkPad Z13 Gen 1 with Ubuntu pre-installed&lt;/h2&gt;
&lt;p&gt;I went with the &lt;a href="https://www.lenovo.com/gb/en/p/laptops/thinkpad/thinkpadz/thinkpad-z13-(13-inch-amd)/21d2cto1wwgb1"&gt;ThinkPad Z13 Gen 1&lt;/a&gt; with Ubuntu pre-installed, and the &lt;a href="https://www.lenovo.com/gb/en/p/laptops/thinkpad/thinkpadt/thinkpad-t14s-gen-3-(14-inch-amd)/len101t0015"&gt;ThinkPad T14s Gen 3&lt;/a&gt; was runner-up in my selection process.&lt;/p&gt;
&lt;h3 id="specifications-"&gt;Specifications 📝&lt;/h3&gt;
&lt;p&gt;The key specifications for the laptop I ordered are AMD Ryzen 7 PRO 6850U CPU, 32 GB LPDDR5-6400MHz (Soldered), 1 TB SSD M.2 2242 PCIe Gen4, 13.3&amp;quot; WUXGA (1920 x 1200), IPS, Anti-Glare, Non-Touch display weighing in at 1.19kg. I think this configuration hits the sweet spot for battery endurance, more on that later.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;m not a fan of the increasing trend of soldering RAM on motherboards, but that was common across all the models of laptops I was considering. If &lt;a href="https://frame.work/gb/en"&gt;Framework&lt;/a&gt; had offered an AMD 6000 series CPU option at the time, I would&amp;rsquo;ve had a Framework laptop on my short list as the modular design of the Framework laptops is very appealing.&lt;/p&gt;
&lt;p&gt;And yes, I did make a compromise with the laptop specifications; that 1TB M.2 SSD is below my minimum requirement of 2TB. I did do my homework though and will present my creative upgrade solution in a future blog post. &lt;a href="https://blog.wimpys.world/posts/rss.xml"&gt;Like and Subscribe&lt;/a&gt; 😉&lt;/p&gt;
&lt;h3 id="build-quality--design-"&gt;Build Quality &amp;amp; Design 💻️&lt;/h3&gt;
&lt;p&gt;Without a doubt, the ThinkPad Z13 Gen 1 is a gorgeous laptop. I do not have enough superlatives to express just how much I love it. It is, in my option, an almost flawless design. Exactly the compact form factor laptop I was seeking; it&amp;rsquo;s beautiful to look at from any angle and a delight to use. Here are some highlights.&lt;/p&gt;
&lt;p class="text-center"&gt;
&lt;img src="./ThinkPad_Z13_Gen_1_CT1_02.webp" class="img-fluid" alt="ThinkPad Z13 Gen 1"/&gt;
&lt;br /&gt;
&lt;em&gt;ThinkPad Z13 Gen 1&lt;/em&gt;
&lt;/p&gt;
&lt;p&gt;The laptop is engineered from 75% recycled aluminium and 95% recycled plastics, then boxed in 100% renewable, compostable packaging. The touchpad is sublime and amazingly 120mm wide on the compact laptop. The haptic touch is simply excellent. The touchpad is the most Macbook-like touchpad I&amp;rsquo;ve used on any PC and it is so good it has caused me to change what desktop environment I now use. More on this in a future blog post. However, there is currently no Linux software to &lt;a href="https://psref.lenovo.com/syspool/Sys/PDF/datasheet/ThinkPad_Z_Series_Haptic_TouchPad_Settings.pdf"&gt;configure the haptic touchpad settings&lt;/a&gt; such as click force and touchpad feedback intensity but I&amp;rsquo;ve been perfectly happy with the defaults. If you do dual boot Windows the haptic settings configured via Windows are stored on the device and carry over to Linux.&lt;/p&gt;
&lt;p&gt;The Keyboard is an excellent low-profile design, each key has ~1.2mm of travel which is the same as the actuation point on my Razer Huntsman V2 TKL keyboards with opto-mechanical switches. Most importantly the Fn&lt;/kbd&gt; key is in the correct place on the Z13 and not where ThinkPads have been incorrectly plonking it for years. Fight me! 🥊 If you are a long-time ThinkPad owner, it is likely you&amp;rsquo;ll hate the idea of the keyboard and touchpad on the Z13 since it is quite a departure from the traditional design. But I went into this with my eyes 👀 open and have watched and read many reviews.&lt;/p&gt;
&lt;p class="text-center"&gt;
&lt;img src="./ThinkPad_Z13_Gen_1_CT4_01.webp" class="img-fluid" alt="Correct Fn key placement on ThinkPad Z13 Gen 1"/&gt;
&lt;br /&gt;
&lt;em&gt;"This is the way"&lt;/em&gt;
&lt;/p&gt;
&lt;p&gt;The Display is bright (400nits), anti-reflective and anti-smudge, covers 100% of the sRGB colour gamut and the laptop is perfectly balanced so it can be opened one-handed. I&amp;rsquo;m embracing the compact, thin and light lifestyle; so the two USB-C ports are fine with me as I&amp;rsquo;ve chosen a laptop configuration with excellent battery endurance (more on that in a bit) and plan to use it completely untethered most of the time with cables and adapters only plugged in for very specific tasks and overnight recharging.&lt;/p&gt;
&lt;p&gt;I do have one niggle though; there is an unusable 2242 M.2 slot on the motherboard. It is only intended for use with select models of WWAN cards, none of which are a configuration option for the UK models of the Z13. It doesn&amp;rsquo;t look like the antenna is wired in either, so even if you do get a supported WWAN card aftermarket it is unlikely to work well; if at all. I can share my iPhone&amp;rsquo;s mobile service via Wifi, so not a deal breaker in that regard but it is rather annoying to have an M.2 slot on the motherboard and nothing I can do with it.&lt;/p&gt;
&lt;h3 id="ubuntu-pre-install-experience-"&gt;Ubuntu pre-install experience 👌&lt;/h3&gt;
&lt;p&gt;It is worth noting that at the time of purchase, selecting Ubuntu or Fedora in the system configuration on the Lenovo website applied a £155 discount! 🤑 Choosing Ubuntu or Fedora across the ThinkPad line applies a discount, although the amount varies based on the model.&lt;/p&gt;
&lt;p&gt;All OEMs that partner with Ubuntu get an OEM designation for each device officially endorsed and supported by Canonical. The ThinkPad Z13 Gen 1 is known as &lt;em&gt;Sutton Newell Abe&lt;/em&gt; and the &lt;code&gt;oem-sutton.newell-abe-meta&lt;/code&gt; package (along with the associated OEM PPA) provides the device-specific hardware enablement and power management tuning.&lt;/p&gt;
&lt;p class="text-center"&gt;
&lt;img src="./oem-name.webp" class="img-fluid" alt="ThinkPad Z13 Gen 1 (Sutton Newell Abe)"/&gt;
&lt;br /&gt;
&lt;em&gt;ThinkPad Z13 Gen 1 is known as Sutton Newell Abe for OEM enablement&lt;/em&gt;
&lt;/p&gt;
&lt;p&gt;The OEM image of Ubuntu differs from the standard Ubuntu image in a few ways. The most obvious is that OEM image comes with recovery media creation pre-installed. This is a great feature and I highly recommend you use it to create a recovery USB stick, either during the initial setup or post-setup. The OEM image also comes with Chromium and Firefox installed, as opposed to just Firefox in the downloadable release of Ubuntu. IIRC, this is because Chromium has traditionally worked better with touchscreen laptops. The fingerprint reader works. I was able to enrol fingerprints quickly and authenticate GDM logins. But the biometric support does not extend throughout the system; Ubuntu Software doesn&amp;rsquo;t integrate with the fingerprint reader, nor does &lt;code&gt;snapd&lt;/code&gt; or any other privilege escalation.&lt;/p&gt;
&lt;p&gt;I also experienced the touchpad becoming unresponsive, requiring a click to &amp;ldquo;unfreeze&amp;rdquo; it. This happens quite frequently and detracts from what is otherwise an excellent, class-leading, touchpad. I suspect it is overly aggressive power management settings in the OEM image, but I didn&amp;rsquo;t investigate beyond that hunch. Both these issues with the fingerprint reader and touchpad are Ubuntu-specific and nothing related to the actual hardware. Both issues are absent when running NixOS.&lt;/p&gt;
&lt;p&gt;Having a tier-1 vendor such as Lenovo ship a laptop with Ubuntu pre-installed has the benefit of great firmware support. I&amp;rsquo;ve received several firmware updates since I got the laptop, and they have all applied without issue.&lt;/p&gt;
&lt;p class="text-center"&gt;
&lt;img src="./firmware-update.webp" class="img-fluid" alt="ThinkPad Z13 Gen 1 firmware updates on Ubuntu"/&gt;
&lt;br /&gt;
&lt;em&gt;Firmware updates for the ThinkPad Z13 Gen 1 on Ubuntu 20.04&lt;/em&gt;
&lt;/p&gt;
&lt;h4 id="why-not-ubuntu-2204-"&gt;Why not Ubuntu 22.04? 🤔&lt;/h4&gt;
&lt;p&gt;My Z13 was shipped with Ubuntu 20.04.4 with OEM optimised Linux kernel 5.14.0-1054-oem. Some might be perplexed (or annoyed) that it didn&amp;rsquo;t come with Ubuntu 22.04, given it was ordered in late 2022. I used to work for Canonical, and during that time worked with Lenovo to enable Ubuntu on ~60 of their laptops and workstations between 2019 and 2021, so I do have some insight into how this process works. It simply boils down to how the factory image certification process works, and once an image is qualified that is what ships on the device for the duration of its availability. Re-certification adds cost and takes time, so it&amp;rsquo;s extremely rare for a device to have a revised factory image qualified once it has gone on sale.&lt;/p&gt;
&lt;p&gt;Upgrading to Ubuntu 22.04 LTS worked flawlessly, full audio support was restored and no other hardware supported regressed. Brilliant.&lt;/p&gt;
&lt;h4 id="linux-kernel-61-"&gt;Linux Kernel 6.1 🌰&lt;/h4&gt;
&lt;p&gt;The pre-installed Ubuntu and Fedora images for the Z13 come with kernels that have backported patches applied to fully support the device. If you buy a ThinkPad Z13 and plan to run another Linux distro on it, make sure you can install Linux kernel version 6.1 or newer. This is to ensure the Qualcomm Wi-Fi 6E NFA725A 2x2 AX chipset is fully supported and that the required patches to properly suspend and resume are available.&lt;/p&gt;
&lt;h3 id="battery-endurance-"&gt;Battery endurance 🔋&lt;/h3&gt;
&lt;p&gt;This is, after all, my most important selection criteria. The conclusion here is simple: &lt;strong&gt;11 hours&lt;/strong&gt; ⏱️&lt;/p&gt;
&lt;p&gt;This is 11 hours of mixed-use. Coding in Visual Studio Code. Chatting in Slack and Discord. Video calls in Google Meet and Zoom. Compiling software. Some screen capture with OBS Studio and basic video editing with &lt;a href="https://shotcut.org/"&gt;Shotcut&lt;/a&gt;. Closing the lid of the laptop and leaving it suspended for 24 hours depletes the battery by ~4% which is about 2 Wh. Very respectable. I haven&amp;rsquo;t felt the need to profile power consumption or tweak anything as I&amp;rsquo;m get plenty of untethered compute time. I&amp;rsquo;m very happy with the battery life, typically charging the laptop overnight while I sleep and running it all day battery only.&lt;/p&gt;
&lt;h2 id="whats-next-"&gt;What&amp;rsquo;s next? 🔮&lt;/h2&gt;
&lt;p&gt;As noted, I did compromise on the 1TB M.2 SSD. I&amp;rsquo;ve come up with an aftermarket solution to upgrade to 2TB which I will post about soon. I chose a laptop pre-installed with Linux for two reasons:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Support companies shipping a Linux operating system pre-installed on their laptops and workstations&lt;/li&gt;
&lt;li&gt;Hard proof Linux works on their hardware&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;After using Ubuntu for a few weeks I switched to NixOS. I will be posting about my experience with NixOS on the Z13 in a future blog post and &lt;a href="https://twitch.tv/WimpysWorld"&gt;will likely livestream about it on Twitch&lt;/a&gt; as well. TL;DR NixOS 22.11 has fewer issues than Ubuntu 22.04 on the ThinkPad Z13 Gen 1.&lt;/p&gt;
&lt;p&gt;The ThinkPad Z13 Gen 1 is an excellent laptop for my requirements, and I have no regrets. If I were to buy I laptop pre-installed with a Linux distro in the future, I might go for Fedora, just so I can see what the OEM experience is like with Fedora.&lt;/p&gt;
&lt;p&gt;Since I purchased the Z13, &lt;a href="https://frame.work/gb/en/blog/framework-laptop-13-with-13th-gen-intel-core-and-amd-ryzen-7040-series"&gt;Framework has announced AMD 7040-series powered laptops&lt;/a&gt; are coming later in 2023; and I&amp;rsquo;m not sure I can resist&amp;hellip;&lt;/p&gt;</description><summary>Picking a thin and light Linux laptop with plenty of battery endurance</summary></item><item><title>Raspberry Pi 3 Nextcloud Box running on Ubuntu Core</title><link>https://blog.wimpys.world/posts/raspberry-pi-3-nextcloud-box-running-on-ubuntu-core/</link><pubDate>Tue, 13 Dec 2016 17:17:00 +0000</pubDate><author>martin@wimpress.com (Martin Wimpress)</author><guid>https://wimpysworld.com/posts/raspberry-pi-3-nextcloud-box-running-on-ubuntu-core/</guid><description>&lt;p&gt;I recently bought the &lt;a href="https://nextcloud.com/box/"&gt;Nextcloud Box&lt;/a&gt;. When
it came to setting it up I ran into a problem, I only had Raspberry Pi 3
computers available and at the time of writing the microSDHC card
provided with the Nextcloud Box only supports the Raspberry Pi 2. &lt;em&gt;Bummer!&lt;/em&gt;&lt;/p&gt;
&lt;h1 id="overview"&gt;Overview&lt;/h1&gt;
&lt;p&gt;This guide outlines how to use &lt;a href="https://www.ubuntu.com/core"&gt;Ubuntu Core&lt;/a&gt;
on the &lt;a href="https://www.raspberrypi.org/"&gt;Raspberry Pi 3&lt;/a&gt; to run &lt;a href="https://nextcloud.com/"&gt;Nextcloud&lt;/a&gt;
provided as a &lt;a href="http://snapcraft.io"&gt;snap&lt;/a&gt; from the Ubuntu store.&lt;/p&gt;
&lt;p&gt;If you&amp;rsquo;re not familiar with Ubuntu Core, here&amp;rsquo;s a quote:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Ubuntu Core is a tiny, transactional version of Ubuntu for IoT devices and large container deployments. It runs a new breed of super-secure, remotely upgradeable Linux app packages known as snaps&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;After following this guide Ubuntu Core and any installed snaps (and
their data) will reside on the SD card and the 1TB hard disk in the
Nextcloud box will be available for file storage. This
guide explains how to:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Install and configure Ubuntu Core 16 for the Raspberry Pi 3&lt;/li&gt;
&lt;li&gt;Format the 1TB hard disk in the Nextcloud Box and auto-mount it&lt;/li&gt;
&lt;li&gt;Install the Nextcloud snap and connect the &lt;code&gt;removable-media&lt;/code&gt; interface to allow access to the hard disk&lt;/li&gt;
&lt;li&gt;Activate and configure the Nextcloud &lt;em&gt;External Storage&lt;/em&gt; app so the hard disk can be used to store files&lt;/li&gt;
&lt;li&gt;Optional configuration of Email and HTTPS for Nextcloud&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="prepare-a-microsdhc-card"&gt;Prepare a microSDHC card&lt;/h2&gt;
&lt;p&gt;I explained the main steps in this post but you &lt;em&gt;really should&lt;/em&gt; read and
follow the &lt;a href="https://developer.ubuntu.com/en/snappy/start/raspberry-pi-2/"&gt;Get started with a Raspberry Pi 2 or 3&lt;/a&gt;
page as it fully explains how to use a desktop computer to download an
Ubuntu Core image for your Raspberry Pi 2 or 3 and copy it to an SD card
ready to boot.&lt;/p&gt;
&lt;p&gt;Here&amp;rsquo;s how to create an Ubuntu Core microSDHC card for the Raspberry Pi
3 using an Ubuntu desktop:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Download &lt;a href="http://releases.ubuntu.com/ubuntu-core/16/ubuntu-core-16-pi3.img.xz"&gt;Ubuntu Core 16 image for Raspberry Pi 3&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Insert the microSDHC card into your PC
&lt;ul&gt;
&lt;li&gt;Use &lt;a href="apt://gnome-disk-utility"&gt;GNOME Disks&lt;/a&gt; and its &lt;em&gt;Restore Disk Image&amp;hellip;&lt;/em&gt; option, which &lt;strong&gt;natively supports XZ compressed images.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Select your SD card from the panel on the left&lt;/li&gt;
&lt;li&gt;Click the &amp;ldquo;burger menu&amp;rdquo; on the right and Select &lt;em&gt;Restore Disk Image&amp;hellip;&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Making sure the SD card is still selected, click the Power icon on the right.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Eject the SD card physically from your PC.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="text-center"&gt;&lt;img src="GNOME-Disks-Restore-Disk-Image.png" class="img-fluid" alt="GNOME Disks - Restore Disk Image" /&gt;&lt;/div&gt;
&lt;h2 id="ubuntu-core-first-boot"&gt;Ubuntu Core first boot&lt;/h2&gt;
&lt;p&gt;An Ubuntu SSO account is required to setup the first user on Ubuntu Core:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Start by creating an &lt;a href="https://login.ubuntu.com/"&gt;Ubuntu SSO account&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Import an &lt;a href="https://login.ubuntu.com/ssh-keys"&gt;SSH Key into your Ubuntu SSO account&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Here are &lt;a href="https://help.ubuntu.com/community/SSH/OpenSSH/Keys"&gt;instructions to generate an SSH Key&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;You&amp;rsquo;ll need a keyboard and monitor connected to the Raspberry Pi 3 to go complete the first boot process and device configuration.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Insert the Ubuntu Core microSHDC into the Raspberry Pi, which should be
in the &lt;a href="https://nextcloud.com/wp-content/themes/next/assets/files/Box-Assembly-Guide.pdf?x16328"&gt;assembled Nextcloud Box&lt;/a&gt;
with a keyboard and monitor connected. Plug in the power.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The system will boot then become ready to configure&lt;/li&gt;
&lt;li&gt;The device will display the prompt &lt;em&gt;&amp;ldquo;Press enter to configure&amp;rdquo;&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Press enter then select &lt;em&gt;&amp;ldquo;Start&amp;rdquo;&lt;/em&gt; to begin configuring your network and an administrator account. Follow the instructions on the screen, you will be asked to configure your network and enter your Ubuntu SSO credentials&lt;/li&gt;
&lt;li&gt;At the end of the process, you will see your credentials to access your Ubuntu Core machine:&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;This device is registered to &amp;lt;Ubuntu SSO email address&amp;gt;.
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Remote access was enabled via authentication with the SSO user &amp;lt;Ubuntu SSO user name&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Public SSH keys were added to the device for remote access.
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id="login"&gt;Login&lt;/h3&gt;
&lt;p&gt;Once setup is done, you can login to Ubuntu Core using ssh, from a
computer on the same network, using the following command:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;ssh &amp;lt;Ubuntu SSO user name&amp;gt;@&amp;lt;device IP address&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The user name is your Ubuntu SSO user name.&lt;/p&gt;
&lt;h3 id="reconfiguring-network"&gt;Reconfiguring network&lt;/h3&gt;
&lt;p&gt;Should you need to reconfigure the network at a later stage you can do
so with:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo console-conf
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="prepare-1tb-hard-disk"&gt;Prepare 1TB hard disk&lt;/h2&gt;
&lt;p&gt;Log in to your Raspberry Pi 3 running Ubuntu Core via ssh.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;ssh &amp;lt;Ubuntu SSO user name&amp;gt;@&amp;lt;device IP address&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id="partition-and-format-the-nextcloud-box-hard-disk"&gt;Partition and format the Nextcloud Box hard disk&lt;/h3&gt;
&lt;p&gt;This will create a single partition formatted with the ext4 filesystem.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo fdisk /dev/sda
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Do the following to create the partition:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Command (m for help): o
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Created a new DOS disklabel with disk identifier 0x253fea38.
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Command (m for help): n
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Partition type
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; p primary (0 primary, 0 extended, 4 free)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; e extended (container for logical partitions)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Select (default p): p
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Partition number (1-4, default 1): 1
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;First sector (2048-1953458175, default 2048):
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Last sector, +sectors or +size{K,M,G,T,P} (2048-1953458175, default 1953458175):
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Created a new partition 1 of type &amp;#39;Linux&amp;#39; and of size 931.5 GiB.
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Command (m for help): w
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Now format the partition and give it the label &lt;strong&gt;data&lt;/strong&gt;. This label will
be used to reference it for mounting later:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo mkfs.ext4 -L data /dev/sda1
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id="automatically-mount-the-partition"&gt;Automatically mount the partition&lt;/h3&gt;
&lt;p&gt;Most of the Ubuntu Core root file system is read-only, so it is not
possible to edit &lt;code&gt;/etc/fstab&lt;/code&gt;. Therefore we&amp;rsquo;ll use &lt;a href="https://www.freedesktop.org/wiki/Software/systemd/"&gt;systemd&lt;/a&gt;
to achieve that.&lt;/p&gt;
&lt;p&gt;Be aware of one of the &lt;code&gt;systemd.mount&lt;/code&gt; pitfalls:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Mount units must be named after the mount point directories they control. Example: the mount point /home/lennart must be configured in a unit file home-lennart.mount.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Yes that&amp;rsquo;s right! &lt;strong&gt;The unit filename must match the mount point path&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Create the &lt;code&gt;media-data.mount&lt;/code&gt; unit:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo vi /writable/system-data/etc/systemd/system/media-data.mount
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Add the following content:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-systemd" data-lang="systemd"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;[Unit]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="na"&gt;Description&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;Mount unit for data&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;[Mount]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="na"&gt;What&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;/dev/disk/by-label/data&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="na"&gt;Where&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;/media/data&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="na"&gt;Type&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;ext4&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;[Install]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="na"&gt;WantedBy&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;multi-user.target&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Reload systemd, scanning for new or changed units:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo systemctl daemon-reload
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Start the &lt;code&gt;media-data.mount&lt;/code&gt; unit, which will mount the volume, and also
enable it so it will be automatically mounted on boot.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo systemctl start media-data.mount
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo systemctl &lt;span class="nb"&gt;enable&lt;/span&gt; media-data.mount
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;And just like any other unit, you can view its status using
&lt;code&gt;systemctl status&lt;/code&gt;:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo systemctl status media-data.mount
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="update-ubuntu-core"&gt;Update Ubuntu Core&lt;/h2&gt;
&lt;p&gt;Make sure Ubuntu Core is up-to-date and reboot.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo snap refresh
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo reboot
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;After the reboot, make sure &lt;code&gt;/media/data&lt;/code&gt; is mounted. If not double
check the steps above.&lt;/p&gt;
&lt;h2 id="install-nextcloud"&gt;Install Nextcloud&lt;/h2&gt;
&lt;p&gt;The Nextcloud snap uses the &lt;code&gt;removable-media&lt;/code&gt; interface, which grants
access to &lt;code&gt;/media/*&lt;/code&gt;, and requires manual connection:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo snap install nextcloud
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo snap connect nextcloud:removable-media core:removable-media
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Browse to the Nextcloud IP address and create the admin user account,
for example:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://nextcloud.local/"&gt;http://nextcloud.local/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="nextcloud-configuration"&gt;Nextcloud configuration&lt;/h2&gt;
&lt;p&gt;In the examples below replace &lt;code&gt;nextcloud.local&lt;/code&gt; with the IP address or
hostname of your Nextcloud Box and replace &lt;code&gt;example.org&lt;/code&gt; with your domain.&lt;/p&gt;
&lt;h3 id="external-storage"&gt;External Storage&lt;/h3&gt;
&lt;p&gt;Enable the External Storge app via:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://nextcloud.local/index.php/settings/apps?category=disabled#"&gt;http://nextcloud.local/index.php/settings/apps?category=disabled#&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Configure External Storage app via:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://nextcloud.local/index.php/settings/admin/externalstorages"&gt;http://nextcloud.local/index.php/settings/admin/externalstorages&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Use these settings:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Folder name: &lt;em&gt;data&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;External storage: &lt;em&gt;Local&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Authentication: &lt;em&gt;None&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Configuration: &lt;code&gt;/media/data&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Available for: &lt;em&gt;All&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="email"&gt;Email&lt;/h3&gt;
&lt;p&gt;Configure your outgoing email settings via:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://nextcloud.local/index.php/settings/admin/additional"&gt;http://nextcloud.local/index.php/settings/admin/additional&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I use &lt;a href="https://sendgrid.com/"&gt;Sendgrid&lt;/a&gt; for sending email alerts from my
servers and devices. These are the settings that work for me:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Send mode: &lt;em&gt;SMTP&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Encryption: &lt;em&gt;STARTTLS&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;From address: &lt;em&gt;&lt;a href="mailto:nextcloud@example.org"&gt;nextcloud@example.org&lt;/a&gt;&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Authentication method: &lt;em&gt;Plain&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Authentication required: &lt;em&gt;Yes&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Server address: &lt;em&gt;smtp.sendgrid.net:587&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Username: &lt;code&gt;apikey&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Password: &lt;code&gt;theactualapikey&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="enabling-https"&gt;Enabling HTTPS&lt;/h3&gt;
&lt;p&gt;It is strongly recommend that you use HTTPS if you intend to expose your
Nextcloud to the Internet.&lt;/p&gt;
&lt;p&gt;First do a test to see if you can install a Let&amp;rsquo;s Encrypt certificate:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo nextcloud.enable-https -d
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Answer the questions:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Have you met these requirements? (y/n) y
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Please enter an email address (for urgent notices or key recovery): name@example.org
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Please enter your domain name(s) (space-separated): nextcloud.example.org
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Attempting to obtain certificates... done
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Looks like you&amp;#39;re ready for HTTPS!
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;If everything went well, then install the certificate&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo nextcloud.enable-https
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Answer the questions again:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Have you met these requirements? (y/n) y
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Please enter an email address (for urgent notices or key recovery): name@example.org
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Please enter your domain name(s) (space-separated): nextcloud.example.org
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Attempting to obtain certificates... done
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Restarting apache... done
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;If Let&amp;rsquo;s Encrypt didn&amp;rsquo;t work for you, you can always use Nextcloud with
a self-signed certificate.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo nextcloud.enable-https -s
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id="manual-configuration-changes"&gt;Manual configuration changes&lt;/h3&gt;
&lt;p&gt;If you need to make any tweaks to the Nextcloud configuration file you
can edit it like so:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo vi /var/snap/nextcloud/current/nextcloud/config/config.php
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;If you have manually edited the Nextcloud configuration you may need to
restart nextcloud:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo snap disable nextcloud
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo snap &lt;span class="nb"&gt;enable&lt;/span&gt; nextcloud
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="conclusion"&gt;Conclusion&lt;/h2&gt;
&lt;p&gt;So there it is, Nextcloud running on Ubuntu Core powered by a Raspberry
Pi 3. The performance is reasonable, obviously not stellar, but certainly
good enough to move some cloud services for a small family away from the
likes of Google and Dropbox. Now go and install some
&lt;a href="https://nextcloud.com/install/#install-clients"&gt;Nextcloud clients for your desktops and devices&lt;/a&gt; :-)&lt;/p&gt;</description><summary>Creating a Pi 3 powered Nextcloud Box with Ubuntu Core</summary></item><item><title>Intel NUC5i7RYH with Ubuntu</title><link>https://blog.wimpys.world/posts/intel-nuc5i7ryh-with-ubuntu/</link><pubDate>Sun, 13 Dec 2015 13:18:00 +0000</pubDate><author>martin@wimpress.com (Martin Wimpress)</author><guid>https://wimpysworld.com/posts/intel-nuc5i7ryh-with-ubuntu/</guid><description>&lt;p&gt;I&amp;rsquo;ve just bought my first &lt;em&gt;brand new&lt;/em&gt; computer since 2008. Thanks to
the &lt;a href="https://en.wikipedia.org/wiki/Black_Friday_(shopping)"&gt;Black Friday&lt;/a&gt;
and &lt;a href="https://en.wikipedia.org/wiki/Cyber_Monday"&gt;Cyber Monday&lt;/a&gt; sales on
&lt;a href="http://www.amazon.co.uk"&gt;Amazon.co.uk&lt;/a&gt; and &lt;a href="http://www.scan.co.uk"&gt;Scan.co.uk&lt;/a&gt;
this year I was able to put together a pretty sweet Intel NUC which is
now running &lt;a href="https://ubuntu-mate.org"&gt;Ubuntu MATE 15.10&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I spoke about this new system on &lt;a href="http://www.jupiterbroadcasting.com/91276/thunderclouds-around-thunderbird-lup-122/"&gt;LINUX Unplugged Episode 122&lt;/a&gt; and have been contacted by people
wanting more details. Hopefully this blog post will answer any outstanding
questions. Press play below to hear to what I said on the podcast.&lt;/p&gt;
&lt;!--
Add start when it becomes a feature
https://github.com/gohugoio/hugo/pull/10521
start="5996"
--&gt;
&lt;div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;"&gt;
&lt;iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share; fullscreen" loading="eager" referrerpolicy="strict-origin-when-cross-origin" src="https://www.youtube.com/embed/qBoxqO1zFgI?autoplay=0&amp;amp;controls=1&amp;amp;end=0&amp;amp;loop=0&amp;amp;mute=0&amp;amp;start=0" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" title="YouTube video"&gt;&lt;/iframe&gt;
&lt;/div&gt;
&lt;h2 id="the-nuc"&gt;The NUC&lt;/h2&gt;
&lt;p&gt;I purchased an Intel Next Unit of Computing (NUC) Kit
&lt;a href="http://www.intel.com/content/www/us/en/nuc/nuc-kit-nuc5i7ryh.html"&gt;NUC5I7RYH&lt;/a&gt;.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Barebones mini PC&lt;/li&gt;
&lt;li&gt;1 x &lt;a href="http://ark.intel.com/products/84993/Intel-Core-i7-5557U-Processor-4M-Cache-up-to-3_40-GHz"&gt;Core i7 5557U&lt;/a&gt; / 3.1 GHz&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.intel.com/content/www/us/en/support/graphics-drivers/intel-iris-graphics-6100-for-5th-generation-intel-core-processors.html"&gt;Iris Graphics 6100&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Gigabit Ethernet&lt;/li&gt;
&lt;li&gt;Bluetooth 4.0 LE&lt;/li&gt;
&lt;li&gt;802.11a/b/g/n/ac WiFi&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Everything works out of the box with Ubuntu MATE 15.10 including sending
audio to the monitor over HDMI and DisplayPort.&lt;/p&gt;
&lt;h2 id="the-ram"&gt;The RAM&lt;/h2&gt;
&lt;p&gt;The &lt;a href="http://ark.intel.com/products/84993/Intel-Core-i7-5557U-Processor-4M-Cache-up-to-3_40-GHz"&gt;Core i7 5557U&lt;/a&gt;
specs state that DDR3L 1866 Mhz RAM is supported. The arstechnica
&lt;a href="http://arstechnica.com/gadgets/2015/03/mini-review-intels-powered-up-core-i7-broadwell-mini-pc/"&gt;Mini-review: Intel’s powered-up Core i7 Broadwell mini PC&lt;/a&gt;
has some benchmarks that show a performance improvement when using 1866
Mhz clocked RAM, so I purchased:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.hyperxgaming.com/us/memory/impact"&gt;HyperX Impact SODIMM - 16GB Kit*(2x8GB) - DDR3L 1866MHz CL11 SODIMM&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="the-ssds"&gt;The SSDs&lt;/h2&gt;
&lt;p&gt;I have two SSDs in the NUC.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Samsung MZVPV256HDGL-00000 - SM951 256GB M.2 PCI-e 3.0 x 4 &lt;a href="https://en.wikipedia.org/wiki/NVM_Express"&gt;NVMe&lt;/a&gt; Solid State Drive&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.sandisk.co.uk/home/ssd/ultra-ii-ssd"&gt;SanDisk Ultra II SSD 960 GB Sata III 2.5-inch Internal SSD&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;This is where you might need to do some more research.&lt;/strong&gt; At the
time of writing, it is not possible to boot directly from the Samsung
SM951 NVMe SSD. Although other quad channel NVMe SSDs do appear to be
supported as the boot device. It is possible that the &lt;a href="http://www.samsung.com/global/business/semiconductor/minisite/SSD/global/html/ssd950pro/overview.html"&gt;Samsung SSD 950 Pro&lt;/a&gt;,
which is also NVMe, can be used as the boot device in Linux, but &lt;em&gt;don&amp;rsquo;t
take my word for it&lt;/em&gt;. Do your research.&lt;/p&gt;
&lt;p&gt;My work around was make the SanDisk Ultra II the boot device by putting
&lt;code&gt;/boot&lt;/code&gt; and the MBR on it. I have put &lt;code&gt;/&lt;/code&gt; and &lt;code&gt;swap&lt;/code&gt; (swap because I
want to experiment with suspend and hibernate) are on the Samsung SM951
and &lt;code&gt;/home&lt;/code&gt; is on the SanDisk Ultra II.&lt;/p&gt;
&lt;p&gt;There are faster SSDs than the SanDisk Ultra II but this was 50% off
during Black Friday and just too good a deal to pass by. I did
sacrifice a little performance on this component, so if absolute
performance is your goal look at alternative SSDs, the &lt;a href="http://www.samsung.com/global/business/semiconductor/minisite/SSD/global/html/ssd850evo/overview.html"&gt;Samsung 850 EVO&lt;/a&gt;
seems to benchmark favourably.&lt;/p&gt;
&lt;h2 id="the-monitor"&gt;The Monitor&lt;/h2&gt;
&lt;p&gt;A week after I purchased the NUC I noticed &lt;a href="http://www.ebuyer.com/"&gt;ebuyer.com&lt;/a&gt;
were selling the monitor I wanted with a £100 discount. So I snapped one up.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.samsung.com/uk/business/business-products/business-monitor/professional/LS27D85KTSN/XU"&gt;Samsung S27D850T&lt;/a&gt; 27&amp;quot; WQHD LED DVI HDMI Monitor&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The NUC is connected via mini Display Port and my Dell Precision T7400
is connected via HDMI. The Samsung S27D850T has an audio out and a 2.1
speaker set is connected to it.&lt;/p&gt;
&lt;h2 id="conclusion"&gt;Conclusion&lt;/h2&gt;
&lt;p&gt;I&amp;rsquo;m extremely happy with the &lt;a href="http://www.intel.com/content/www/us/en/nuc/nuc-kit-nuc5i7ryh.html"&gt;NUC5I7RYH&lt;/a&gt;.
Linux compatibility is first class, it&amp;rsquo;s fast and has relatively low
power consumption. You can even charge a mobile phone using one of the
front USB ports (the yellow one) when the NUC is powered off. It is my
principle workstation and is able to handle everything I demand from it,
with ease:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;mp3 and ogg audio encoding&lt;/li&gt;
&lt;li&gt;h.264 video encoding (~1 min of video @480p encodes in 1 second)&lt;/li&gt;
&lt;li&gt;running multiple virtual machines&lt;/li&gt;
&lt;li&gt;compiling large applications&lt;/li&gt;
&lt;li&gt;creating xz compressed images of Ubuntu flavours for the Raspberry Pi 2&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I&amp;rsquo;ve not tried gaming on it yet, but the holidays are approaching and
&lt;a href="http://www.gridgame.com/"&gt;GRID Autosport&lt;/a&gt; was released for
&lt;a href="http://store.steampowered.com/steamos/"&gt;SteamOS&lt;/a&gt; this week. So I know
what I&amp;rsquo;ll be doing in a couple of weeks time &lt;code&gt;:-D&lt;/code&gt;&lt;/p&gt;</description><summary>My Intel NUC5i7RYH part list and build</summary></item><item><title>Installing Nikola on Ubuntu</title><link>https://blog.wimpys.world/posts/installing-nikola-on-ubuntu/</link><pubDate>Thu, 05 Nov 2015 11:00:00 +0000</pubDate><author>martin@wimpress.com (Martin Wimpress)</author><guid>https://wimpysworld.com/posts/installing-nikola-on-ubuntu/</guid><description>&lt;p&gt;Nikola is a static site and blog generator written in &lt;a href="http://www.python.org"&gt;Python&lt;/a&gt;
that I&amp;rsquo;ve been using for a good while now. This blog post describes how to install
&lt;a href="http://getnikola.com/"&gt;Nikola&lt;/a&gt; on Ubuntu 14.04 or newer. Now, this may look
like a long winded way to install Nikola, given that .deb package exists, but in
my opinion it is the correct way to install Nikola on Ubuntu.&lt;/p&gt;
&lt;h2 id="installing-python"&gt;Installing Python&lt;/h2&gt;
&lt;p&gt;First you&amp;rsquo;ll need Python.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-get install cython3 libpython3.4 python3.4 python3.4-dev python3.4-minimal
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Now install the Python &amp;ldquo;package&amp;rdquo; management utilities.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-get install python-setuptools python-virtualenv python-pip virtualenvwrapper
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="the-snakepit"&gt;The Snakepit&lt;/h2&gt;
&lt;p&gt;Create a &amp;ldquo;Snakepit&amp;rdquo; directory for storing all the virtualenvs.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;mkdir ~/Snakepit
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="create-a-virtualenv-for-nikola"&gt;Create a virtualenv for Nikola&lt;/h2&gt;
&lt;p&gt;The following will create a new virtualenv called &lt;code&gt;nikola&lt;/code&gt; based on Python 3.4.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;virtualenv -p /usr/bin/python3.4 ~/Snakepit/nikola-773
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id="working-on-a-virtualenv"&gt;Working on a virtualenv&lt;/h3&gt;
&lt;p&gt;To activate the virtualenv do the following.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;source&lt;/span&gt; ~/Snakepit/nikola-773/bin/activate
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Your shell prompt will change while a virtualenv is being worked on to indicate
which virtualenv is currently active.&lt;/p&gt;
&lt;p&gt;While working on a virtualenv you can &lt;code&gt;pip&lt;/code&gt; install what you need or manually
install any Python libraries safe in the knowledge you will not adversely
damage any other virtualenvs or the global packages in the process. Very useful
for developing a new branch which may have different library requirements than
the master/head.&lt;/p&gt;
&lt;p&gt;When you are finished working in a virtualenv you can deactivate it by simply
executing &lt;code&gt;deactivate&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id="install-nikola-requirements"&gt;Install Nikola requirements&lt;/h2&gt;
&lt;p&gt;Nikola requires some additional packages.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-get install liblcms2-dev libfreetype6-dev libjpeg8-dev &lt;span class="se"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;libopenjp2-7-dev libtiff5-dev libwebp-dev libxslt1-dev libxml2-dev &lt;span class="se"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;libyaml-dev libzmq-dev zlib1g-dev
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Some of the content optimisation filters require additional packages.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-get install closure-compiler jpegoptim optipng yui-compressor
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Install Tidy 5. (optional)&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-get -y remove libtidy-0.99-0 tidy
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;wget http://binaries.html-tidy.org/binaries/tidy-5.1.14/tidy-5.1.14-64bit.deb -O /tmp/tidy5.deb
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo dpkg -i /tmp/tidy5.deb
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo ln -s /usr/bin/tidy /usr/local/bin/tidy5
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;rm /tmp/tidy5.deb
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id="what-are-these-requirements-for"&gt;What are these requirements for?&lt;/h3&gt;
&lt;p&gt;The following are required to build &lt;code&gt;pillow&lt;/code&gt;, the Python imaging library.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;liblcms2-dev&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;libfreetype6-dev&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;libjpeg8-dev&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;libopenjp2-7-dev&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;libtiff5-dev&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;libwebp-dev&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;zlib1g-dev&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The following are required to build &lt;code&gt;lxml&lt;/code&gt;, a Python XML library.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;libxml2-dev&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;libxslt1-dev&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The following are required to build &lt;code&gt;python-coveralls&lt;/code&gt;.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;libyaml-dev&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The following are required to build &lt;code&gt;pyzmq&lt;/code&gt;.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;libzmq-dev&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="install-nikola"&gt;Install Nikola&lt;/h2&gt;
&lt;p&gt;First install Cython, which will ensure some of the packages required by Nikola use
all the available optimisations.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;pip install --upgrade Cython
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Install all of Nikola.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;pip install --upgrade &lt;span class="s2"&gt;&amp;#34;Nikola[extras,tests]&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="create-a-site"&gt;Create a site&lt;/h2&gt;
&lt;p&gt;After installing Nikola, you should create a site. A site is a collection of
all assets needed to render your website, including configuration, posts,
pages, images, and all other files and customizations.&lt;/p&gt;
&lt;p&gt;To create a site, you need to run:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;nikola init &amp;lt;directory_name&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;A wizard will guide your initial setup The &lt;code&gt;--demo&lt;/code&gt; option can be used to populate
your site with some example content. If you do not want the wizard, use the &lt;code&gt;--quiet&lt;/code&gt;
argument.&lt;/p&gt;
&lt;p&gt;Nikola is now installed and and initial site is setup. &lt;code&gt;nikola help&lt;/code&gt; and the
&lt;a href="http://getnikola.com/handbook.html"&gt;Nikola Handbook&lt;/a&gt; will assist you from here.&lt;/p&gt;</description><summary>How to install Nikola on Ubuntu 14.04 or newer</summary></item><item><title>Microsoft Office 2010 on Arch Linux and Ubuntu</title><link>https://blog.wimpys.world/posts/microsoft-office-2010-on-arch-linux-and-ubuntu/</link><pubDate>Tue, 29 Jan 2013 16:16:47 +0000</pubDate><author>martin@wimpress.com (Martin Wimpress)</author><guid>https://wimpysworld.com/posts/microsoft-office-2010-on-arch-linux-and-ubuntu/</guid><description>&lt;p&gt;We have a mix of Linux and Windows users at work. My department use Linux
and the rest of the business use Windows. We been running a mixture of
&lt;a href="http://www.libreoffice.org/"&gt;LibreOffice&lt;/a&gt; and &lt;a href="http://office.microsoft.com/en-GB"&gt;Microsoft Office&lt;/a&gt;,
which works pretty well until you start trying to collaborate, then it gets
messy pretty quickly.&lt;/p&gt;
&lt;p&gt;So, it was decided at the end of 2012 to migrate everyone, including the
Linux users, to Microsoft Office 2010.&lt;/p&gt;
&lt;p&gt;What follows is an installation guide for &lt;a href="http://www.winehq.org/"&gt;Wine&lt;/a&gt; and
the &lt;a href="http://office.microsoft.com/en-gb/try/"&gt;60 day trial version of Office Home and Business 2010&lt;/a&gt;
on Arch Linux and Ubuntu. Most of this information was sourced from the Wine AppDB&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://appdb.winehq.org/objectManager.php?sClass=version&amp;amp;iId=17336"&gt;http://appdb.winehq.org/objectManager.php?sClass=version&amp;amp;iId=17336&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id="wine-for-ubuntu-1204-lts-or-better"&gt;Wine for Ubuntu 12.04 LTS (or better)&lt;/h1&gt;
&lt;p&gt;Install Wine on Ubuntu as follows.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-add-repository ppa:ubuntu-wine/ppa
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-get update
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-get install ttf-mscorefonts-installer samba wine1.5 wine-gecko1.8 wine-mono
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;For 64-bit also install the following.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-get install ia32-libs
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h1 id="wine-for-arch-linux"&gt;Wine for Arch Linux&lt;/h1&gt;
&lt;div class="alert alert-info"&gt;&lt;strong&gt;Update&lt;/strong&gt; I updated this section on August 8th 2013 to reflect recent changes in Arch Linux&lt;/div&gt;
&lt;p&gt;Install Wine on Arch Linux as follows.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo pacman -S --needed icoutils libwbclient libxslt lib32-mpg123 p11-kit lib32-p11-kit samba wine winetricks wine-mono wine_gecko
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo packer -S --noedit --noconfirm ttf-ms-fonts
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;For 64-bit also install the following.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo packer -S --noedit --noconfirm lib32-libwbclient lib32-libxslt
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h1 id="installing-office-2010"&gt;Installing Office 2010&lt;/h1&gt;
&lt;p&gt;Once Wine is installed, installing Office 2010 is the same for Arch Linux and Ubuntu.&lt;/p&gt;
&lt;p&gt;Create a clean wine prefix.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;WINEPREFIX&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;&lt;/span&gt;&lt;span class="si"&gt;${&lt;/span&gt;&lt;span class="nv"&gt;HOME&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;/.msoffice2010&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;WINEARCH&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;win32&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;winecfg
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Click the &lt;code&gt;Libraries&lt;/code&gt; tab, select &lt;code&gt;riched20&lt;/code&gt; and click &lt;code&gt;Add&lt;/code&gt;. The default entry
should read &lt;code&gt;riched20 (native, builtin)&lt;/code&gt;. Click &lt;code&gt;Apply&lt;/code&gt;, then click &lt;code&gt;OK&lt;/code&gt;. This will
ensure that PowerPoint starts and selection boxes display correctly.&lt;/p&gt;
&lt;p&gt;Install &lt;code&gt;libxml6&lt;/code&gt; and &lt;code&gt;corefonts&lt;/code&gt; with &lt;code&gt;winetricks&lt;/code&gt;&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;winetricks msxml6 corefonts
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Start the Office 2010 setup. In the example below &lt;code&gt;X17-75058.exe&lt;/code&gt; is the name of the
60 day trial version of Office Home and Business 2010 that I downloaded.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;wine X17-75058.exe
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Follow the installation wizard, we are only interested in running the essentials,
Word, Excel and PowerPoint. This is what I selected during the install.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Enter your serial number.&lt;/li&gt;
&lt;li&gt;Leave ticked &lt;code&gt;Attempt to automatically activate my product online.&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Click &lt;code&gt;Continue&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Tick &lt;code&gt;I accept the terms of this agreement&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Click &lt;code&gt;Continue&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Click &lt;code&gt;Customise&lt;/code&gt;
&lt;ul&gt;
&lt;li&gt;Microsoft Access (Trial) [Not Available]&lt;/li&gt;
&lt;li&gt;Microsoft Excel [Run all from My Computer]&lt;/li&gt;
&lt;li&gt;Microsoft OneNote [Not Available]&lt;/li&gt;
&lt;li&gt;Microsoft Outlook [Not Available]&lt;/li&gt;
&lt;li&gt;Microsoft PowerPoint [Run all from My Computer]&lt;/li&gt;
&lt;li&gt;Microsoft Publisher (Trial) [Not Available]&lt;/li&gt;
&lt;li&gt;Microsoft Visio Viewer [Run from My Computer]&lt;/li&gt;
&lt;li&gt;Microsoft Word [Run all from My Computer]&lt;/li&gt;
&lt;li&gt;Office Shared Features [Defaults]&lt;/li&gt;
&lt;li&gt;Office Tools [Defaults]&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Click &lt;code&gt;Instal Now&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;code&gt;Close&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;That&amp;rsquo;s it. Office 2010 is installed and should be associated with the appropriate
file types.&lt;/p&gt;
&lt;h2 id="some-issues"&gt;Some Issues&lt;/h2&gt;
&lt;p&gt;Here are some of the issues we noticed running Office 2010 under Wine.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Always install Office 2010 into it&amp;rsquo;s own &lt;code&gt;WINEPREFIX&lt;/code&gt;. You are less likely to run into problem that way.&lt;/li&gt;
&lt;li&gt;Online updates do not work. Fortunately, the trial installer has SP1 integrated.&lt;/li&gt;
&lt;li&gt;If you purchase Office 2010 licenses you can still use the trial installer with your purchased license key(s).&lt;/li&gt;
&lt;li&gt;We did test a trial of &lt;a href="http://www.codeweavers.com/"&gt;CrossOver&lt;/a&gt;. However, it wouldn&amp;rsquo;t activate Office 2010 on Arch Linux but did activate on Ubuntu.&lt;/li&gt;
&lt;li&gt;Files saved to &lt;code&gt;cifs&lt;/code&gt; mounts are set read-only. This might be a Wine issue or due to the unusual way we have our file server configured, we are still investigating.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="uninstalling-office-2010"&gt;Uninstalling Office 2010&lt;/h2&gt;
&lt;p&gt;Should you ever need to, you can uninstall Office 2010 as follows.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;rm -rfv &lt;span class="si"&gt;${&lt;/span&gt;&lt;span class="nv"&gt;HOME&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;/.msoffice2010/
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;rm -rfv ~/.local/share/applications/wine-extension-*
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;rm -rfv ~/.local/share/applications/wine/Programs/Microsoft&lt;span class="se"&gt;\ &lt;/span&gt;Office/
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description><summary>Install Microsoft Office 2010 on Arch Linux and Ubuntu</summary></item><item><title>Python and virtualenv on Arch Linux and Ubuntu</title><link>https://blog.wimpys.world/posts/python-and-virtualenv-on-arch-linux-and-ubuntu/</link><pubDate>Tue, 11 Dec 2012 20:38:50 +0000</pubDate><author>martin@wimpress.com (Martin Wimpress)</author><guid>https://wimpysworld.com/posts/python-and-virtualenv-on-arch-linux-and-ubuntu/</guid><description>&lt;p&gt;We use &lt;a href="http://www.python.org"&gt;Python&lt;/a&gt; for pretty much all our software
development at &lt;a href="http://www.flightdataservices.com/"&gt;work&lt;/a&gt;. We also use
&lt;a href="http://www.virtualenv.org"&gt;virtualenv&lt;/a&gt; and
&lt;a href="http://www.doughellmann.com/projects/virtualenvwrapper/"&gt;virtualenvwrapper&lt;/a&gt;
extensively, both for development &lt;em&gt;and&lt;/em&gt; deployment.&lt;/p&gt;
&lt;h2 id="why-is-virtualenv-so-great"&gt;Why is virtualenv so great?&lt;/h2&gt;
&lt;p&gt;It just is. Read the &lt;a href="http://www.virtualenv.org/en/latest/"&gt;virtualenv documentation&lt;/a&gt;.
If you&amp;rsquo;re a Python developer you need &lt;code&gt;virtualenv&lt;/code&gt; in your life. You also need
&lt;code&gt;virtualenvwrapper&lt;/code&gt; too.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;virtualenvwrapper is a set of extensions to Ian Bicking’s virtualenv tool
for creating isolated Python development environments.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="installing-python-and-virtualenvwrapper"&gt;Installing Python and virtualenvwrapper&lt;/h2&gt;
&lt;p&gt;Outlined below is how I install Python and &lt;code&gt;virtualenvwrapper&lt;/code&gt;. We have not
yet made the jump to Python 3 at work, hence the references to Python 2.6 and
2.7. Some of us develop on Arch Linux, but all deployments are on Ubuntu.&lt;/p&gt;
&lt;h3 id="arch-linux"&gt;Arch Linux&lt;/h3&gt;
&lt;p&gt;As Arch Linux is a rolling release we can simply install everything via
&lt;code&gt;pacman&lt;/code&gt;.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo pacman -Syy
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo pacman -S --needed --noconfirm python-pip python-setuptools python-virtualenv
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo pacman -S --needed --noconfirm python2-pip python2-setuptools python2-virtualenv python-virtualenvwrapper&lt;span class="s2"&gt;&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Simple.&lt;/p&gt;
&lt;h3 id="ubuntu"&gt;Ubuntu&lt;/h3&gt;
&lt;p&gt;The following was done on Ubuntu Lucid 10.04 LTS.&lt;/p&gt;
&lt;p&gt;Add some essential PPAs.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-add-repository ppa:bzr/ppa
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-add-repository ppa:git-core/ppa
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-add-repository ppa:fkrull/deadsnakes
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Update the system and install Python 2.6 and 2.7.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-get update
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-get install libpython2.6 python2.6 python2.6-dev python2.6-minimal
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-get install libpython2.7 python2.7 python2.7-dev python2.7-minimal
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Remove any &lt;code&gt;apt&lt;/code&gt; installed Python packages that we are about to repalce. The
versions of these packages in the Ubuntu repos and PPAs are too old.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-get purge python-setuptools python-virtualenv python-pip python-profiler
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Install &lt;code&gt;distribute&lt;/code&gt;.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;curl -O http://python-distribute.org/distribute_setup.py
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo python2.6 distribute_setup.py
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo python2.7 distribute_setup.py
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Install &lt;code&gt;pip&lt;/code&gt;.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;curl -O https://raw.github.com/pypa/pip/master/contrib/get-pip.py
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo python2.6 get-pip.py
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo python2.7 get-pip.py
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Use &lt;code&gt;pip&lt;/code&gt; to install &lt;code&gt;virtualenv&lt;/code&gt; and &lt;code&gt;virtualenv&lt;/code&gt; wrapper.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo pip-2.6 install virtualenv --upgrade
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo pip-2.7 install virtualenv --upgrade
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo pip install virtualenvwrapper
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Fairly simple.&lt;/p&gt;
&lt;h3 id="the-snakepit"&gt;The Snakepit&lt;/h3&gt;
&lt;p&gt;This step is common to Arch Linux and Ubuntu. Create a &lt;em&gt;&amp;ldquo;Snakepit&amp;rdquo;&lt;/em&gt; directory for
storing all the virtualenvs.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;mkdir ~/Snakepit
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Add the following your &lt;code&gt;~/.bashrc&lt;/code&gt; to enable &lt;code&gt;virtualenvwrapper&lt;/code&gt;.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;WORKON_HOME&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="si"&gt;${&lt;/span&gt;&lt;span class="nv"&gt;HOME&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;/Snakepit
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="o"&gt;[&lt;/span&gt; -f /usr/local/bin/virtualenvwrapper.sh &lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="k"&gt;then&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nb"&gt;source&lt;/span&gt; /usr/local/bin/virtualenvwrapper.sh
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;elif&lt;/span&gt; &lt;span class="o"&gt;[&lt;/span&gt; -f /usr/bin/virtualenvwrapper.sh &lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="k"&gt;then&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nb"&gt;source&lt;/span&gt; /usr/bin/virtualenvwrapper.sh
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;fi&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="creating-a-virtualenv"&gt;Creating a virtualenv&lt;/h2&gt;
&lt;p&gt;Open a new shell to ensure that the &lt;code&gt;virtualenvwrapper&lt;/code&gt; configuration is
active.&lt;/p&gt;
&lt;p&gt;The following will create a new virtualenv called &lt;code&gt;Nikola5&lt;/code&gt; based on Python
2.7 and will not give access to the global &lt;code&gt;site-packages&lt;/code&gt; directory.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;mkvirtualenv -p python2.7 --no-site-packages ~/Snakepit/Nikola5
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;code&gt;mkvirtualenv_help&lt;/code&gt; shows a full list of arguments, the &lt;code&gt;-r&lt;/code&gt; switch can install
all the packages listed in a &lt;code&gt;pip&lt;/code&gt; requirements file into the newly created
virtualenv. Very useful.&lt;/p&gt;
&lt;h2 id="working-on-a-virtualenv"&gt;Working on a virtualenv&lt;/h2&gt;
&lt;p&gt;To workon, or activate, an existing virtualenv do the following.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;workon Nikola5
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;You can switch to another virtualenv at any time, just use &lt;code&gt;workon envname&lt;/code&gt;.
Your shell prompt will change while a virtualenv is being worked on to indicate
which virtualenv is currently active.&lt;/p&gt;
&lt;p&gt;While working on a virtualenv you can &lt;code&gt;pip&lt;/code&gt; install what you need or manually
install any Python libraries safe in the knowledge you will not adversely
damage any other virtualenvs or the global packages in the process. Very useful
for developing a new branch which may have different library requirements than
the master/head.&lt;/p&gt;
&lt;p&gt;When you are finished working in a virtualenv you can deactivate it by simply
executing:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;deactivate
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;That just about sums up my notes.&lt;/p&gt;</description><summary>Installing Python and virtualenv on Arch Linux and Ubuntu</summary></item><item><title>SSH brute force defense</title><link>https://blog.wimpys.world/posts/ssh-brute-force-defense/</link><pubDate>Mon, 26 Nov 2012 13:14:09 +0000</pubDate><author>martin@wimpress.com (Martin Wimpress)</author><guid>https://wimpysworld.com/posts/ssh-brute-force-defense/</guid><description>&lt;p&gt;I have several VPS hosts with different providers using different
virtualisation platforms. Naturally I have &lt;a href="http://www.openssh.org/"&gt;OpenSSH&lt;/a&gt;
running on these VPS hosts and deploy either &lt;a href="http://denyhosts.sourceforge.net/"&gt;DenyHosts&lt;/a&gt;
or &lt;a href="http://www.fail2ban.org/"&gt;Fail2Ban&lt;/a&gt; to add an extra security layer to
thwart SSH brute force attacks and other abuse.&lt;/p&gt;
&lt;p&gt;DenyHosts blocks brute force attacks by adding offending IP addresses to
&lt;code&gt;/etc/hosts.deny&lt;/code&gt;. It therefore requires the SSH server is configured with
&lt;code&gt;tcp_wrappers&lt;/code&gt;. Arch Linux &lt;a href="https://www.archlinux.org/news/dropping-tcp_wrappers-support/"&gt;dropped support for tcp_wrappers&lt;/a&gt;
so DenyHosts is not suitable for Arch. Fail2Ban supports blocking via &lt;code&gt;iptables&lt;/code&gt; and/or
&lt;code&gt;tcp_wrappers&lt;/code&gt; and can also block offending hosts that are abusing services other than just &lt;code&gt;sshd&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id="denyhosts-on-ubuntu"&gt;DenyHosts on Ubuntu&lt;/h2&gt;
&lt;p&gt;Here is a simple example for DenyHosts on Ubuntu Lucid 10.04 LTS Server.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-get install denyhosts
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;That&amp;rsquo;s it. The default configuration will provide suitable prevention, but do
take a look at &lt;code&gt;/etc/denyhosts.conf&lt;/code&gt; for a full run down of all available options.
I use the defaults with the following exceptions:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-ini" data-lang="ini"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="na"&gt;PURGE_DENY&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s"&gt;5d&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="na"&gt;PURGE_THRESHOLD&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s"&gt;2&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="na"&gt;ADMIN_EMAIL&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="na"&gt;SYSLOG_REPORT&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;NO&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;You might want to consider whitelisting some of your own IP address. Create a
file called &lt;code&gt;allowed-hosts&lt;/code&gt; in &lt;code&gt;/var/lib/denyhosts&lt;/code&gt; and list each of your
&amp;ldquo;trusted&amp;rdquo; IP addresses.&lt;/p&gt;
&lt;p&gt;DenyHosts can be restarted by executing:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo /etc/init.d/denyhosts restart
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="fail2ban-on-arch-linux"&gt;Fail2Ban on Arch Linux&lt;/h2&gt;
&lt;p&gt;Fail2Ban now supports systemd.&lt;/p&gt;
&lt;p&gt;Configuration files are stored in &lt;code&gt;/etc/fail2ban&lt;/code&gt;. General configuration is
&lt;code&gt;/etc/fail2ban/jail.conf&lt;/code&gt;, but this file might be overwritten in the future. To
preserve customisations, create &lt;code&gt;/etc/fail2ban/jail.local&lt;/code&gt; and add your local
configuration settings to it. In the example below some IP addresses are whitelisted
and the default backend is set to systemd:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-ini" data-lang="ini"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;[DEFAULT]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="na"&gt;ignoreip&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s"&gt;172.16.0.2/32&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="na"&gt;backend&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s"&gt;systemd&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Next create a custom sshd configuration in &lt;code&gt;/etc/fail2ban/jail.d/sshd.conf&lt;/code&gt;
which will temporarily ban offending IP addresses.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-ini" data-lang="ini"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# fail2ban SSH&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# block ssh after 3 unsuccessful login attempts for 10 minutes&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;[sshd]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="na"&gt;enabled&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s"&gt;true&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="na"&gt;action&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s"&gt;iptables[chain=INPUT, protocol=tcp, port=22, name=sshd]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="na"&gt;maxRetry&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s"&gt;3&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="na"&gt;findtime&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s"&gt;600&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="na"&gt;bantime&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s"&gt;600&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="na"&gt;port&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s"&gt;22&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The &amp;lsquo;action&amp;rsquo; creates DROP rule in iptables after 3 unsuccessful login
attempts, valid for 10 minutes (bantime). Findtime defines time frame in which
fail2ban will count failed login attempts from logs, so if one IP has 3
incorrect login attempts in last 10 minutes, it will be banned.&lt;/p&gt;
&lt;p&gt;Enable and start the Fail2Ban daemon.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo systemctl &lt;span class="nb"&gt;enable&lt;/span&gt; fail2ban
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo systemctl start fail2ban
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Basic commands for fail2ban-client:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;fail2ban-client start sshd
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;fail2ban-client stop sshd
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;fail2ban-client reload sshd
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;fail2ban-client status sshd
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;fail2ban-client &lt;span class="nb"&gt;set&lt;/span&gt; sshd unbanip 172.16.0.4
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;See the &lt;a href="https://wiki.archlinux.org/index.php/Fail2ban"&gt;Arch Linux Fail2Ban Wiki page&lt;/a&gt;
for more details.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;References&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://krisko210.blogspot.co.uk/2014/03/setting-up-fail2ban.html"&gt;http://krisko210.blogspot.co.uk/2014/03/setting-up-fail2ban.html&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="ssh-best-practice"&gt;SSH best practice&lt;/h2&gt;
&lt;p&gt;DenyHosts and Fail2Ban do not provide complete protection against SSH brute
force attacks. I employ other SSH best practice to better secure the SSH
services I expose to the Internet, and so should you. The following is a
good reference.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.ibm.com/developerworks/aix/library/au-sshsecurity/index.html"&gt;Getting started with SSH security and configuration&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="other-ssh-brute-force-prevention-tools"&gt;Other SSH brute force prevention tools&lt;/h2&gt;
&lt;p&gt;In the interests of fairness, other SSH brute force preventation tools are
available.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.sshguard.net/"&gt;Sshgaurd&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://cgi.csc.liv.ac.uk/~greg/sshdfilter/"&gt;sshdfilter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://help.ubuntu.com/community/UFW"&gt;Uncomplicated Firewall&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://wiki.archlinux.org/index.php/Uncomplicated_Firewall#Rate_Limiting_with_ufw"&gt;Rate Limiting&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Do you know any other tools that help prevent SSH brute force attacks?&lt;/p&gt;</description><summary>Deploy DenyHosts or Fail2Ban to better prevent SSH brute force attacks.</summary></item><item><title>Take Mark Shuttleworth's advice, try Arch Linux</title><link>https://blog.wimpys.world/posts/take-mark-shuttleworths-advice-try-arch-linux/</link><pubDate>Wed, 02 May 2012 19:00:19 +0000</pubDate><author>martin@wimpress.com (Martin Wimpress)</author><guid>https://wimpysworld.com/posts/take-mark-shuttleworths-advice-try-arch-linux/</guid><description>&lt;p&gt;In a recent &lt;a href="http://irclogs.ubuntu.com/2012/05/01/%23ubuntu-classroom.html"&gt;Ubuntu community feedback session run on IRC&lt;/a&gt;
Mark Shuttleworth said:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;if you are a super-technologist then there is value in learning all about
linux from every angle try arch. try gentoo. try fedora. try debian. try suse.
they are all good&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;So, I did. I tried &lt;a href="http://www.archlinux.org/"&gt;Arch Linux&lt;/a&gt; and it is is not
just good, it&amp;rsquo;s truly brilliant! The truth is, I didn&amp;rsquo;t take Mark
Shuttleworth&amp;rsquo;s advice. I took the advice of a quietly spoken work colleague.
Whenever he saw me getting frustrated with Ubuntu he reminded me (quietly)
that he was running Arch Linux and that it was really rather good.
It turns out I should have listened to my colleague years ago, because he
was right all along. He often is.&lt;/p&gt;
&lt;p&gt;I started learning Arch Linux a few weeks ago and as of the time of writing
all our home computers are running Arch Linux and so is my office workstation.
I moved away from Ubuntu (which I&amp;rsquo;ve been using daily since 2004) because:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;I often find myself needing/wanting updated packages on my workstations.
Ubuntu + PPAs just wasn&amp;rsquo;t doing it for me anymore. I concluded I needed a rolling
release distribution.&lt;/li&gt;
&lt;li&gt;In my humble opinion, Unity is a software engineering solution developed
(by programmers) not designed using UI-patterns (by user interface designers)
consequently it sucks the big one.&lt;/li&gt;
&lt;li&gt;It was less hassle for me to switch to Arch Linux than bend Ubuntu to my will.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;That said, I do wish Canonical every success with Unity, they&amp;rsquo;ll need it, as
it needs some polish and refinement as it stands today. For anyone interested
in giving Arch Linux a try here are some observations.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Arch Linux does not hold you hand, you should be competent with a Linux
based distribution. I&amp;rsquo;ve been using Linux since 0.99patch2 so I think I qualify.&lt;/li&gt;
&lt;li&gt;Read the &lt;a href="https://wiki.archlinux.org/index.php/Beginners'_Guide"&gt;Unofficial Beginners&amp;rsquo; Guide&lt;/a&gt;
and &lt;a href="https://wiki.archlinux.org/index.php/Official_Arch_Linux_Install_Guide"&gt;Official Installation Guide&lt;/a&gt;
before you install anything.&lt;/li&gt;
&lt;li&gt;Install Arch Linux in a virtual machine to get acquainted.&lt;/li&gt;
&lt;li&gt;Be prepared to fix &lt;em&gt;your&lt;/em&gt; own problems. Fortunately the
&lt;a href="https://wiki.archlinux.org/"&gt;Arch Linux Wiki&lt;/a&gt; and &lt;a href="https://bbs.archlinux.org/"&gt;Arch Linux Forums&lt;/a&gt;
are a great source of good information.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Here is a list of what I most like about Arch Linux:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;It&amp;rsquo;s a rolling release. I&amp;rsquo;ve already progressed through several kernels
and been upgraded from GNOME 3.2 to 3.4. No fuss, no mess.&lt;/li&gt;
&lt;li&gt;It keeps out of my way, I get to build the OS they way I want it.
&lt;em&gt;Yes, I&amp;rsquo;m looking at you Unity, Overlay Scrollbars, Unity App Indicators, Ubuntu One and upstart!&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;The &lt;a href="https://aur.archlinux.org/index.php"&gt;AUR&lt;/a&gt;. It&amp;rsquo;s like a great big PPA.&lt;/li&gt;
&lt;li&gt;Creating my own packages is super simple.&lt;/li&gt;
&lt;li&gt;Adding my own packages to the AUR is super simple. I&amp;rsquo;ve already contributed 8 packages.&lt;/li&gt;
&lt;li&gt;I&amp;rsquo;m learning more about Linux than I have done in years.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Here&amp;rsquo;s what I&amp;rsquo;m not so keen about, but can live with.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Some of the comments in the Forums and AUR are from real arse hats with a
superiority complex. New comers may be put off by their tone and look elsewhere.&lt;/li&gt;
&lt;li&gt;The &lt;a href="https://aur.archlinux.org/index.php"&gt;AUR&lt;/a&gt;. Package quality in the AUR
is variable, some are pretty poor. So long as the maintainer is not one of the
aforementioned arse hats then contributing fixes and improvements is easy.&lt;/li&gt;
&lt;li&gt;It&amp;rsquo;s a rolling release, so may not be suitable for serious server deployments.
That said, I will migrate my own servers to Arch Linux in due course and see if
I can prove myself wrong.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;So there you have it, I like Arch Linux very much and recommend it to other
technically competent individuals looking to regain control of their computer(s).&lt;/p&gt;</description><summary>My experiences switching from Ubuntu to Arch Linux</summary></item><item><title>Install Sun Java 6 JRE and JDK from .deb packages</title><link>https://blog.wimpys.world/posts/install-sun-java-6-jre-and-jdk-from-deb-packages/</link><pubDate>Mon, 16 Jan 2012 13:20:05 +0000</pubDate><author>martin@wimpress.com (Martin Wimpress)</author><guid>https://wimpysworld.com/posts/install-sun-java-6-jre-and-jdk-from-deb-packages/</guid><description>&lt;p&gt;&lt;a href="https://canonical.com"&gt;Canonical&lt;/a&gt; disabled my Java PPA at the end of last week.
So I&amp;rsquo;ve developed another solution for installing Java on Ubuntu which doesn&amp;rsquo;t
infringe any copyrights, licenses, terms of use or CoC&amp;rsquo;s. However, by running
this script to download Java you acknowledge that you have read and accepted the
terms of the Oracle end user license agreement.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.oracle.com/technetwork/java/javase/terms/license/"&gt;http://www.oracle.com/technetwork/java/javase/terms/license/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;My script is an automated wrapper for &lt;a href="https://github.com/rraptorr/sun-java6"&gt;Janusz Dziemidowicz Debian packaging
scripts for Java 6&lt;/a&gt;. My new script
simply downloads the Java binary installers from Oracle, builds the .deb
packages locally on your computer and creates a local &amp;lsquo;apt&amp;rsquo; repository for
them. Once my script has been executed you can then &amp;lsquo;apt-get&amp;rsquo; install/upgrade
Java 6 from your local repository. Packages are compatible with &amp;ldquo;official&amp;rdquo;
Ubuntu ones and pre-existing Java 6 packages will upgrade cleanly. You can
find the script and full usage instructions on github.&lt;/p&gt;
&lt;div class="text-center"&gt;
&lt;iframe src="http://ghbtns.com/github-btn.html?user=flexiondotorg&amp;repo=oab-java6&amp;type=watch&amp;count=true&amp;size=large"
allowtransparency="true" frameborder="0" scrolling="0" width="260px" height="30px"&gt;&lt;/iframe&gt;
&lt;iframe src="http://ghbtns.com/github-btn.html?user=flexiondotorg&amp;repo=oab-java6&amp;type=fork&amp;count=true&amp;size=large"
allowtransparency="true" frameborder="0" scrolling="0" width="260px" height="30px"&gt;&lt;/iframe&gt;
&lt;/div&gt;
&lt;p&gt;Please read the &lt;a href="https://github.com/flexiondotorg/oab-java6/blob/master/README.rst"&gt;README&lt;/a&gt;
file for a more detailed explanation of how the script works and how to use it.
If anyone has any problems, then please submit a ticket on my
&lt;a href="https://github.com/flexiondotorg/oab-java6/issues"&gt;Issue Tracker&lt;/a&gt;.&lt;/p&gt;</description><summary>An alternative approach to install Sun Java 6 on Ubuntu</summary></item><item><title>Sun Java 1.6.0.30 packages for Ubuntu</title><link>https://blog.wimpys.world/posts/sun-java-1.6.0.30-packages-for-ubuntu/</link><pubDate>Tue, 10 Jan 2012 10:53:50 +0000</pubDate><author>martin@wimpress.com (Martin Wimpress)</author><guid>https://wimpysworld.com/posts/sun-java-1.6.0.30-packages-for-ubuntu/</guid><description>&lt;h2 id="update-friday-13th-january-2012"&gt;Update Friday 13th January 2012&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;My Java PPA has been disabled by Canonical, possibly because they violate the Ubuntu CoC and PPA terms of use, as Jef Spaleta noted in the comments below, although I&amp;rsquo;ve had no communication from Canonical at this time. I&amp;rsquo;m preparing an alternative solution, for those of you who need Sun Java 6, that doesn&amp;rsquo;t violate and copyrights, CoCs or terms of use. A new blog post will be made when that alternate solution is available.&lt;/strong&gt;&lt;/p&gt;
&lt;h2 id="update-monday-16th-january-2012"&gt;Update Monday 16th January 2012&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;I&amp;rsquo;ve developed another solution for installing Java 6u30 on Ubuntu which
doesn&amp;rsquo;t infringe any copyrights, licenses, terms of use or CoC&amp;rsquo;s.&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href="2012-01-install-sun-java-6-jre-jdk-from-deb-packages.html"&gt;Install Sun Java 6 JRE and JDK from .deb packages&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;del&gt;Sun Java 6 packages are being removed from Ubuntu in the near future for the
following reasons:&lt;/del&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;del&gt;As of August 24th 2011, Canonical no longer have permission to redistribute
new Java packages as Oracle has retired the &amp;ldquo;Operating System Distributor
License for Java&amp;rdquo;.&lt;/del&gt;&lt;/li&gt;
&lt;li&gt;&lt;del&gt;Oracle has published an advisory about security issues in the version of
Java currently in the partner archive. Some of these issues are currently
being exploited in the wild.&lt;/del&gt;&lt;/li&gt;
&lt;li&gt;&lt;del&gt;Due to the severity of the security risk, &lt;strong&gt;Canonical released a security
update for the Sun JDK browser plugin which disables the plugin on all machines&lt;/strong&gt;.&lt;/del&gt;&lt;/li&gt;
&lt;li&gt;&lt;del&gt;In the near future, &lt;strong&gt;Canonical will remove all Sun JDK packages from the
Partner archive&lt;/strong&gt;. This will be accomplished by pushing empty packages to
the archive, so that the Sun JDK will be removed from all users machines
when they do a software update. &lt;strong&gt;Users of these packages who have not
migrated to an alternative solution will experience failures after the
package updates have removed Oracle Java from the system&lt;/strong&gt;.&lt;/del&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;del&gt;See the full Canonical notice below.&lt;/del&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;del&gt;&lt;a href="https://lists.ubuntu.com/archives/ubuntu-security-announce/2011-December/001528.html"&gt;https://lists.ubuntu.com/archives/ubuntu-security-announce/2011-December/001528.html&lt;/a&gt;&lt;/del&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;del&gt;My personal motivations for creating this PPA are as follows:&lt;/del&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;del&gt;I require Sun Java 6 for two enterprise applications we use at work. OpenJDK is not fully compatible.&lt;/del&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;del&gt;I require Sun Java 6 for two desktop applications at home (so does my father-in-law). OpenJDK not compatible in one instance and not fully compatible in the other.&lt;/del&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;del&gt;I require Sun Java 6 browser plugin for a web applications I use at home. OpenJDK is not compatible.&lt;/del&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;del&gt;A friend of mine requires Sun Java 6 for building AOSP from source. OpenJDK is not compatible.&lt;/del&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;del&gt;Some friends of mine play Minecraft, apparently this will help ;-)&lt;/del&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;del&gt;Janusz Dziemidowicz made it easy for me - &lt;a href="https://github.com/rraptorr/sun-java6"&gt;https://github.com/rraptorr/sun-java6&lt;/a&gt;&lt;/del&gt;
&lt;del&gt;The PPA currently publishes Sun Java 6 1.6.0.30 for:&lt;/del&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;del&gt;Lucid i386/amd64&lt;/del&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;del&gt;Maverick i386/amd64&lt;/del&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;del&gt;Natty i386/amd64&lt;/del&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;del&gt;Oneiric i386/amd64&lt;/del&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;del&gt;Precise i386. However, amd64 is failing to build on Precise. I will try and fix this in due course.&lt;/del&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;del&gt;To Sun Java 6 , previously installed via packages, do the following.&lt;/del&gt;&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-add-repository ppa:flexiondotorg/java
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-get update
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-get dist-upgrade
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;del&gt;To install Sun Java 6 JRE do the following:&lt;/del&gt;&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-add-repository ppa:flexiondotorg/java
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-get update
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-get install sun-java6-jre
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;del&gt;To install Sun Java 6 browser plugin do the following:&lt;/del&gt;&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-add-repository ppa:flexiondotorg/java
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-get update
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-get install sun-java6-plugin
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;del&gt;To install Sun Java 6 JDK do the following:&lt;/del&gt;&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-add-repository ppa:flexiondotorg/java
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-get update
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-get install sun-java6-jdk
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;del&gt;You can take a look a round my PPA from the URL below:&lt;/del&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;del&gt;&lt;a href="https://launchpad.net/~flexiondotorg/+archive/java"&gt;https://launchpad.net/~flexiondotorg/+archive/java&lt;/a&gt;&lt;/del&gt;&lt;/li&gt;
&lt;/ul&gt;</description><summary>Get Sun Java 1.6.0 packages from a PPA</summary></item><item><title>Installing GNOME 3 on Ubuntu 11.10</title><link>https://blog.wimpys.world/posts/installing-gnome-3-on-ubuntu-11.10/</link><pubDate>Fri, 09 Dec 2011 16:21:03 +0000</pubDate><author>martin@wimpress.com (Martin Wimpress)</author><guid>https://wimpysworld.com/posts/installing-gnome-3-on-ubuntu-11.10/</guid><description>&lt;p&gt;I tried &lt;a href="http://unity.ubuntu.com/"&gt;Unity&lt;/a&gt; in Ubuntu Natty 11.04 and Ubuntu
Oneiric 11.10. We&amp;rsquo;ve agreed to hate each other. A few weeks ago I started using
&lt;a href="http://www.gnome.org/"&gt;GNOME 3&lt;/a&gt; and it only took me a couple of hours to
adapt to it&amp;rsquo;s workflow. GNOME 3 is now my desktop environment at home and and
work. I love it! If you&amp;rsquo;d like to give GNOME 3 a whirl then you could try
installing Jan Hoffman&amp;rsquo;s Ubuntu GNOME Shell Remix from either the 32-bit or
64-bit ISOs he has prepared. This will give a &amp;ldquo;pure&amp;rdquo; GNOME 3 experience.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://ubuntu-gs-remix.sourceforge.net/p/home/"&gt;http://ubuntu-gs-remix.sourceforge.net/p/home/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you already have Ubuntu 11.10 installed then you can install GNOME 3 alongside
Unity. Here are the incantations you&amp;rsquo;ll need to utter in a shell.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-add-repository ppa:jan-hoffmann/gnome-shell
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-add-repository ppa:aegirxx-googlemail/gnome-shell-extensions
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-add-repository ppa:gnome3-team/gnome3
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-add-repository ppa:webupd8team/gnome3
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-get update
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-get install libglib2.0-bin gnome-core gnome-documents gnome-shell gnome-sushi gnome-tweak-tool gnomeshell-default-settings gtk3-engines-unico
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The repositories added above will give you access to Jan&amp;rsquo;s GNOME 3 meta
packages, updated GNOME 3 packages and some extra GNOME 3 extensions. GNOME 3
extensions add all manner of additional tweaks and functionality. Some
extensions can even provide a user experience more akin to that of GNOME 2.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://intgat.tigress.co.uk/rmy/extensions/index.html"&gt;http://intgat.tigress.co.uk/rmy/extensions/index.html&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In order to get acquainted with GNOME 3 I suggest you read the
&lt;a href="http://www.gnome.org/gnome-3/"&gt;Discover GNOME 3&lt;/a&gt; (watch the videos too) and
&lt;a href="http://live.gnome.org/GnomeShell/CheatSheet"&gt;GNOME 3 Cheat Sheet&lt;/a&gt; pages. Having
read those you&amp;rsquo;ll soon master GNOME 3. After you&amp;rsquo;ve used GNOME 3 for a while you
may conclude it is a more usable desktop environment than Unity, which isn&amp;rsquo;t a
surprising conclusion to arrive at given Unity sucks the big one right now. If
you want a &lt;em&gt;&amp;ldquo;pure&amp;rdquo;&lt;/em&gt; GNOME 3 experience then the following commands will purge
Unity and other bits and bobs that GNOME 3 simply doesn&amp;rsquo;t require.&lt;/p&gt;
&lt;h2 id="remove-unity"&gt;Remove Unity&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-purge unity unity-2d unity-2d-launcher unity-asset-pool unity-common &lt;span class="se"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;unity-greeter unity-lens-applications unity-lens-music libunity-misc4
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="remove-overlay-scrollbars"&gt;Remove Overlay Scrollbars&lt;/h2&gt;
&lt;p&gt;These just don&amp;rsquo;t work on my netbook since they regularly obscure portions of
the window I actually want to click on. The can safely be removed even if you
intend to continue using Unity.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-get purge overlay-scrollbar liboverlay-scrollbar-0.2-0 liboverlay-scrollbar3-0.2-0
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="remove-indicators"&gt;Remove Indicators&lt;/h2&gt;
&lt;p&gt;If you never going back to Unity, Indicators can be safely removed.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-get purge xchat-gnome-indicator indicator-appmenu indicator-power &lt;span class="se"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;indicator-session indicator-sound indicator-status-provider-mc5 &lt;span class="se"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;libindicator-messages-status-provider1
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="remove-global-menu"&gt;Remove Global Menu&lt;/h2&gt;
&lt;p&gt;Again, Global Menu is not used by GNOME 3. So if you not going back to Unity
these can be safely removed.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-get purge appmenu-gtk3 appmenu-gtk appmenu-qt firefox-globalmenu &lt;span class="se"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;thunderbird-globalmenu
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Finally, a word or warning: &lt;strong&gt;Distribution upgrades are not possible!&lt;/strong&gt; You
can&amp;rsquo;t upgrade to a newer version of Ubuntu when using Jan Hoffman&amp;rsquo;s Ubuntu
GNOME Shell Remix or if you modify an existing Ubuntu 11.10 using my method
above. You will have to do a full install once the next Ubuntu release is
available. This can&amp;rsquo;t be fixed as long as Jan&amp;rsquo;s meta packages are unofficial,
because the distribution upgrade process requires having installed one of the
desktop meta packages from the official Ubuntu repositories.&lt;/p&gt;</description><summary>Creating a pure GNOME 3 experience on Ubuntu 11.10</summary></item><item><title>Shotwell 0.11 PPA available for Ubuntu Lucid and Maverick</title><link>https://blog.wimpys.world/posts/shotwell-0.11-ppa-available-for-ubuntu-lucid-and-maverick/</link><pubDate>Tue, 30 Aug 2011 11:05:50 +0000</pubDate><author>martin@wimpress.com (Martin Wimpress)</author><guid>https://wimpysworld.com/posts/shotwell-0.11-ppa-available-for-ubuntu-lucid-and-maverick/</guid><description>&lt;p&gt;Like many others I wanted &lt;a href="http://yorba.org/shotwell/"&gt;Shotwell&lt;/a&gt; 0.11
for Lucid and Maverick so I&amp;rsquo;ve created a PPA for it.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://launchpad.net/~flexiondotorg/+archive/shotwell"&gt;https://launchpad.net/~flexiondotorg/+archive/shotwell&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;My PPA contains Shotwell 0.11 built for Ubuntu Lucid 10.04 LTS and Ubuntu
Maverick 10.10. I created this PPA because I run Lucid at home and wanted the
new version of Shotwell. Sadly, Yorba aren&amp;rsquo;t going to provide new Shotwell
packages for Lucid due to the reasons discussed in the following ticket: -&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://trac.yorba.org/ticket/3015"&gt;http://trac.yorba.org/ticket/3015&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;As mentioned in the ticket above, there are newer versions of Shotwell available
for Lucid in other PPAs. However, those PPAs contain hundreds of packages. If
you&amp;rsquo;re not that brave, like me, then hopefully my PPA provides what you
need. I have built Shotwell with minimal changes from the original Yorba
source packages and not polluted my PPA with any unnecessary packages. Since
Shotwell 0.11 you &lt;strong&gt;must&lt;/strong&gt; enable the GStreamer PPA, see the ticket
below for the reasons for this requirement:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://redmine.yorba.org/issues/3716"&gt;http://redmine.yorba.org/issues/3716&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;To install Shotwell on Lucid and Maverick do the following:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-add-repository ppa:flexiondotorg/shotwell
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-add-repository ppa:gstreamer-developers/ppa
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-get update
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-get dist-upgrade
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-get install shotwell
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Enjoy!&lt;/p&gt;</description><summary>Showell 0.11 is available in a PPA for Ubuntu 10.04 &amp;amp; 10.10</summary></item><item><title>Shotwell 0.8.1 PPA available for Ubuntu Lucid</title><link>https://blog.wimpys.world/posts/shotwell-0.8.1-ppa-available-for-ubuntu-lucid/</link><pubDate>Thu, 17 Mar 2011 17:04:42 +0000</pubDate><author>martin@wimpress.com (Martin Wimpress)</author><guid>https://wimpysworld.com/posts/shotwell-0.8.1-ppa-available-for-ubuntu-lucid/</guid><description>&lt;p&gt;Like many others I wanted &lt;a href="http://yorba.org/shotwell/"&gt;Shotwell&lt;/a&gt; for Lucid
so I&amp;rsquo;ve created a PPA for it.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&amp;lt;https://launchpad.net/~flexiondotorg/+archive/shotwell.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;My PPA contains Shotwell 0.8.1 built for Ubuntu Lucid 10.04 LTS. I created the
PPA because I run Lucid at home and wanted the new version of Shotwell. Sadly,
Yorba aren&amp;rsquo;t going to provide a Lucid build of Shotwell 0.8.1 due to the
reasons discussed in the following ticket:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://trac.yorba.org/ticket/3015"&gt;http://trac.yorba.org/ticket/3015&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;As mentioned in the ticket above, there are versions of Shotwell 0.8.1
available for Lucid in other PPAs. However, those PPAs contain hundreds of
packages. If you&amp;rsquo;re not that brave, like me, then hopefully my PPA provides
what you need. I have built Shotwell 0.8.1 with minimal changes from the
original Yorba source packages and not polluted my PPA with any unnecessary
packages &lt;strong&gt;NOTE!&lt;/strong&gt; My PPA has dependencies that are satisfied by the Yorba
PPA, so you must also enable the Yorba PPA too.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://launchpad.net/~yorba/+archive/ppa"&gt;https://launchpad.net/~yorba/+archive/ppa&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;To install Shotwell 0.8.1 on Lucid do the following:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-add-repository ppa:yorba/ppa
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-add-repository ppa:flexiondotorg/shotwell
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-get update
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-get install shotwell
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description><summary>Get the latest Shotwell 0.8.1 via a PP for Ubuntu 10.04</summary></item><item><title>Bash script to retrieve Ubuntu codenames and versions</title><link>https://blog.wimpys.world/posts/bash-script-to-retrieve-ubuntu-codenames-and-versions/</link><pubDate>Wed, 16 Mar 2011 13:44:54 +0000</pubDate><author>martin@wimpress.com (Martin Wimpress)</author><guid>https://wimpysworld.com/posts/bash-script-to-retrieve-ubuntu-codenames-and-versions/</guid><description>&lt;p&gt;I&amp;rsquo;m working a script to automatically backport &lt;a href="http://www.debian.org"&gt;Debian&lt;/a&gt;
packages to Ubuntu. I needed a way to get a list of currently supported/active
Ubuntu releases by codename or version. Here is how I do it.&lt;/p&gt;
&lt;h2 id="get-a-list-of-ubuntu-codenames"&gt;Get a list of Ubuntu codenames&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;wget -q http://cdimage.ubuntu.com/releases/ -O - &lt;span class="p"&gt;|&lt;/span&gt; sed -e :a -e &lt;span class="s1"&gt;&amp;#39;s/&amp;lt;[^&amp;gt;]*&amp;gt;//g;/&amp;lt;/N;//ba&amp;#39;&lt;/span&gt; &lt;span class="p"&gt;|&lt;/span&gt; grep &lt;span class="s1"&gt;&amp;#39;^[[:space:]][a-z]&amp;#39;&lt;/span&gt; &lt;span class="p"&gt;|&lt;/span&gt; sed &lt;span class="s1"&gt;&amp;#39;s/\///g&amp;#39;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="get-a-list-of-ubuntu-versions"&gt;Get a list of Ubuntu versions&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;wget -q http://cdimage.ubuntu.com/releases/ -O - &lt;span class="p"&gt;|&lt;/span&gt; sed -e :a -e &lt;span class="s1"&gt;&amp;#39;s/&amp;lt;[^&amp;gt;]*&amp;gt;//g;/&amp;lt;/N;//ba&amp;#39;&lt;/span&gt; &lt;span class="p"&gt;|&lt;/span&gt; grep &lt;span class="s1"&gt;&amp;#39;^[[:space:]][1-9]&amp;#39;&lt;/span&gt; &lt;span class="p"&gt;|&lt;/span&gt; sed &lt;span class="s1"&gt;&amp;#39;s/\///g&amp;#39;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description><summary>Get a list of Ubuntu codename and version with wget</summary></item><item><title>Goodbye F-Spot. Hello Shotwell</title><link>https://blog.wimpys.world/posts/goodbye-f-spot-hello-shotwell/</link><pubDate>Sat, 20 Mar 2010 15:39:17 +0000</pubDate><author>martin@wimpress.com (Martin Wimpress)</author><guid>https://wimpysworld.com/posts/goodbye-f-spot-hello-shotwell/</guid><description>&lt;p&gt;I&amp;rsquo;ve finally found a photo organiser for Linux I can live with,
&lt;a href="http://yorba.org/shotwell/"&gt;Shotwell&lt;/a&gt;. Shotwell is a photo organiser
for &lt;a href="http://www.gnome.org"&gt;GNOME&lt;/a&gt; that I&amp;rsquo;ve been testing for a few
months now but the recent 0.5 release which added tagging and printing,
it means Shotwell is finally ready replace &lt;a href="http://f-spot.org"&gt;F-Spot&lt;/a&gt; on
my workstation.&lt;/p&gt;
&lt;p&gt;Shotwell is intuitive, well documented, extremely easy to use and reliable.
It&amp;rsquo;s easy to dismiss Shotwell as an over simplified photo manager. But once
you start using it, you&amp;rsquo;ll quickly appreciate its clean interface and
easy-to-use tools. Don&amp;rsquo;t just take my word for it either, Shotwell is now the
default photo manager in &lt;a href="http://fedoraproject.org"&gt;Fedora&lt;/a&gt; 13 alpha. Here is
a quick run down of the features.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Import photos from folders or from any digital camera supported by gPhoto.&lt;/li&gt;
&lt;li&gt;Shotwell automatically groups photos taken at the same time. You can also
use tags to organize your photo collection.&lt;/li&gt;
&lt;li&gt;You can rotate, crop, reduce red-eye, and adjust the exposure, saturation,
tint, and temperature of each photo.&lt;/li&gt;
&lt;li&gt;Publish photos to Facebook, Flickr and Picasa Web Albums.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Shotwell provides a non-destructive way to tweak your photos. Instead of
modifying the original photos, Shotwell stores all edits in a database and
applies them on-the-fly as necessary. This means that you can easily undo all
edits. Shotwell comes equipped with all the usual photo enhancing tools and
slideshow. You can download a source tarball from the Shotwell home page at
&lt;a href="http://www.yorba.org/shotwell/"&gt;http://www.yorba.org/shotwell/&lt;/a&gt; or grab a binary for Ubuntu Karmic or Lucid
via Yorba&amp;rsquo;s Launchpad PPA.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://launchpad.net/~yorba/+archive/ppa"&gt;https://launchpad.net/~yorba/+archive/ppa&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description><summary>F-Spot you serve me well, but here comes Shotwell</summary></item><item><title>Amazon Loves Linux Music Lovers</title><link>https://blog.wimpys.world/posts/amazon-loves-linux-music-lovers/</link><pubDate>Wed, 16 Dec 2009 22:30:48 +0000</pubDate><author>martin@wimpress.com (Martin Wimpress)</author><guid>https://wimpysworld.com/posts/amazon-loves-linux-music-lovers/</guid><description>&lt;p&gt;I&amp;rsquo;ve no idea when Amazon.co.uk launched their MP3 store and I&amp;rsquo;ve no idea when
they released their Linux client for downloading the MP3s you purchased. I
don&amp;rsquo;t care, I just want to say I&amp;rsquo;m really impressed Amazon have considered us
Linux users. Well done Amazon!&lt;/p&gt;
&lt;p&gt;Not only that but the MP3s are DRM free, encoded using variable bit rates aiming
at an average of 256 kilobits per second (kbps), album cover art is included with
each song and the tracks are typically cheaper than iTunes. Well done again.&lt;/p&gt;
&lt;p&gt;Doubtless some would want an Open Source client and unencumbered formats such as
Ogg and FLAC, but I&amp;rsquo;m pretty happy with what Amazon have on offer so long as it
works. Which it does.&lt;/p&gt;
&lt;p&gt;However, the Linux MP3 downloader client is 32-bit only. Not so good, but
it can be successfully installed in 64-bit Ubuntu. Here&amp;rsquo;s how I did in on
Ubuntu Jaunty 9.04 64-bit.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;wget -c http://frozenfox.freehostia.com/cappy/getlibs-all.deb
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;dpkg -i getlibs-all.deb    
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;wget &lt;span class="s2"&gt;&amp;#34;http://www.amazon.co.uk/gp/dmusic/help/amd-installer-redirect.html/ref=dm_amd_linux_ubuntu?ie=UTF8&amp;amp;forceos=LINUX&amp;amp;callingPage=%2Fgp%2Fdmusic%2Fhelp%2Famd.html&amp;amp;linux_Ubuntu.x=1&amp;#34;&lt;/span&gt; -O amazonmp3.deb
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;dpkg -i --force-architecture amazonmp3.deb
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;getlibs /usr/bin/amazonmp3
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description><summary>Amazon treats Linux users like 1st class citizens</summary></item><item><title>Linux Hex Editors</title><link>https://blog.wimpys.world/posts/linux-hex-editors/</link><pubDate>Thu, 03 Dec 2009 11:59:30 +0000</pubDate><author>martin@wimpress.com (Martin Wimpress)</author><guid>https://wimpysworld.com/posts/linux-hex-editors/</guid><description>&lt;p&gt;We use hex editors daily at work, we are regularly cutting up data from flight
data recorders for analysis or recovery. So when I find a new hex editor for
Linux I usually give it a try. I happened across a blog listing five GUI hex
editors for Ubuntu today. Find out more below.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://unixlab.blogspot.com/2009/08/five-gui-hex-editors-for-ubuntu.html"&gt;Five gui hex editors for ubuntu&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description><summary>Five GUI hex editors for Linux to take a look at</summary></item><item><title>Creating a JetDirect Server with Linux</title><link>https://blog.wimpys.world/posts/creating-a-jetdirect-server-with-linux/</link><pubDate>Sat, 17 Oct 2009 11:41:21 +0000</pubDate><author>martin@wimpress.com (Martin Wimpress)</author><guid>https://wimpysworld.com/posts/creating-a-jetdirect-server-with-linux/</guid><description>&lt;p&gt;I created JetDirect compatible server on my NSLU2 running Ubuntu Jaunty 9.04
using &lt;a href="http://p910nd.sourceforge.net/"&gt;p910nd&lt;/a&gt;, which is a small printer daemon
that does not spool to disk but passes the job directly to the printer. It is
particularly useful for disk less Linux workstations and embedded devices that
have a printer hanging off them.&lt;/p&gt;</description><summary>Using the NSLU2 as a JetDirect print server</summary></item><item><title>MP3Gainer - Apply ReplayGain to your entire music library</title><link>https://blog.wimpys.world/posts/mp3gainer-apply-replaygain-to-your-entire-music-library/</link><pubDate>Fri, 14 Aug 2009 15:25:45 +0000</pubDate><author>martin@wimpress.com (Martin Wimpress)</author><guid>https://wimpysworld.com/posts/mp3gainer-apply-replaygain-to-your-entire-music-library/</guid><description>&lt;p&gt;Work has been crazy. We&amp;rsquo;re moving house. Hence, not much time for geeky stuff
recently. I&amp;rsquo;ve been putting this off for ages, I need to &amp;ldquo;normalise&amp;rdquo; the
volume of my MP3 music music library. Not all CDs sound equally loud. Whilst
different musical moods require that some tracks should sound louder than
others, the loudness of a given CD has more to do with the year of issue or
the whim of the producer than the intended emotional effect. This difference
carries over when you rip the CD to MP3 and random play through my music
collection requires constant manual volume adjustment. This has been bugging
me for a while now, but when it started to bug my wife I knew it was time to
find a solution. My main concerns with applying some sort of audio
normalisation were&amp;hellip;.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;My MP3s should not be irretrievably changed into something I end up hating.&lt;/li&gt;
&lt;li&gt;The method used should be free of the application used for music playback,
given that I play my music on iPod Nano, iPod Shuffle, PSP, PS3, Linux desktops,
TomTom 720T FM streaming and in car MP3 player.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;After some research &lt;a href="http://mp3gain.sourceforge.net"&gt;mp3gain&lt;/a&gt; seems to be the
tool for the job which provides an implementation of
&lt;a href="http://www.replaygain.org/"&gt;ReplayGain&lt;/a&gt;. However, as of today my entire CD
collection is ripped, which is very large, so I needed a way to process my
whole music collection in an automated fashion. I found some examples of how
to script this, but there are caveats with the solutions I found. Therefore I
have created my own script, MP3Gainer, to apply ReplayGain using &lt;code&gt;mp3gain&lt;/code&gt;
which overcomes these common limitations. MP3Gainer recursively applies
ReplayGain to a MP3 music collection of any size and directory depth.
ReplayGain can be applied in &amp;rsquo;track&amp;rsquo; or &amp;lsquo;album&amp;rsquo; mode and if ReplayGain has
previously been applied it can also be undone. It is important to understand
that MP3Gainer &amp;lsquo;album&amp;rsquo; mode really is per album, which is what you want. Trust
me! This script works on Ubuntu, should work on any other Linux/Unix
flavour and possibly Mac OS X providing you have the required tools installed.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/flexiondotorg/MP3Gainer"&gt;MP3Gainer&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description><summary>Volume normalise an entire MP3 library the right way</summary></item><item><title>SSHMenu - SSH Connection Management</title><link>https://blog.wimpys.world/posts/sshmenu-ssh-connection-management/</link><pubDate>Tue, 26 Feb 2008 13:21:28 +0000</pubDate><author>martin@wimpress.com (Martin Wimpress)</author><guid>https://wimpysworld.com/posts/sshmenu-ssh-connection-management/</guid><description>&lt;p&gt;We have a reasonable number of Debian servers at work and as a result I &lt;code&gt;ssh&lt;/code&gt;
into servers about as many times as I visit Google. I have been using
Profiles in gnome-terminal to manage my ssh connections, which is fine but
requires I already have a terminal open to initiate a new server connection.
Enter &lt;a href="http://sshmenu.sourceforge.net/"&gt;SSHMenu&lt;/a&gt;, a GNOME panel applet that
keeps all your regular SSH connections within a single mouse click.&lt;/p&gt;
&lt;p&gt;I couldn&amp;rsquo;t be arsed adding up a new repo for one application, so here are my
quick and dirty install steps.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;wget http://sshmenu.sourceforge.net/debian/dists/stable/contrib/binary-all/sshmenu_3.15-1_all.deb
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;wget http://sshmenu.sourceforge.net/debian/dists/stable/contrib/binary-all/sshmenu-gnome_3.15-1_all.deb
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo gdebi -n sshmenu_3.15-1_all.deb
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo gdebi -n sshmenu-gnome_3.15-1_all.deb
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;I have taken to using &lt;code&gt;gdebi&lt;/code&gt; to install local deb packages as it resolves and
installs dependencies. Now add SSHMenu to a GNOME panel and configure
your ssh connections. If SSHMenu isn&amp;rsquo;t listed in the GNOME panel applets yet,
then you can force a refresh with the rather heavy handed&amp;hellip;&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;killall gnome-panel
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description><summary>Managing SSH connections from a GNOME panel applet</summary></item><item><title>Get some AIR</title><link>https://blog.wimpys.world/posts/get-some-air/</link><pubDate>Tue, 12 Feb 2008 12:53:03 +0000</pubDate><author>martin@wimpress.com (Martin Wimpress)</author><guid>https://wimpysworld.com/posts/get-some-air/</guid><description>&lt;p&gt;&lt;a href="http://air-imager.sourceforge.net/"&gt;AIR (Automated Image and Restore)&lt;/a&gt; is a
GUI front-end to &lt;code&gt;dd&lt;/code&gt; and &lt;code&gt;dcfldd&lt;/code&gt; designed for easily creating forensic bit
images. Or, a nice way to let the guys at work who like GUIs make Debian boot
install floppies (don&amp;rsquo;t ask) easily. Ubuntu 7.10 doesn&amp;rsquo;t have a package for AIR,
but AIR does have an installer.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo aptitude install perl-tk sharutils dcfldd netcat cryptcat
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;wget http://prdownloads.sourceforge.net/air-imager/air-1.2.8.tar.gz?download
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;tar zxvf air-1.2.8.tar.gz
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;cd&lt;/span&gt; air-1.2.8/
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo ./install-air-1.2.8
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;At this point the installer thingy will kick off, follow the prompts. I have
found that &lt;code&gt;air&lt;/code&gt; needs to run as root, but won&amp;rsquo;t run if the executable is
setuid. So run it via &lt;code&gt;sudo&lt;/code&gt; like so:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo air
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description><summary>A graphical frontend for dd</summary></item><item><title>gLabels 2.2.1</title><link>https://blog.wimpys.world/posts/glabels-2.2.1/</link><pubDate>Wed, 30 Jan 2008 11:45:57 +0000</pubDate><author>martin@wimpress.com (Martin Wimpress)</author><guid>https://wimpysworld.com/posts/glabels-2.2.1/</guid><description>&lt;p&gt;&lt;a href="http://glabels.sourceforge.net/"&gt;gLabels&lt;/a&gt;, as packaged in the Ubuntu
repositories, has not worked properly for some time. The accuracy of printing
was way out making gLabels a non-starter unless you went to the hassle
of manually re-aligning every label on a page to account for the inaccuracies.&lt;/p&gt;
&lt;p&gt;However, I have been patiently waiting for a new version of gLables to be
released. The new development branch completely replaces &lt;code&gt;libgnomeprint&lt;/code&gt; with
the new &lt;code&gt;GtkPrintOperation&lt;/code&gt; and Cairo. The upshot of that is that the printing
accuracy issues are resolved.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.getdeb.net"&gt;GetDeb&lt;/a&gt; have released &lt;a href="http://www.getdeb.net/app/gLabels"&gt;.debs for gLabels 2.2.1&lt;/a&gt;
that work with Ubuntu Gutsy 7.10. You can either download the .debs from the
gLabels page at GetDeb and let &lt;code&gt;gdebi&lt;/code&gt; do its thing or do the following from the
shell&amp;hellip;&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;wget -c ftp://cesium.di.uminho.pt/pub/getdeb/gl/glabels_2.2.1-1~getdeb1_i386.deb
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;wget -c ftp://cesium.di.uminho.pt/pub/getdeb/gl/glabels-data_2.2.1-1~getdeb1_all.deb
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo dpkg -i glabels*.deb
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;We print a lot of labels at work to identify media for flight recorders, that
job just got a whole lot easier. More importantly, I now have a viable address
label printing solution for my wife.&lt;/p&gt;</description><summary>Accurate label printing for Linux is restored</summary></item><item><title>BloGTK, a weblog client for Linux</title><link>https://blog.wimpys.world/posts/blogtk-a-weblog-client-for-linux/</link><pubDate>Fri, 11 Jan 2008 13:44:07 +0000</pubDate><author>martin@wimpress.com (Martin Wimpress)</author><guid>https://wimpysworld.com/posts/blogtk-a-weblog-client-for-linux/</guid><description>&lt;p&gt;I have been meaning to setup a weblog client for a while now. I have tested a
couple of blog clients and have settled on &lt;a href="http://blogtk.sourceforge.net/"&gt;BloGTK&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;It has a simple user interface but comprehensive features, although I did need
to define a few Custom Tags before the editor supported all the formatting
options I wanted. Setting up BloGTK is very simple for Ubuntu and Debain users
requiring an &lt;code&gt;aptitude install blogtk&lt;/code&gt; to get it installed and the following
settings will connect to a Wordpress blog.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Server URL: &lt;code&gt;http://blog.example.org/xmlrpc.php&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Account: &lt;em&gt;Your Username&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Password: &lt;em&gt;Your Password&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Blogging System: &lt;em&gt;Moveable Type&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Now I can blog directly from my desktop, I am hoping it will encourage me to
post more often.&lt;/p&gt;</description><summary>Graphical blogging client for GNOME</summary></item><item><title>Conslidated RavenCore HOW-TOs</title><link>https://blog.wimpys.world/posts/conslidated-ravencore-how-tos/</link><pubDate>Fri, 18 Aug 2006 12:37:07 +0000</pubDate><author>martin@wimpress.com (Martin Wimpress)</author><guid>https://wimpysworld.com/posts/conslidated-ravencore-how-tos/</guid><description>&lt;p&gt;I have reorganized and consolidated my Debian and Ubuntu HOW-TOs for &lt;a href="http://sourceforge.net/projects/ravencore/"&gt;RavenCore&lt;/a&gt; 0.2.3.&lt;/p&gt;</description><summary>RavenCore documentation for Debian &amp;amp; Ubuntu</summary></item><item><title>RavenCore 0.2.3 on Debian and Ubuntu</title><link>https://blog.wimpys.world/posts/ravencore-0.2.3-on-debian-and-ubuntu/</link><pubDate>Thu, 17 Aug 2006 10:53:53 +0000</pubDate><author>martin@wimpress.com (Martin Wimpress)</author><guid>https://wimpysworld.com/posts/ravencore-0.2.3-on-debian-and-ubuntu/</guid><description>&lt;p&gt;I have updated my HOW-TO for installing &lt;a href="http://sourceforge.net/projects/ravencore/"&gt;RavenCore&lt;/a&gt;
on Debian (at the request of the RavenCore developer) and added a HOW-TO for
installing RavenCore on Ubuntu. The are still some minor compatibility issues
with Debian and Ubuntu and these HOW-TOs have been sent to the RavenCore
developer to help document the outstanding incompatibilities.&lt;/p&gt;</description><summary>Updated Debian &amp;amp; Ubuntu documentation for RavenCore</summary></item><item><title>NetworkManager and Ubuntu Dapper Drake 6.04</title><link>https://blog.wimpys.world/posts/networkmanager-and-ubuntu-dapper-drake-6.04/</link><pubDate>Thu, 02 Mar 2006 11:26:39 +0000</pubDate><author>martin@wimpress.com (Martin Wimpress)</author><guid>https://wimpysworld.com/posts/networkmanager-and-ubuntu-dapper-drake-6.04/</guid><description>&lt;p&gt;A week or so ago the
&lt;a href="http://www.gnome.org/projects/NetworkManager/"&gt;NetworkManager&lt;/a&gt; package was
changed so that &lt;code&gt;nm-applet&lt;/code&gt; (the system tray application) was separated into
it&amp;rsquo;s own package. After I updated and installed &lt;code&gt;nm-applet&lt;/code&gt;, I noticed that it
didn&amp;rsquo;t startup anymore. I didn&amp;rsquo;t have time to investigate until this morning and
found the answer in the following forum posting&amp;hellip;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.ubuntuforums.org/showthread.php?t=134251"&gt;NetworkManager broken after last update&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Here is the pearl of wisdom, from that forum discussion, that helped me make
my system to be NetworkManager compatible again.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;ldquo;Network Manager has been installed on your system, however it will not
immediately be able to manage your network interfaces. To avoid problems with
important configuration being ignored, or strange behaviours, the Ubuntu version
will not manage any network interface configured in the /etc/network/interfaces file.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;To allow interfaces to be managed with Network Manager either edit the
/etc/network/interfaces file and remove (or comment out) the &amp;ldquo;auto&amp;rdquo; and &amp;ldquo;iface&amp;rdquo;
lines for those interfaces you wish it to manage, or use the &amp;ldquo;Networking&amp;rdquo;
administration tool (found under the &amp;ldquo;System&amp;rdquo; menu) to disable the interfaces.&amp;rdquo;&lt;/em&gt;&lt;/p&gt;</description><summary>Fixing NetworkManager applet on Ubuntu 6.04</summary></item><item><title>The honeymoon is over</title><link>https://blog.wimpys.world/posts/the-honeymoon-is-over/</link><pubDate>Fri, 03 Feb 2006 11:43:06 +0000</pubDate><author>martin@wimpress.com (Martin Wimpress)</author><guid>https://wimpysworld.com/posts/the-honeymoon-is-over/</guid><description>&lt;p&gt;Despite my glowing comments about &lt;a href="http://fedoraproject.org/"&gt;Fedora&lt;/a&gt; a couple
of weeks back, the honeymoon period is well and truly over. My biggest gripe
with Fedora is even with numerous compatible repositories enabled there isn&amp;rsquo;t a
suitable selection of packages available and dependency breakage is all too
frequent.&lt;/p&gt;
&lt;p&gt;Although I can build my own packages from source I just don&amp;rsquo;t have the time
(or inclination) for that anymore. I do really like the Early Logon feature and
the working NetworkManager in Fedora, but sadly these features are not enough to
keep me away from Ubuntu. As a result I have just finished migrating all my
computers to Ubuntu Dapper Drake 6.04 - Flight 3, which is shaping up to be
another excellent release. Matt Galvin has been doing a great job of tracking
the new features in each of the Dapper Flight pre-releases, see the Wiki entries
below&amp;hellip;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://wiki.ubuntu.com/DapperFlight2"&gt;https://wiki.ubuntu.com/DapperFlight2&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://wiki.ubuntu.com/DapperFlight3"&gt;https://wiki.ubuntu.com/DapperFlight3&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://wiki.ubuntu.com/DapperFlight4"&gt;https://wiki.ubuntu.com/DapperFlight4&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Having spent 6 weeks using Fedora I have decided that I have learnt enough
about it to conclude it just isn&amp;rsquo;t for me and I will be seeing out the rest of
2006 using Ubuntu as my desktop OS. However, I will dabble with other distros
periodically.&lt;/p&gt;</description><summary>Ditching Fedora and sticking with Ubuntu</summary></item><item><title>Leading edge Fedora Core 4</title><link>https://blog.wimpys.world/posts/leading-edge-fedora-core-4/</link><pubDate>Sat, 14 Jan 2006 11:32:31 +0000</pubDate><author>martin@wimpress.com (Martin Wimpress)</author><guid>https://wimpysworld.com/posts/leading-edge-fedora-core-4/</guid><description>&lt;p&gt;Having spent all of 2005 using &lt;a href="http://www.ubuntu.com"&gt;Ubuntu&lt;/a&gt; I have learnt a
lot about &lt;a href="http://www.debian.org"&gt;Debian&lt;/a&gt; and even started using Debian for my
servers.&lt;/p&gt;
&lt;p&gt;Despite using Linux for over 10 years I had never previously used Debian and had
even avoided using it. I was surprised by how much I liked using Ubuntu and
Debian and decided that I give &lt;a href="http://fedoraproject.org/"&gt;Fedora&lt;/a&gt; another try
as I have never warmed to &lt;a href="http://www.redhat.com/"&gt;redhat&lt;/a&gt; in the same way I had
never previously warmed to Debian. For the longest time I used &lt;a href="http://www.slackware.com/"&gt;Slackware&lt;/a&gt;
and then switched to &lt;a href="http://crux.nu/"&gt;Crux&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This week I have installed Fedora Core 4 on my home computer and been hugely
impressed, but this is mostly down to finding the nrpms.net repository. I was
already using the RPMforge.net group of repositories and nrpms.net is striving
for RPMforge compatibility, so far I haven&amp;rsquo;t experienced any package or
dependency breakage so they must be doing something right. Thanks to nrpms.net
I have effortlessly upgraded FC4 to GNOME 2.12.1, Firefox 1.5, mono 1.1.12 plus
numerous other GNOME applications I regularly use which aren&amp;rsquo;t available
elsewhere. The real bonus was to get NetworkManager 0.5.1 from nrpms.net which
actually works, and works reliably!&lt;/p&gt;
&lt;p&gt;As a result, this is a Linux distribution I can install on my wifes laptop
without fear of reprisals. I have found that installing proprietary
hardware drivers and software has been much simpler for Fedora than Ubuntu,
most notable are VMWare Player, Linuxant HSF modem drivers, ATI drivers, Opera
and Skype.&lt;/p&gt;
&lt;p&gt;I have been able to get my Smartphone and PocketPC working under Ubuntu
the amount of tweaking and constant manual intervention is cumbersome. So I
was staggered when after installing the SynCE packages on Fedora both devices
just worked when connected via USB, the whole process was completely seamless.&lt;/p&gt;
&lt;p&gt;So, after a few days tinkering I have everything I need installed, configured
and working reliably. Fedora is not perfect thought, &lt;code&gt;yum&lt;/code&gt; is still lagging
behind &lt;code&gt;apt&lt;/code&gt; and even that even after enabling a number of the excellent 3rd
party repositories the number and variety of packages available
to FC4 isn&amp;rsquo;t that great. Installing software is just so slow, what the bloody
hell is &lt;code&gt;yum&lt;/code&gt; doing? Using &lt;code&gt;yumex&lt;/code&gt; is coma inducing and &lt;code&gt;up2date&lt;/code&gt; just doesn&amp;rsquo;t
work.&lt;/p&gt;
&lt;p&gt;That said, there is some work being done in these areas for FC5 so maybe
the gap will be closed on &lt;code&gt;apt&lt;/code&gt; a little in the coming months. I do like the
fact that the official Fedora repositories update packages past the
final release date, something which Ubuntu doesn&amp;rsquo;t do. This means that on my
first &lt;code&gt;yum update&lt;/code&gt; OpenOffice was upgrade from 1.9.140 Beta to 2.0.1 final and
many other essential applications were also upgraded. Just when I thought it
couldn&amp;rsquo;t get any better I discovered the &amp;ldquo;Early Login&amp;rdquo; feature which is new to
Fedora Core 4. It is simply brilliant and I can not get from power button to
GNOME desktop in 20 seconds. I so wanted to not like Fedora but I have to say
I think I might be converted. I will have to see how long this enthusiasm for
Fedora will last, but I am already looking forward to FC5.&lt;/p&gt;</description><summary>Taking a look at Fedora Core 4</summary></item><item><title>Powerbook G3 (Old World) Ubuntu Install</title><link>https://blog.wimpys.world/posts/powerbook-g3-old-world-ubuntu-install/</link><pubDate>Mon, 09 Jan 2006 11:28:54 +0000</pubDate><author>martin@wimpress.com (Martin Wimpress)</author><guid>https://wimpysworld.com/posts/powerbook-g3-old-world-ubuntu-install/</guid><description>&lt;p&gt;James bought a PowerBook G3 to the January 2006 &lt;a href="http://www.hants.lug.org.uk/"&gt;HantsLUG&lt;/a&gt;
meeting and wanted to have Ubuntu installed on it. I used to be familiar with
Apple Mac computers in the mid to late 90&amp;rsquo;s because the company I worked for used
Macs exclusively on the desktop, so I decided to give it a whirl.&lt;/p&gt;
&lt;p&gt;The bottom line is that this old PowerBook G3 is now running Ubuntu Hoary 5.04
quite happily and I will soon be phone James to arrange for him to pick up his
computer.&lt;/p&gt;
&lt;p&gt;The article is largely based on the &lt;a href="https://wiki.ubuntu.com/Installation/OldWorldMacs"&gt;OldWorldsMac Ubuntu Wiki&lt;/a&gt;,
I have included the specifics of James setup here so he has a record of how his
computer was configured.&lt;/p&gt;
&lt;p&gt;I quickly realised that simply inserting the Ubuntu Hoary 5.04 PowerPC install
CD and rebooting while holding down the &amp;lsquo;C&amp;rsquo; key wasn&amp;rsquo;t going to work. It seems
that James computer is old enough to be a right pain in the arse to get working
with Linux, but that just makes me want to get it working all the more &lt;code&gt;:-)&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;By the end of the HantsLUG meeting Ubuntu Hoary 5.04 was just completing the
final setup steps and would have been ready to use, but someone pulled the power
block out of the mains and James battery is dead, so the computer shutdown &lt;code&gt;:-(&lt;/code&gt;
I took the PowerBook G3 home with me to fix/complete the installation but when
I got home I decided to download Ubuntu Breezy and install that instead. Sadly,
James PowerBook only has a 2GB hard disk (1.9GB available for Linux) and this
wasn&amp;rsquo;t sufficient for the Breezy installation to complete so I reverted to Hoary.&lt;/p&gt;
&lt;h2 id="identifying-the-powerbook-g3"&gt;Identifying the PowerBook G3&lt;/h2&gt;
&lt;p&gt;After some Googling I soon discovered that there are two classes of PowerBook G3,
OldWorld and NewWorld, and that each of the classes have a number of slightly
different models in the range. I took a guess that James was an OldWorld
PowerBook based on the fact it had no USB ports. It turns out this was a good
guess.&lt;/p&gt;
&lt;p&gt;Making the assumption that James PowerBook was OldWorld meant that I should use
&lt;a href="http://penguinppc.org/bootloaders/bootx/"&gt;BootX&lt;/a&gt; to boot into Linux from MacOS
as opposed to using yaboot which is for NewWorld PowerPCs.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://docs.info.apple.com/article.html?artnum=24604"&gt;PowerBook G3 Computers: How to Identify Different Models&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="doing-the-macos-installation"&gt;Doing the MacOS Installation&lt;/h2&gt;
&lt;p&gt;The first job was to erase the hard disk and install MacOS in a small parition
and leave the rest of the drive unallocated for installing Ubuntu later on.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Insert MacOS 8.1 CD&lt;/li&gt;
&lt;li&gt;Reboot&lt;/li&gt;
&lt;li&gt;Hold down &amp;lsquo;C&amp;rsquo; as the computer boots to get it to boot from CD&lt;/li&gt;
&lt;li&gt;Erase the Hard Disk&lt;/li&gt;
&lt;li&gt;Use Drive Setup to make a 150MB HFS partition.&lt;/li&gt;
&lt;li&gt;Install MacOS, leaving off all the optional components. The only thing you need is Stuffit and a browser which are both part of the minimal MacOS8.1 install.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;After the install I delete some odds and ends I didn&amp;rsquo;t need and also used
Extensions Manager to deselect a lot of components that were not required.
Finally, I configured TCP/IP to use DHCP.&lt;/p&gt;
&lt;h3 id="tools-update"&gt;Tools Update&lt;/h3&gt;
&lt;p&gt;James wanted to be able to use MacOS for basic web surfing, so that meant
finding an more modern alternative to Netscape 3.0.3 which was installed be
default. Sadly The only (relatively) upto date browser I could find which would
install on MacOS 8.1 was Internet Explorer 5.1.7. I also needed an updated
version of Stuffit Expander to extract BootX 1.2.2. I used Netscape 3.0.3 to
download IE and Stuffit from the URL&amp;rsquo;s below&amp;hellip;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.microsoft.com/mac/downloads.aspx?pid=download&amp;amp;location=/mac/DOWNLOAD/IE/ie5_classic.xml&amp;amp;secid=30&amp;amp;ssid=11&amp;amp;flgnosysreq=True"&gt;Internet Explorer 5.1.7 for Mac OS 8.1 to 9.x&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.sfsu.edu/ftp/mac/utils/aladdin_exp55.hqx"&gt;Stuffit Expander 5.5 for MacOS Classic&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;hellip;and installed them. Once they were working a deleted Netscpae 3.0.3 and the
old version of Stuffit.&lt;/p&gt;
&lt;h2 id="bootx"&gt;BootX&lt;/h2&gt;
&lt;p&gt;Older versions of Stuffit will only extract BootX 1.1.3 which I why I updated
Stuffit Expander as explained earlier. Download BootX 1.2.2.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://penguinppc.org/bootloaders/bootx/"&gt;BootX&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Open it with Stuffit and extract it the the Desktop then open the resulting
BootX 1.2.2 folder on the desktop. Drag each of the following&amp;hellip;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;BootX&lt;/li&gt;
&lt;li&gt;BootX Extension&lt;/li&gt;
&lt;li&gt;Linux Kernels&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;hellip;onto the &amp;ldquo;System Folder&amp;rdquo; one at a time to install BootX correctly. Insert the
Ubuntu PPC install CD and navigate to the &lt;code&gt;/install/powerpc&lt;/code&gt; folder.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Copy &lt;code&gt;vmlinux&lt;/code&gt; to (the Linux kernel) &lt;code&gt;System Folder/Linux Kernels&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Copy &lt;code&gt;initrd.gz&lt;/code&gt; (the init ramdisk image) to &lt;code&gt;System Folder/&lt;/code&gt; and rename it to &lt;code&gt;ramdisk.image.gz&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;BootX should appear on the apple menu and also run on every reboot during the
boot process, meaning that you can choose to boot Linux without having to wait
for the entire MacOS to load &lt;code&gt;:-)&lt;/code&gt; When you run BootX it should show &amp;lsquo;vmlinux&amp;rsquo;
as an available kernel, now add the following to &amp;ldquo;More kernel arguments&amp;rdquo; to make
sure the correct video mode is used for Linux.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;video=atyfb:vmode:14,cmode:32,mclk:71
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Now click the &amp;ldquo;Options&amp;rdquo; button, check &amp;ldquo;Use Specified RAM disk&amp;rdquo; and select
&lt;code&gt;System Folder/ramdisk.image.gz&lt;/code&gt;. Click on the &amp;ldquo;Save to prefs&amp;rdquo; button and then
click on the &amp;ldquo;Linux&amp;rdquo; button and in a short while you should be looking at the
regular Ubuntu install dialogs.&lt;/p&gt;
&lt;h3 id="other-video-mode-suggestions"&gt;Other Video Mode Suggestions&lt;/h3&gt;
&lt;p&gt;I didn&amp;rsquo;t test these, but my understanding is the &amp;lsquo;cmode&amp;rsquo; choose the bit depth 8
for 8bit, 16, for 16bit and so one. &amp;lsquo;mclk&amp;rsquo; controls the graphics/monitor refresh
rate I think, I was lucky that I the video mode suggested in the BootX README
worked first go.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;video=atyfb:vmode:14,cmode:32,mclk:65
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;video=atyfb:vmode:14,cmode:8,mclk:63
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="doing-the-ubuntu-installation"&gt;Doing the Ubuntu Installation&lt;/h2&gt;
&lt;p&gt;The installer will display an error message that &amp;ldquo;Configure a multiseat system&amp;rdquo;
failed. You can ignore this&amp;hellip;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Select &amp;lsquo;Continue&amp;rsquo;&lt;/li&gt;
&lt;li&gt;Select &amp;lsquo;Detect Hardware&amp;rsquo; and press Enter&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;hellip;and the install will continue normally.&lt;/p&gt;
&lt;h3 id="partitioning"&gt;Partitioning&lt;/h3&gt;
&lt;p&gt;When it gets to partitioning the drive Ubuntu will suggest using the entire disk
for Linux. Don&amp;rsquo;t do that because you still need MacOS to run BootX to bootstrap
Linux. Select the &amp;ldquo;Use Free Space&amp;rdquo; option or partition manually.&lt;/p&gt;
&lt;h3 id="copying-boot-to-the-hfs-system-folder"&gt;Copying /boot to the HFS System Folder&lt;/h3&gt;
&lt;p&gt;The rest of the install is fairly straight forward until you get to the part
where Ubuntu tries to install a bootloader. GRUB and Lilo don&amp;rsquo;t work on OldWorld
Macs, so Ubuntu will warn you that no bootloader can be installed. Switch to a
second console at this point (Option-F2) and use &lt;code&gt;df&lt;/code&gt; to see where things are
currently mounted. In my case the newly installed ubuntu was on &lt;code&gt;/dev/hda8&lt;/code&gt;
mounted as &lt;code&gt;/target&lt;/code&gt; and the HFS filesystem was &lt;code&gt;/dev/hda7&lt;/code&gt;. Make a mountpoint
and mount the HFS filesystem.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;cd&lt;/span&gt; /target
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;mkdir hfs
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;mount /dev/hda7 hfs -t hfs
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;You might also want to add an entry to &lt;code&gt;/etc/fstab&lt;/code&gt; so it will be mounted when
you reboot. This makes updating kernels easier in the future.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;/dev/hda7 /hfs hfs defaults&amp;#39;&lt;/span&gt; &amp;gt;&amp;gt; etc/fstab
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Now copy the kernel and boot image over;&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;cp boot/vmlinux hfs/System&lt;span class="se"&gt;\ &lt;/span&gt;Folder/Linux&lt;span class="se"&gt;\ &lt;/span&gt;Kernels/vmlinux
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;cp boot/initrd.img hfs/System&lt;span class="se"&gt;\ &lt;/span&gt;Folder/ramdisk.image.gz
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Option-F1 to get back to the installer, and tell it to go ahead and reboot.&lt;/p&gt;
&lt;p&gt;When the machine reboots the BootX dialog should come up straight away, just
click &amp;ldquo;Linux&amp;rdquo; and Ubuntu should proceed through the rest of the install as usual.&lt;/p&gt;
&lt;h4 id="references"&gt;References&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://ubuntuforums.org/showthread.php?t=73689"&gt;http://ubuntuforums.org/showthread.php?t=73689&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://ubuntuforums.org/showthread.php?t=36431"&gt;http://ubuntuforums.org/showthread.php?t=36431&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://wiki.ubuntu.com/Installation/OldWorldMacs"&gt;https://wiki.ubuntu.com/Installation/OldWorldMacs&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://penguinppc.org/"&gt;http://penguinppc.org/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://gonz.wordpress.com/2006/03/22/installing-ubuntu-510-breezy-badger-on-an-old-world-powerbook-g3-wallstreet/"&gt;http://gonz.wordpress.com/2006/03/22/installing-ubuntu-510-breezy-badger-on-an-old-world-powerbook-g3-wallstreet/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description><summary>Installing Ubuntu on a PowerBook G3 for hack value</summary></item><item><title>Ubuntu Dapper Flight-2</title><link>https://blog.wimpys.world/posts/ubuntu-dapper-flight-2/</link><pubDate>Thu, 22 Dec 2005 11:23:01 +0000</pubDate><author>martin@wimpress.com (Martin Wimpress)</author><guid>https://wimpysworld.com/posts/ubuntu-dapper-flight-2/</guid><description>&lt;p&gt;I decided to install Ubuntu Dapper Flight-2 on a spare computer I had available.
There are not any obvious differences between Dapper and Breezy at this early
stage but one thing which does stand out is the performance improvements. My
test Dapper and stable Breezy computers are exactly the same specification and
the boot times for Dapper are vastly improved, currently 37 seconds (average)
faster from power on to GNOME desktop than with Breezy. The graphical boot menu
when booting from the install CD in a nice touch, I look forward to seeing how
Dapper improves over the coming months. But right now there isn&amp;rsquo;t anything
especially new, different or unusual to test.&lt;/p&gt;</description><summary>Ubuntu Dapper Drake is showing some performance improvements</summary></item><item><title>Ubuntu Backports and PLF Repositories</title><link>https://blog.wimpys.world/posts/ubuntu-backports-and-plf-repositories/</link><pubDate>Wed, 21 Dec 2005 11:19:04 +0000</pubDate><author>martin@wimpress.com (Martin Wimpress)</author><guid>https://wimpysworld.com/posts/ubuntu-backports-and-plf-repositories/</guid><description>&lt;p&gt;I haven&amp;rsquo;t been focusing on Linux during that last couple of months, I was a
bit distracted completing my home cinema installation and ever since I have
been watching a lot of films.&lt;/p&gt;
&lt;p&gt;However, I needed to get one of my laptops up to date for the Christmas holidays
and in doing so needed some packages from the Ubuntu Backports repository, which
led me to find the &lt;a href="http://plf.zarb.org/"&gt;Ubuntu Penguin Liberation Front&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The Ubuntu PLF is a team that builds packages that are patent encumbered or
proprietary. The PLF has been providing litigious packages for Mandriva for many
years and now they are doing the same thing for Ubuntu. Having added the Breezy
Backports and PLF repositories (just about) everything I consider essential for
my desktop needs is now apt-getable, yah!&lt;/p&gt;</description><summary>The Penguin Libration Front provide patent encumbered packages for Ubuntu</summary></item></channel></rss>