Last active
November 8, 2025 21:14
-
-
Save nwjlyons/c66bbdeb62ae60ee0ef4 to your computer and use it in GitHub Desktop.
Turn Mac Book Pro backlit keyboard on and off under linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # First su in as root | |
| sudo su | |
| # Then cd to backlight directory | |
| cd /sys/class/leds/smc::kbd_backlight/ | |
| # Turn the backlight on | |
| cat max_brightness > brightness | |
| # Set to zero to turn off the backlight | |
| echo 0 > brightness |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Great help, just tested on MX Linux fluxbox on a MacBook Air 6,1!