Clear Nonexistant Apps from Finder’s “Open With” Menu on the Mac OS X Tiger and Leopard

February 5, 2008 – 11:03 pm

There is a weird glitch on Mac OS Tiger and Leopard too whereby a ghost icon of un-installed apps remain in Finder’s “open with” list. You reach this menu by navigating to Finder > File > Open With. You can also reach a context menu version of this list by right-clicking (or Command-clicking) on a file you’d like to open.

This little issue can get pretty annoying if you’ve updated an app a few times, each time trashing the old version and installing the new version. You’ll end up with several duplicate versions of the same app in the “open with” list.

Fortunately, there’s an easy fix (although there is a side-effect — see below). Here’s what to do:

If you’re running Tiger (Mac OS X 10.4):

1. Open up Terminal (/Applications/Utilities/Terminal).

2. Copy the following code (all of it), paste it into Terminal, and press Enter:

/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user

If you’re running Leopard (Mac OS X 10.5):

Use the following code instead:

/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user

As mentioned above, there is a smallish side-effect: your file-type associations will be erased, so you’ll have to recreate those.

Here are some other posts dealing with the issue:

  1. One Response to “Clear Nonexistant Apps from Finder’s “Open With” Menu on the Mac OS X Tiger and Leopard”

  2. cool

    By Chuck on Feb 6, 2008