Mac Eject Key for External Disk Drive

Apple keyboards have an eject key in the upper right corner that works with built-in Mac DVD drives. If you have a new Mac Mini without an optical drive, you might want to use a 3th party external disk drive. The problem is that the eject key doesn’t work for these drives.

Thanks to tjb1 at MacRumors who gave instructions on how to make the eject key work.

  1. Download and install KeyRemap4Macbook. Restart is required for use.
  2. Open System Preferences > KeyRepma4Macbook
  3. Make sure you are on the “Change Key” menu and click in the search bar in KeyRemap4Macbook, not the search for System Preferences.
  4. Type “eject” in the search bar and check the box next to “Eject to Command+Control+Option+Shift+E”
  5. Exit System Preferences and open Automator.
  6. Choose the template “Service” and hit “Choose” at the bottom right.
  7. In the search bar at the top left, type “Run Shell Script”
  8. Drag “Run Shell Script” from the left to the Workflow Area.
  9. At the top above “Run Shell Script” click the arrows next to “Service receives selected text” and pick “no input” at the bottom of the list.
  10. Next delete “cat” from the Shell Script and type this “drutil eject”
  11. While in Automator go File > Save As > Eject
  12. Close Automator and open System Preference > Keyboard > Keyboard Shortcuts
  13. In Keyboard Shortcuts choose Services in the left box.
  14. In the right, scroll down to “General” and you should see “Eject” listed.
  15. Make sure the box beside “Eject” is checked and double click on the right side, left of the scroll bar. This should open text box where you hold down Command+Control+Option+Shift+E. This will enter those keys as shown here.
  16. Restart the operating system.
  17. Close System Preferences and the Eject key should now eject your external cd/dvd/blu ray drive.

 

3 Replies to “Mac Eject Key for External Disk Drive”

  1. Followed this tutorial to the letter and managed to rip the fan connector apart when told to “pull forward, towards us to remove.” This is not how you remove the fan, it must be popped up with a plastic spatula. Thanks for that, you just cost me £50 for a new fan.

  2. This says “keyremap4macbook” which means it is 4 (for) MacBook. Will this work if I have the new version of the Mac mini. It doesn’t have any internal DVD drive or anything, so I connected an external bluray drive. Do you think it will work. I don’t want to try anything until its clear. I have wireless apple keyboard and trackpad connected with clique, and want to use the eject button like normal.

Leave a Reply

Your email address will not be published. Required fields are marked *

*