Web/database development and more...
« Parallels Desktop 7 with Retina resolution - FAIL! (Screenshots)Live HTTP Header tracking for Firefox »

Mac OS X Lion: How to clean up the 'Open With' menu


Mac OS X Lion: How to clean up the 'Open With' menu

  07:17:00 pm, by fplanque   , Categories: Mac stuff

When you right-click (or control-click) on a file in the Mac OS X Finder, you get a contextual menu with a nice “Open With” option, which lets you open the selected file with any Application that you desire to.

That is pretty nice until that menu gets all clogged up with all sorts of old/broken apps that you don’t use any more.

Due to some caching mechanism, it seems that this menu never cleans itself up :/

So here is how to reset it:

  1. Open a Terminal window (by running the “Terminal” Application)
  2. Copy/paste the following command: (all on one line)


    /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user
  3. Click on the Finder icon and relaunch the Finder (or log out and log in again)

Your ‘Open width” menu will now be all clean… and will start to fill up again as you run/install apps that register themselves there…


Comment from: JM Cheng [Visitor]
JM Cheng

I’ve looking for solution to exactly this problem and the solution presented here works!

09/06/12 @ 16:21
Comment from: Dan Walker [Visitor]
Dan Walker

Spot on, thanks very much!

10/15/12 @ 02:47
Comment from: larrycz [Visitor]

Works perfectly on Mountain Lion. Thanks for the tip!

11/04/12 @ 09:40
Comment from: Shamim Rahman [Visitor]
Shamim Rahman

Awesome! Worked like a charm! Many thanks
[Mountain Lion]

12/22/12 @ 22:14
Comment from: dinho -spm- [Visitor]  
dinho -spm-

works like a charm, thanks bro

01/07/13 @ 12:41
Comment from: thefourthpope [Visitor]

Thanks! Easy and it works

01/23/13 @ 15:05
Comment from: Neil [Visitor]

Worked a treat thanks!

01/29/13 @ 16:08
Comment from: Jeff Chen [Visitor]
Jeff Chen

Nice !!!

04/27/13 @ 20:20