Keyboard of Macbook air m1 The layout of the function keys changes slightly. On this model, Apple has chosen to highlight dictation and Do Not Disturb modes with two dedicated keys, F5 and F6. On older MacBook Air, both of these keys were used to control the keyboard’s backlight brightness.
This function is no longer directly available, you will need to go through the macOS control center to adjust this parameter. Apple may be aware that some people change this setting on a daily basis, but if you do, going through the operating system is not as convenient. Fortunately, F5 and F6 are solutions to restore the old role of function keys.
Many offers listed In this reddit thread, Especially by using third-party apps like Carabiners. If you do not want to install an app for this, it is also possible to create a configuration file whose only role is to add the F5 and F6 keys to control the brightness of the keyboard.
Create a file in folder ~/Library/LaunchAgents
Appointed com.local.KeyRemapping.plist
And paste Following code In this file.
You can do this entirely with a graphical interface, using the Finder ‘Go to’ function (⌘⇧G
) And with any plain text editor, even TextEdit. However, since you have to be careful with its extension to have a full name and add special characters to the document, I recommend you do everything on the terminal.
-
Create File:
nano ~/Library/LaunchAgents/com.local.KeyRemapping.plist
-
Copy Code And paste it into the terminal window;
-
Press and save file
ctrl X
ThenY
To validate changes.
In any case, finish by restarting your MacBook Air. The F5 and F6 keys should no longer activate dictation nor disturb modes, but vary the brightness of the keyboard backlight. If you want to restore the original behavior of the Mac, simply delete the file created here and restart.