How to disable CMD + E to eject

keyboardshortcut-menu

I have a MacBook Air, I want to disable the CMD+E keyboard shortcut to eject because I want to assign it to another application and I really don't need to eject anything as I don't have a CD drive.

I've searched in the keyboard preference but that shortcut is not there.

Any ideas?

Best Answer

You can use Karabiner with a private.xml such as this:

<?xml version="1.0"?>
<root>
  <item>
    <name>Disable ⌘E</name>
    <identifier>DisableCMDE</identifier>
    <autogen>
      __KeyToKey__
      KeyCode::E, VK_COMMAND | ModifierFlag::NONE,
      KeyCode::VK_NONE
    </autogen>
  </item>
</root>