after installing cachyOS on my macbook air 2015, my keyboard backlight suddenly not working even I toggle up the brightness. hoping that someone can help me. thanks a lot
naim
January 8, 2025, 1:14pm
2
I don’t think that Macbook is officially supported. Did it work previously with other Linux distributions?
https://wiki.archlinux.org/title/Mac/Troubleshooting#Keyboard_backlight
README
Controlling the keyboard led lights on a Macbook Pro running linux is harder than it should be.
For ...reasons the bundled `kbdlight` doesn't work, so we're left with no option but to roll
up our sleaves and get our hands dirty. Fortunately various bash commands and `bc` makes this
task pretty trivial so here is a script to control the brightness.
This script supports the following api:
$ kbdlight -set 10
$ kbdlight -set +10
This file has been truncated. show original
kbdlight
#!/bin/sh
#
# Keyboard Backlight control for linux.
#
# Author: ktec
set -o errexit # abort on nonzero exitstatus
set -o nounset # abort on unbound variable
usage() {
This file has been truncated. show original
I found the solution for my MacBook here:
https://aur.archlinux.org/packages/macbook-lighter
Edit: paru macbook-lighter
should work.
Yup, tried kubuntu and ubuntu, and the keyboard backlight automatically turned on