May 09, '03 09:30:00AM • Contributed by: GaelicWizard
defaults write NSGlobalDomain NSUserKeyEquivalents
'{"Quit Safari" = "@Q"; "Preferences..." = "@;";}'
[Enter that on one line, with a space before the single quote that starts the second line above.]
With this command, I disable Command-Q in safari, as per the other hint, but I also make a universal shortcut for the menu item "Preferences..." under the {insertAppNameHere} menu in all Cocoa apps and most Carbon apps. The one I used is Command-semicolon, but you can set it to almost anything. Way cool if you ask me!
