org-howto/mac-screen-brightness.org

1.6 KiB

macbookpro + ubuntu screen brightness

#

Introduction

How-to for controlling screen brightness on a macbook pro under ubuntu.

source
.org mode source for this page is here: file:mac-screen-brightness-src.org

Procedure

I installed ubuntu 15.10 (wily werewolf) on my late 2014 macbook pro (MacBookPro 11,3) I noticed I could no longer control screen brightness with F1/F2. I had previously made the following change when running ubuntu 14.04:

add to /etc/rc.local:
setpci -v -H1 -s 00:01.00 BRIDGE_CONTROL=0

After upgrading to 15.10, /etc/rc.local still has this change.

After some digging, thanks to this link.

I found that the following worked:

# make screen quite dim..
echo 100 | sudo tee -a /sys/class/backlight/gmux_backlight/brightness
# make screen quite bright..
echo 800 | sudo tee -a /sys/class/backlight/gmux_backlight/brightness