Restore Command-Shift-L to 'Open URL' service

Apr 20, '04 10:29:00AM

Contributed by: lud.wig

With the release of 10.3, the command-shift-L keyboard shortcut was removed from the "Open URL" service and reassigned to Safari's "Search With Google" service. Here's how to change it back. Open Safari.app's Info.plist file (control-click on Safari, select Show Package Contents, open Contents, open Info.plist with Property List Editor or TextEdit (if you don't have the Developer Tools installed)). Once open, remove Root:NSServices:0:NSKeyEquivalent, or change the value of its child "default" from L to something else. Save and close the file.

Open /System -> Library -> CoreServices -> SystemUIServer.app -> Contents -> Info.plist and add NSKeyEquivalent as a child of NSServices:0 with class Dictionary. Add "default" as a child of NSKeyEquivalent, class String, value L (or whatever you want the command-shift shortcut to be -- you don't have to specify command-shift).

Unless you're running as root, you'll have to save this Info.plist elsewhere and then authenticate to copy it back into SystemUIServer.app/Contents. Log out and in and there you go. Command-Shift-L will now open URLs with their default protocol handlers.

[robg adds: You should probably back up Safari before you try this, just in case you make an editing error of some sort...]

Comments (4)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20040416191600412