Apple’s Magic Keyboard is an excellent wireless keyboard for Macs. However, until last year, the Magic Keyboard still shipped with an eject button in the top-right corner, despite Macs not having optical drives for many, many years! So what can you do with the eject key on the Apple Magic keyboard instead of spitting out discs?
Yes, that is an eject button that you spy!
Let me introduce you to Karabiner-Elements. This is free, open-source software that lets you customise your keyboard. It can put that eject key to good use but also do far, far more.
How to use Karabiner-Elements to re-map your eject key
Launch Karabiner-Elements and you will be presented with a preferences screen.
Make sure you’re modifying the Magic Keyboard
Click on the Devices tab and ensure that your Magic Keyboard has been selected.
Install a Complex Modification
By default, the Eject key can’t be mapped. To achieve what we want, we need to install a Complex Modification. If you click on the tab by that name and select Add Rule and then Import more rules from the internet, it will take you to a web page where you can find various rules that can be installed. Search for “eject”, for example, to find a list of suitable options. I use the one named “Lock Screen”. Click the Import button to the side and it will add it to Karabiner-Elements.
Activate your rule
Karabiner-Elements will ask you to confirm the import. Click on the Import button to do so. You will now be shown a list of all your rules – enable any that you now wish to use. In my example, you’d click Enable against the rule “Eject to Lock Screen”.
Confirm the set-up
It will now show the new rules listed in the “Complex modifications” tab. Nothing more is required and pressing the eject button should perform the action that you’ve set up.
The above shows you how to re-map the eject button but the software can be used for much, much more. Simple re-mapping rules can be easily set, without the need for rule imports, or you can make use of the web search to find some quite complex features.
David Artiss works for WordPress VIP as a Customer Success Support Lead (EMEA). He's also a writer on his own blog as well as The Big Tech Question, and a frequent appearance on the PC Pro podcast.
To provide the best experiences, we and our partners use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us and our partners to process personal data such as browsing behavior or unique IDs on this site and show (non-) personalized ads. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Click below to consent to the above or make granular choices. Your choices will be applied to this site only. You can change your settings at any time, including withdrawing your consent, by using the toggles on the Cookie Policy, or by clicking on the manage consent button at the bottom of the screen.
Functional
Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behaviour or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional
Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.