You are not logged in.

#1 2016-01-16 19:27:29

Iyyel
Member
From: Australia in the US of A
Registered: 2015-12-20
Posts: 36
Website

Function keys on Macbook Pro mid-2015 (11,5)

Hello Arch forums!

I'm a newly adopter of the glorious Arch Linux, coming from a background solely consisting of Ubuntu, Debian & Fedora, and I must say that I love it!

I have got some great information from people here in an earlier thread of mine, helping me with the "worst" problems I had after the initial installation of my system.

As the title says, I run Arch on a Macbook Pro 15" mid-2015. I bought this laptop thinking that I would be fine with OS X, however as I'll be working a lot with Linux in the future, I'm forcing myself to learn it and use it as my main operating system, and I can't say I don't love it. Everything runs smooth, albeit a little bit hot. Idle in OS X was about 30c, while being about 50c here.

Anyway. I have a bunch of small issues left that I want to have resolved, so I decided to make a thread for each of these, starting with this, the function keys.

The brightness keys are not working, neither are the launchpad or mission control buttons (to be expected, obviously). The keyboard backlight keys work fine, and I believe the media keys work as well. (not using a media player currently, only cmus), and the volume keys work fine as well.

Now, I would love to be able for the brightness keys to work like OS X, but not quite sure how I can do that. Originally, I was not able to change the brightness of my screen at all, but I found out how to do it, via these commands.

sudo setpci -v -H1 -s 00:01.00 BRIDGE_CONTROL=0

followed by

echo "Please enter brightness value: "
read brightness_value
sudo echo $brightness_value  > /sys/class/backlight/gmux_backlight/brightness

So, I made this script, that I run manually whenever I start my macbook. Not perfect, but works. I would like the brightness keys to work like the other function keys, like this: https://noobpanic.files.wordpress.com/2 … =240&h=240
however, not required.

If that is not possible, I would like to bind them to two different scripts, each decreasing the brightness by 100 or something like that. Any tips, tricks?

Thank you so much.

Offline

#2 2016-01-17 06:06:04

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Function keys on Macbook Pro mid-2015 (11,5)

Moving to "Laptop Issues".

Offline

Board footer

Powered by FluxBB