OS X on a Macbook Air
17 March 2008
OS X on a Macbook Air
I am happy to announce the arrival of my Macbook Air named Vinyamar.
Vinyamar is named after the capital city of Nevrast in Tolkien’s Middle Earth. “Vinyamar” is Quenya for “New Dwelling.” Built on the western peninsula beneath Mount Taras, Vinyamar was the seat of Turgon’s power before he moved to the Hidden City of Gondolin.
The nomenclature of Vinyamar’s primary network is based upon regions of fantasy novels. Macintoshes are named after lands in J.R.R. Tolkien’s works. Linux machines are named after countries in Guy Gavriel Kay’s novels.
(I have, admittedly, bent the rules slightly here by using the name of a city instead of the name of a region. But it’s my network, I’ll use whichever names I like.)
Vinyamar:
- Entered service on March 18th, 2008.
- Has the 80GB hard drive option, not the SSD.
- 1.6 GHz Core 2 Duo processor.
- Running Mac OS X 10.5 (Leopard).
Purpose
Vinyamar’s intended purpose is as a coding and work laptop, so Xcode and the iPhone SDK will be required. Graphics work will be light to support application development. It will be used as a business laptop, so some internet and encryption utilities will also be required.
My stated reason for choosing the Macbook Air over the Macbook Pro is that the platform embraces constraints and forces me to focus on certain tasks. Only time will tell if this is the right decision.
System Configuration
OS X is preloaded with nearly every tool that I need, so doesn’t require a lot of configuration to be useful. After working with OS X 10.4 (Tiger) for nearly three years on Hithlum, I’ve picked up a lot of modifications and applications that I “can’t live without,” even though I really can. I addressed the UNIX issues first:
Update Hosts File: Replace
/etc/hostswith Dan Pollock’s excellent replacement hosts file to block bad sites. I’ve considered automating this download, but have some reservations with messing around with root-owned files without looking at them first. (I should get over it, but I haven’t.)This replacement /etc/hosts file blacks out bad parts of the internet — malware sites, aggressive advertisers, data collection companies, clicktrackers — by telling your computer to direct all requests for those hosts to itself, instead of out to the internet. It makes for a much more pleasant computing experience, and I highly recommend it, no matter what platform you’re running.
Disable SSH-1 and Force SSH-2: SSH-1 should only be used if you want to get cracked. I have no idea why it’s enabled at all in any default, but there it is in Tiger. I was happy to see that Leopard has SSH-1 off by default.
(In
/etc/sshd_config, change#Protocol 2,1toProtocol 2and restartsshd.)Change Default Shell: I’m generally happy with Apple’s Terminal, but there’s one default that I refuse to accept Apple’s guidance on: the default shell. Once you learn a shell, switching between them becomes a real hassle… and I learned on
tcsh, notbash. This is changed in Terminal’s preferences.Also, pin the Terminal to the Dock while it’s open, and chose the white-on-black background for new windows.
Configure Passwordless SSH: I do a lot of work with remote servers. To automate SSH connections to these machines, I set up passwordless SSH.
Those are the primary UNIX changes that I felt were absolutely essential. Next, I installed the development environment.
Install Xcode 3: Xcode 3 is the development environment that comes standard with Leopard, though it is not installed as a default. This was remedied by a quick introduction to Remote Disk and installing Xcode from the Leopard disks.
Install iPhone SDK: The iPhone SDK is available via a free download from the ADC site and is an easy install.
While that was installing, I took care of some remaining OS X preferences.
Remap Caps Lock to Control: In the Keyboard and Mouse System Preferences panel, change the Caps Lock Modifier Key to trigger Control, instead. I don’t use Caps Lock, but I do use Control quite a bit.
.Mac Syncing: I copied over a few key files from Hithlum’s home directory, and configured .Mac Syncing to take care of the rest of the data.
Backups: I spent more time than was ever necessary backing up Hithlum. I resolved that Vinyamar would be different, so I bought a Time Capsule and pointed Time Machine at it. Done.
Secret Preferences: Try as I might, there are still a few hidden preferences I seem to always tick off when getting on a new machine. I started off fully intending to switch from TinkerTool to Secrets to manage these preferences, with an assist from SmartSleep to handle the sleep and hibernation behavior, but then I got to thinking.
I’m supposed to be embracing constraints, right? Part of that is living with the defaults. Changing hidden preferences isn’t really doing that. Do I really need any of these behaviors set:
- Disable Dashboard
- Turn off .DS_Stores on the network
- Pin Dock to bottom right hand side (to keep the trash in the same location)
- Turn off glassy Dock
- Enable Twooshsound on 140 character Tweet
No, no, I guess I don’t. So I didn’t.
After the development environment was established, I (cautiously) installed several applications. I debated going entirely stock configuration here, but decided there are some things that are worth it.
Quicksilver: I seriously don’t think I can work without Quicksilver anymore. Buggy? Yes. But very, very useful.
Instant Messaging/VoIP: In addition to iChat, I installed Skype. Merrystar only recently started using IM, and only with Skype, so it makes the cut. (The requirement of “Must be able to communicate with spouse” is implied, and trumps just about every other one.)
Encrypted Email: Even if the rest of the internet seems to get by without it, I still need encryption, so MacGPG and GPGMail are essential add-ons, in addition to the X.509 Thwate Freemail certificates that should be in my Keychain.
Multiple Email Accounts: All of my email accounts have migrated over to IMAP, so I won’t have to move local mail files. Signature Profiler is very helpful at managing signature files between the accounts, however, so it will likely stay.
Password Management: In addition to the Keychain (which is already very useful), I’ve come to rely upon 1Password’s autofill mechanism. (Not to mention how it will have native iPhone password syncing…)
Writing: MarsEdit is my weblog editor of choice, and everyone should have a weblog. It makes the cut.
For writing local files,
emacsis already installed. If I need full screen editing I’ll use it and GLTerminal.Graphics: I’ve come to like Pixelmator quite a bit in the short time I’ve used it. OS X lacks a decent default image manipulator, so I’ll keep this.
Screensaver: I use just one: GLMatrix from the xscreensaver package. You’ll pry it out of my cold, dead hands.
Interestingly, there are some great applications that didn’t make the initialcut:
Instant Messaging: In a complete about-face from my last ten years of using IM, I ditched Adium X (with its wonderful multi-protocol support) and went with iChat instead. I don’t need as many IM protocols as I used to and iChat’s iSight integration is very appealing. Between Adium and Trillian I’ve managed 10+ accounts over the years; I’m looking forward to cutting that to 3.
At the same time, I’ve been trying out iChat on Hithlum, and it’s going to be a big change from what I’m used to.
Twitter is both a great time suck and a great way to interact with Mac developers. Twitterific is the client of choice here, but I decided to skip it for now, and shifting everything over to iChat/GTalk instead. This will also allow me to mute specific chatty people I follow. (You know who you are.)
RSS Feed Reader: I am seriously conflicted here. NetNewsWire is fantastic and allows me to keep up with hundreds of feeds.
The problem is that I keep up with hundreds of feeds. I’m leaving it off for now, and will revisit it as the RSS withdrawal symptoms kick in.
Full Screen Focus: I use Think on Hithlum to focus my attention on specific apps. By blanking out the background, it is surprisingly effective at doing this. My hope is that if I’ve done the rest of my job well, I won’t need Think. But if I do, then I can always go get it.
Screencaps: I really, really like Snapz Pro X, but it’s a bit of a CPU hog on the Powerbook. I will leave it there for now and see how things go. (I suspect that Snapz Pro X will find its way on to Vinyamar soon enough; it’s too good.)
Performance Monitoring: I admit that I like knowing what’s going on under the hood. iStat provides great visibility there. I’m concerned about getting too distracted by monitoring the hardware instead of working.
Office Software: For now, I’m leaving iWork and NeoOffice off. I’ll reconsider this decision when the time comes.
Updates
If you are interested to see how Vinyamar performs, I invite you to follow along in her weblog, as future updates will be posted there. (There’s even a separate RSS feed.)
This is: brett's logjam → OS X on a Macbook Air.