A simple guide to get Linux Mint up and running on an 11" MacBook Air

From the archive — written 3 years ago. About old posts.

Here’s a simple guide for getting an 11" MacBook Air (ca. 2015) up and running with the latest Linux Mint.

I am a little surprised at how capable these machines are for being almost nine years old. If your use case is “edit some text, visit some sites,” they’re more than up for it, and they’re pretty close in size and weight to an 11" iPad Pro, but with a real keyboard and real computer stuff going on in them.

There are two things that take a little extra effort compared to doing this on a ThinkPad or some other non-Apple device with good support:

  • Getting Wi-Fi working

  • Getting the webcam working

We will get to these, and the order I recommend for all this is to help a little further down the line when you’re trying to get your userland set up.

The main thing you need before you get going is a thumb drive. I got a 128GB SanDisk that converts between USB A and C for about $18.

Basic installation

Pick an edition and download the image.

Which edition? People on the ‘net offer conflicting advice, so I’ll just offer my experience having tried all three:

Cinnamon is fine. It runs smoothly, but if you think it is laggy you can turn off a few of the effects once the install is done. MATE and XFCE also work, and people complain about Cinnamon having some bugs. Nothing has really jumped out.

You can follow the guide for creating bootable media on a thumbdrive.

When your thumbdrive is all set, stick it one of the USB ports and boot up, finger poised over the opt key.

Hold down the opt key when you hear the startup chime, and use the cursor key to boot into your Mint install image.

Once you’ve booted into the live CD environment, you can poke around and satisfy yourself that it’ll work. Once you’ve done that, just kick off the install by clicking on the install icon in the upper left desktop.

Step through the prompts. It’s all self-explanatory.

Once the installer is done, it’ll want you to reboot. Go ahead and do that.

Get Wi-Fi going on your first boot

There is a ton of advice about how to get Wi-Fi going on these machines and much of it is a little painful. Don’t do what I did and try to install all the needed packages one by one by hand. Mint comes with a perfectly good driver tool if you have your installation media on hand.

You’ll get a “Welcome Screen” app on your first boot. Head to the First Steps item on the sidebar, scroll down to the Driver Manager item, tap Launch, and follow the prompts to mount your boot media. It’ll do some churning then offer an option to select the Broadcomm Wi-Fi drivers. Go ahead and enable that and let it install them. It takes a little bit of time, and it’ll tell you that you have to reboot, but IME the system detects the hardware and pops up a dialog telling you that there are available networks without that.

Click the network icon down in the tray in the lower right and away you go.

Update everything else

With a working network connection, you should go ahead and run the Update Manager. It’s worth your time to take it up on the offer to select mirrors, because the default ones are pretty slow. If you wait long enough it’ll ping each one and offer a ranked list by download speed.

Run through your updates and go ahead and reboot.

Get the webcam working

Life gets much easier with a working webcam: Enrolling devices in Signal, logging into the 1Password app, etc. all go faster when you can just hold a QR code up to the camera.

This is a three-step process:

  • Securing a copy of Apple’s proprietary drivers for the camera.

  • Installing the kernel modules.

  • Installing the iSight camera drivers.

Getting a copy of Apple’s drivers

Everyone’s very coy about this, encouraging you to just go out looking. You’re looking for a file called AppleUSBVideoSupport. If you have a copy of Tiger or Leopard hanging around, it’s on their install media:

/System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/AppleUSBVideoSupport.kext/Contents/MacOS/AppleUSBVideoSupport

Otherwise, it’s around: Google for AppleUSBVideoSupport and chances are good it’s in someone’s GitHub repo in the first few results.

Installing the kernel modules

Next up, you need to get the right kernel modules in place. This gist provides a script that handles that for you.

  • Open a shell.

  • wget the URL of the raw gist

  • sudo sh 99-install-facetime-camera.sh

Watch things happen.

Installing the driver package

Once the script has run, it’s time to install the driver package. It is very helpful if you have the AppleUSBVideoSupport file somewhere easy to type, like your home directory.

  • sudo apt install isight-firmware-tools

  • When prompted, provide the full path to the AppleUSBVideoSupport file.

  • Watch things happen.

Install cheese

The Cheese app is sort of like PhotoBooth on a Mac. It’s helpful for making sure the camera works.

  • sudo apt install cheese

reboot

A reboot is required to get all this to work, so do that. When you’ve logged back in, run cheese to make sure the camera is working.

Get 1Password onto the device

Maybe it’s not the case for you, but I depend on 1Password. They ship a .deb that works fine for Linux Mint.

You can download and install that. When you run it, you can use the device setup QR code from your phone and your newly working webcam to avoid having to type in your secret key.

Do everything else you need

With a working password manager, other things get easier:

  • Access to license files I keep in 1Password (e.g. Sublime Text)

  • Signing into Firefox syncing so I get the 1Password extension installed automatically.

  • Installing the GitHub command line tool (sudo apt install gh) and authenticating it via the browser, because that gives me access to a bunch of things like the gists where I keep configuration files.

  • Setting up ssh using 1Password’s built-in agent. I just generate a local key to make sure ~/.ssh has the right permissions and use the in-app snippet to configure the ssh agent.

  • Installing Tailscale, which uses GitHub authentication.

Use the Backup tool

Mint has a very capable little backup tool that archives your personal data and creates a restorable list of installed apps and packages. Once you’re settled in, give it a shot: It’ll save you some hassling around with re-installing everything on a second machine if you get bit by the “running Linux on old stuff” bug, or make it easier to shift to another Mint variant if Cinnamon isn’t doing it for you.

Drop a line about this.