您可以使用Karabiner(以前称为KeyRemap4MacBook)来重新映射弹出键。除非您同时安装NoEjectDelay,否则短按的弹出按钮不会被注册。
此private.xml将弹出键映射到电源按钮或键:
<?xml version="1.0"?>
<root>
<item>
<name>test</name>
<identifier>test</identifier>
<autogen>__ConsumerToKey__ ConsumerKeyCode::EJECT, KeyCode::VK_IOHIDPOSTEVENT_NX_POWER_KEY</autogen>
</item>
</root>
这使得按下弹出打开Finder:
<?xml version="1.0"?>
<root>
<vkopenurldef>
<name>KeyCode::VK_OPEN_URL_FINDER</name>
<url>file:///System/Library/CoreServices/Finder.app</url>
</vkopenurldef>
<item>
<name>Eject to Open Finder</name>
<identifier>Eject to Open Finder</identifier>
<autogen>__ConsumerToKey__ ConsumerKeyCode::EJECT, KeyCode::VK_OPEN_URL_FINDER</autogen>
</item>
</root>