<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8927053643189878163</id><updated>2012-02-21T19:00:09.913+01:00</updated><category term='frugal'/><category term='fvwm'/><category term='witness'/><category term='ministry'/><category term='arch'/><category term='software'/><category term='politics'/><category term='real man'/><category term='honored'/><category term='quiet time'/><category term='guest'/><category term='how to'/><category term='games'/><category term='fedora'/><category term='marriage'/><category term='ubuntu'/><category term='website'/><category term='found'/><category term='review'/><category term='gear'/><category term='rant'/><category term='humor'/><title type='text'>stick online</title><subtitle type='html'>Where I write about things like God and being a real man; Fedora and other software; and whatever else I feel like.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.stick-online.net/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8927053643189878163/posts/default/-/ubuntu'/><link rel='alternate' type='text/html' href='http://www.stick-online.net/search/label/ubuntu'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Stick</name><uri>http://www.blogger.com/profile/04661594010739242486</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Ke56dERbrD0/SUlSxrGnJ5I/AAAAAAAAAEM/mIiZH-3DVbk/S220/nhs_trans_100.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8927053643189878163.post-8836223528023318253</id><published>2009-06-19T00:21:00.014+02:00</published><updated>2009-09-22T22:52:03.317+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='software'/><category scheme='http://www.blogger.com/atom/ns#' term='how to'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Ubuntu On A MacBook 5,1</title><content type='html'>After posting my &lt;a href="http://www.stick-online.net/2009/06/ubuntu-904-impressions.html"&gt;short review of Ubuntu 9.04&lt;/a&gt; a couple of days ago, I felt that I had not done justice to it, nor to the effort I've poured into learning it. This post will attempt to both provide interested parties (myself included) with a complete reference, and chronicle my missteps in a (hopefully temporary) migration to Ubuntu.&lt;br /&gt;
&lt;br /&gt;
First, set up your partitioning. I've been &lt;a href="http://www.stick-online.net/2008/11/fedora-10-on-new-macbook.html"&gt;dual-booting Fedora 10 and Mac OS X&lt;/a&gt; on my MacBook for a pretty good while, so this was already done. If your MacBook has only OS X, you'll want to follow the &lt;a href="https://help.ubuntu.com/community/MactelSupportTeam/AppleIntelInstallation#Dual-Boot:%20Mac%20OSX%20and%20Ubuntu"&gt;guide here to set up dual-booting&lt;/a&gt; with BootCamp, or if you're sure Ubuntu is for you, then follow &lt;a href="https://help.ubuntu.com/community/MactelSupportTeam/AppleIntelInstallation#Single-Boot:%20Ubuntu%20Only"&gt;this guide to set up for single-booting&lt;/a&gt;. As I mentioned, I had &lt;a href="http://www.stick-online.net/2009/06/fedora-11-impressions.html"&gt;Fedora 11 in a separate partition already&lt;/a&gt;, so I didn't need to do any partitioning. At this point, be sure that you install &lt;a href="http://refit.sourceforge.net/"&gt;rEFIt&lt;/a&gt; in OS X for dual-booting. If you want Ubuntu (or whatever you're putting on your MacBook) to boot by default, &lt;a href="http://refit.sourceforge.net/doc/c3s3_config.html"&gt;uncomment the "legacyfirst" item at the end of refit.conf&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Now, go &lt;a href="http://www.ubuntu.com/getubuntu"&gt;get Ubuntu&lt;/a&gt;. If you've got a MacBook and you're reading this site using said MacBook, I recommend using &lt;a href="http://www.ubuntu.com/getubuntu/downloadmirrors#bt"&gt;BitTorrent&lt;/a&gt;, but you can also order a free CD or DVD. There are several options for which disk to order or which image download. I have installed Ubuntu to my MacBook using the Desktop and Alternate CDs. I tried using the "&lt;a href="https://help.ubuntu.com/community/Installation/MinimalCD"&gt;Minimal&lt;/a&gt;" CD - it doesn't work. I downloaded it after reading &lt;a href="http://ubuntuforums.org/showthread.php?t=1155961"&gt;this post about Ubuntu-Desktop-Minimal&lt;/a&gt;, but at the end of the installation it fails to correctly install the kernel. I later found that the Alternate install disk allows you to chose a command-line system install which results in a similarly minimalist system. I recommend the Alternate install disk for minimal installations and also for anyone who wants to encrypt any part of their hard disk in Ubuntu. As I will detail later, full disk encryption breaks the trackpad on the aluminum MacBook, but the Alternate disk allows you to at least encrypt the home directory of your first user.&lt;br /&gt;
&lt;br /&gt;
During the install, I chose to use four partitions as follows:&lt;ul style="margin: 0px;"&gt;&lt;li&gt;/boot, 100MB&lt;/li&gt;&lt;li&gt;/, 10GB&lt;/li&gt;&lt;li&gt;/home, as big as possible&lt;/li&gt;&lt;li&gt;swap, 2GB&lt;/li&gt;&lt;/ul&gt;If you have more than 2GB of ram in your MacBook, you'll want more than 2GB swap; with a laptop, you need an equal amount of swap space as ram to store an image for resuming from hibernation. If you don't think you'll ever reinstall your system, or you don't care, you can also leave out the separate /home partition and just make / as big as possible. Partition it however you want; I know plenty of people who break out /usr, /var, and /tmp as well. Install the boot loader on /dev/sda; rEFIt will handle it best there.&lt;br /&gt;
&lt;br /&gt;
***NOTE: Do not encrypt anything at this stage. If you opt for full-disk encryption, you'll need to be able to type in a password during boot. The keyboard, which runs off the usbhid driver, will be unusable during the boot sequence &lt;a href="https://help.ubuntu.com/community/MacBook5-1/Jaunty#Trackpad"&gt;if you want your trackpad to work&lt;/a&gt;. I want my trackpad to work, and I also want encryption. &lt;a href="http://oei.yungchin.nl/2008/04/23/installing-ubuntu-804-with-full-disk-encryption/"&gt;Encryption works&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;/a&gt; (the linked guide is great), and the computer works until you blacklist usbhid; then it doesn't work. You'll have to reinstall your system because no USB keyboard will work and there is no PS/2 port on the MacBook.&lt;br /&gt;
&lt;br /&gt;
After installation, you'll want to follow the &lt;a href="https://help.ubuntu.com/community/MacBook5-1/Jaunty"&gt;Ubuntu community guide for MacBooks and Jaunty&lt;/a&gt;; it's pretty thorough and makes everything work. I had to fiddle around with the trackpad configuration file they provide to make it meet my expectations, but overall it's a good guide. If you went the route I did and installed a command-line system from the Alternate disk, you'll want to plug in an ethernet connection and run the first command from the &lt;a href="http://ubuntuforums.org/showthread.php?t=1155961"&gt;Ubuntu-Desktop-Minimal script&lt;/a&gt; to set up a GNOME environment, and &lt;a href="https://help.ubuntu.com/community/MacBook5-1/Jaunty#Enable%20laptop-mode"&gt;to enable laptop mode as in the guide&lt;/a&gt; for battery saving, you'll need the package acpi-support as well. Last thing the guide skips over is installing flash and DVD playback. Luckily, flash is installed &lt;a href="http://www.alphatek.info/2008/11/25/fedora-10-x86-64-flash-10-and-sound/"&gt;the same way as in Fedora 10&lt;/a&gt;, and &lt;a href="http://ubuntuguide.org/wiki/Ubuntu:Jaunty#DVD_Playback_Capability"&gt;libdvdcss2 is available for easy download&lt;/a&gt;. I modified the minimal desktop command heavily to get my preferred &lt;a href="http://www.stick-online.net/2009/01/fvwm-screenshots-and-config.html"&gt;FVWM desktop&lt;/a&gt; up and running as well. You'll have to add the &lt;a href="http://www.getdropbox.com/downloading"&gt;Dropbox Ubuntu repositories&lt;/a&gt; before you can run it.&lt;blockquote style="background-color: rgb(204, 204, 204);"&gt;sudo apt-get install conky fast-user-switch-applet fvwm gimp keepassx mrxvt nautilus-actions nautilus-cd-burner nautilus-dropbox nautilus-image-converter nautilus-open-terminal network-manager pidgin pidgin-otr transmission trayer vim-gtk vlc wireless-tools x11-xfs-utils xfs&lt;/blockquote&gt;I found a "tutorial" on &lt;a href="http://ubuntu-tutorials.com/2008/03/18/how-to-install-selinux-on-ubuntu-804-hardy-heron/"&gt;installing SELinux in Ubuntu 8.04&lt;/a&gt;, which purported to work for 9.04 as well, but I haven't seen any indication that SELinux is working and apt-get wants to remove it for me any chance it gets, so I don't recommend SELinux at this point. I haven't had a chance to look into AppArmor, but whatever.&lt;br /&gt;
&lt;br /&gt;
The &lt;a href="https://wiki.ubuntu.com/NotifyOSD"&gt;NotifyOSD&lt;/a&gt; package in Jaunty provides slick system-wide notifications for pidgin, &lt;a href="https://addons.mozilla.org/en-US/firefox/addon/9622"&gt;firefox&lt;/a&gt;, transmission, and other apps, but they're too slick ("&lt;a href="http://glyph.twistedmatrix.com/2009/04/notification-disappointment-in-ubuntu.html"&gt;wow, what a disaster&lt;/a&gt;"). I recommend removing the package and sticking with the regular notification-daemon package, since it is configurable on the application level and the notifications respond to clicks. What I'd really like to use is something like &lt;a href="http://www.mumbles-project.org/"&gt;mumbles&lt;/a&gt;, but I tried it, had no success, and eventually uninstalled.&lt;br /&gt;
&lt;br /&gt;
To use Google software, such as Picasa, you'll want to &lt;a href="http://www.google.com/linuxrepositories/apt.html"&gt;add the Google software repos&lt;/a&gt; to &lt;span style="background-color: rgb(204, 204, 204);"&gt;/etc/apt/sources.list&lt;/span&gt;, then install the Google key and update apt using the two commands below:
&lt;blockquote style="background-color: rgb(204, 204, 204);"&gt;wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo apt-get update&lt;/blockquote&gt;

At this point my main gripes with Ubuntu are threefold:
&lt;ol style="margin-top: 0px;"&gt;
&lt;li&gt;No full-disk encryption (with the MacBook). I'm pretty unsure about the user home directory encryption I've got right now. Documentation is sparse and it's apparently not overly strong encryption.&lt;/li&gt;
&lt;li&gt;Printing. I have a Canon MP210 printer/scanner. It works in Fedora, since the i386 drivers provided by Canon can be installed on an x86_64 system. Not so in Ubuntu, at least that I've been able to find.&lt;/li&gt;
&lt;li&gt;SELinux. I'd really like to have it back.&lt;/li&gt;
&lt;/ol&gt;
Any other tips/tricks/comments? Anyone know how to get SELinux or my printer working? Any workarounds for blacklisting the usbhid driver and still being able to get a password typed in to unlock encrypted partitions?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8927053643189878163-8836223528023318253?l=www.stick-online.net' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.stick-online.net/feeds/8836223528023318253/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.stick-online.net/2009/06/how-to-run-ubuntu-on-macbook-51.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8927053643189878163/posts/default/8836223528023318253'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8927053643189878163/posts/default/8836223528023318253'/><link rel='alternate' type='text/html' href='http://www.stick-online.net/2009/06/how-to-run-ubuntu-on-macbook-51.html' title='Ubuntu On A MacBook 5,1'/><author><name>Stick</name><uri>http://www.blogger.com/profile/04661594010739242486</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Ke56dERbrD0/SUlSxrGnJ5I/AAAAAAAAAEM/mIiZH-3DVbk/S220/nhs_trans_100.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8927053643189878163.post-6125574078258487834</id><published>2009-06-16T16:52:00.002+02:00</published><updated>2009-06-16T16:52:00.815+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='software'/><category scheme='http://www.blogger.com/atom/ns#' term='review'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Ubuntu 9.04 Impressions</title><content type='html'>After a dismal showing from &lt;a href="http://www.stick-online.net/2009/06/fedora-11-impressions.html"&gt;Fedora 11 on my MacBook&lt;/a&gt;, I downloaded Ubuntu 9.04 last Friday. It is slick; they've got a lot of stuff &lt;a href="https://help.ubuntu.com/community/MacBook5-1/Jaunty"&gt;working very well on the MacBook 5,1&lt;/a&gt;. I have a few gripes about Ubuntu so far, but I &lt;span style="font-style:italic;"&gt;am&lt;/span&gt; using it until somebody figures out how to get multi-touch functionality for my MacBook in Fedora 11.

So, here's the good:&lt;ul style="margin-top: 0px"&gt;&lt;li&gt;Wireless works, out of the box. Even in the LiveCD.&lt;/li&gt;&lt;li&gt;Trackpad works for single-touch right out of the box (like it did in Fedora 10); making multi-touch work only takes a few minutes &lt;a href="https://help.ubuntu.com/community/MacBook5-1/Jaunty#Trackpad"&gt;following the guide&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;Firefox is a stable version.&lt;/li&gt;&lt;li&gt;&lt;a href="https://help.ubuntu.com/community/MacBook5-1/Jaunty#Sound"&gt;Sound is fixable&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;While flash and pulseaudio aren't perfect, they're a lot better than in Fedora.&lt;/li&gt;&lt;/ul&gt;And now, the bad:&lt;ul style="margin-top: 0px"&gt;&lt;li&gt;No full-disk encryption. This is one feature that &lt;span style="font-style:italic;"&gt;nearly&lt;/span&gt; pushes me back to Fedora, even with the trackpad issues.&lt;/li&gt;&lt;li&gt;SELinux. Maybe it's nothing more than a security blanket, but I'd rather have it than not.&lt;/li&gt;&lt;li&gt;Aterm. For some reason it doesn't like the "clear" command if you set the terminal name to something other than aterm; I'm still looking into it.&lt;/li&gt;&lt;/ul&gt;So far, I'm sticking to Ubuntu. However, once Fedora gets the trackpad working (and I know there are &lt;a href="http://fedoraforum.org/forum/showthread.php?t=223410"&gt;some dudes working on it&lt;/a&gt;), I'll be moving back. Ubuntu is slick, but for a laptop, full disk encryption is a must.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8927053643189878163-6125574078258487834?l=www.stick-online.net' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.stick-online.net/feeds/6125574078258487834/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.stick-online.net/2009/06/ubuntu-904-impressions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8927053643189878163/posts/default/6125574078258487834'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8927053643189878163/posts/default/6125574078258487834'/><link rel='alternate' type='text/html' href='http://www.stick-online.net/2009/06/ubuntu-904-impressions.html' title='Ubuntu 9.04 Impressions'/><author><name>Stick</name><uri>http://www.blogger.com/profile/04661594010739242486</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Ke56dERbrD0/SUlSxrGnJ5I/AAAAAAAAAEM/mIiZH-3DVbk/S220/nhs_trans_100.png'/></author><thr:total>0</thr:total></entry></feed>
