PowerKey remaps your Apple MacBook, MacBook Pro or MacBook Air's Power key.
Remapping the Power key to Forward Delete ⌦ is the most popular replacement.
PowerKey can also be used to run a Script or Apple Script each time you tap the Power Key.
The Forward Delete key is extremely convenient when writing or coding, and you're probably already used to tapping it frequently on keyboards other than your MacBook's.
Use PowerKey to restore useful functionality to your Macbook's keyboard!
The release version of PowerKey.app
can be purchased via Gumroad.
https://gumroad.com/l/powerkey
The release version of PowerKey is signed with our DeveloperID, making it easier to run by default on Mac OS X. Purchasing the code-signed release version of PowerKey will allow you to run the app without modifying your Mac's Gatekeeper security settings.
Purchasing PowerKey also supports continued development of the app!
PowerKey can also be installed by cloning this repo and building the app via Xcode.
Your computer will still sleep or shut down if you hold the Power key.
Be careful! PowerKey works best if you use a firm, hard tap to press the power key.
Don't hold the power key. Tap it!
PowerKey remaps your Power key to output one of the key replacements below.
This app does not remap other keys to function as a Power key.
PowerKey cannot be used to remap any keys other than the Power key.
Choose from one of the following Power key replacements.
- Delete (forward)
- No Action
- Delete (backspace)
- Page Up
- Page Down
- Home
- End
- Help
- Clear
- Escape
- Tab
- Return
- Enter
- F13
- Script or Apple Script
Apple has made mode-switching keys such as Caps-Lock and Power somewhat harder to accidentally press:
Mac Notebooks: Caps Lock modified to reduce accidental activation
You must firmly press the key for half-a-tick longer than a normal keypress for it to be recognized.
PowerKey doesn't modify the behavior of holding the power key.
Depending on how long you hold the power key, this may result in your display turning off, the computer going to sleep, or a forced shutdown.
When using PowerKey, be sure to only press the power key with a firm, hard tap.
The Eject key has been replaced by a Power key on the newer Macbook, Macbook Pro, and Macbook Air models that do not feature an optical drive.
But PowerKey does work with the Eject key as well, so you're in luck.
Your laptop's metal Power button (in the chassis) will actually work with this app as well, but it's up to you to decide if that's desirable.
In OS X 10.9 Mavericks, tapping the power key immediately puts the computer to sleep.
This behavior has been corrected in later versions of OS X, so please take the time to upgrade from Mavericks if possible.
If using Mavericks, you will need to run an additional command to enable PowerKey. Please see Issue #14 for more information.
If you have any issues or suggestions, please create a GitHub issue:
https://github.com/pkamb/PowerKey/issues
Photo of Macbook Pro keyboard by Kārlis Dambrāns:
https://www.flickr.com/photos/janitors/10037328385/