Archives For Ubuntu on Macbook

Running Ubuntu on Apple MacBook / MacBook Pro computers?

Well, you may already know that there’s a fan control daemon which reads the temperature sensors in an Apple Macbook (or Macbook Pro) computer and throttles the fans accordingly to keep the temperature within configurable limits.

I don’t have an Apple MacBook. But I think this daemon will work good on Ubuntu because Ubuntu 14.04 Trusty has made this into its universe repository.

Apple Macbook fan control daemon in Ubuntu

Install macfanctld via PPA:

You can easily get this daemon from the developer’s PPA. So far, it supports Ubuntu 13.04 Raring, Ubuntu 12.10 Quantal, Ubuntu 12.04 Precise, and Ubuntu 10.04 Lucid.

Press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run commands below one by one:

sudo add-apt-repository ppa:mactel-support/ppa

sudo apt-get update

sudo apt-get install macfanctld

For Ubuntu 13.10 Saucy, install it from an unofficial repository:

sudo add-apt-repository ppa:detly/mactel-utils

sudo apt-get update

sudo apt-get install macfanctld

For Ubuntu 14.04 Trusty, search for and install macfanctld package in Ubuntu Software Center after checking for updates.

Macbook keyboard backlightRunning Ubuntu on a Macbook based laptop? Well, here’s a way to automatically control the keyboard brightness and screen backlight via Lightum deamon.

Lightum is a MacBook automatic light sensor daemon, it reads data from the ambient light sensor (located on the iSight camera) and automatically light up or dim the keyboard brightness and screen backlight.

It will also dim the keyboard brightness and screen backlight when the computer is not used for a configurable amount of seconds.

If you choose to run it in “manual” mode, it will not query the ambient light sensor, but instead it will use the brightness and backlight values you set manually using the function keys.

There’s also an indicator applet available to control lightum from your desktop panel.

lightum indicator

Install Lightum in Ubuntu:

If you’re on Ubuntu 12.04 Precise and its derivatives, press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run below commands one by one to install it from PPA:

sudo add-apt-repository ppa:poliva/lightum-mba

sudo apt-get update

sudo apt-get update lightum lightum-indicator

For Ubuntu 13.10, Ubuntu 13.04 and other editons, download and install the DEBs (not tested):

lightum_2.3.1-ubuntu1_i386.deb (32-bit)

lightum_2.3.1-ubuntu1_amd64.deb (64-bit)

lightum-indicator_0.7-ubuntu1_all.deb

For more, see lightum on github