How to edit resource files for hotkey standardization in OS X
Friday, March 2nd, 2007In my last post, I briefly mentioned that I modify hotkeys for my applications in OS X. If you have ever wondered how to do this, it is quite easy assuming the item you want to create a hotkey for is in the main menu of the application. If it is in the main menu (File, Edit, View, Help, etc.) the file you’ll edit is usually called MainMenu.nib.
There is one caveat to this process. You’ll have to have the Xcode developer tools installed. I don’t know a way around this, but as a power user you should probably have this installed anyway so you can compile programs and do other nifty things.
- To begin, right click the application you want to modify and select “Show Package Contents.”
- Navigate through the Contents, Resources, and English.lproj folders.
- Double click MainMenu.nib. It should have a pretty icon. If it doesn’t you don’t have Xcode installed.
- Double click the MainMenu icon in the Instances tab that comes up and you’ll now see the menu as it appears in your toolbar in OS X.
- And you’re done! You can navigate through the menu and double click any hotkey to replace it with something else. Just remember not to set two hotkeys to do the same thing! You’ll confuse yourself and your computer.

- Oh, and don’t forget to save before you quit.

