Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any way to purge specific applications from the Finder's "Open With" menu? Mine is cluttered with all sorts of applications I'd never choose to open HTML files with (Word, Calibre, all sorts of undesirables; see image). I know there're various tricks to remove duplicates or uninstalled applications, but I'd just like to prune.

Failing that, is there a way to move an app higher in the list (I'd like Sublime Text 2 higher up the list), or simply to bypass the menu and open the file in the two applications I'm actually interested in opening it with (Sublime and Chrome, essentially).

Running 10.7 Lion, if applicable.

share|improve this question

You can for example open /Applications/ and remove entries from the CFBundleDocumentTypes array. To apply the changes, run sudo touch /Applications/ or /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -f /Applications/ and relaunch Finder.

If the application is signed, it invalidates the code signature. And since 10.8 some applications like TextEdit and Chess have crashed on launch if the Info.plist has been modified.

share|improve this answer

This might do the trick. Under ~/Library/Preferences you'll find a file called This file lists the preferred applications to open with for the different formats.

Opening the file with an editor such as TextMate should let you edit the associations.

share|improve this answer

Never say never. You can do that (albeit manually from the command line) with a CLI called lsregister - /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister. It can be used to either register launchers or unregister there. -dump will show you all the present associations, and -unregister can be used to selectively remove.

share|improve this answer
lsregister -f -u /Applications/ only removes the application temporarily. The application gets registered again when it is opened. – user495470 Mar 6 '13 at 18:47

You can't do that. It used to be possible, using something like Open-With Manager, but changes in 10.7 prevented this from working. I've not seen any other hacks to do this since.

share|improve this answer

RCDefaultApp can do it and it has a nice GUI. See this blog post for a quick explanation of how to use RCDefaultApp

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.