How to Remove Duplicate Entries from OS X’s “Open With” Menu

| MGG Answers

Question:

Mark writes: Over the years, I’ve installed version updates for many apps on my Mac, but now I seem to have collected a huge list of out-of-date versions. When I right-click (or Control-click) on a file and choose “Open With,” I see a long listing of every version of every app that could possibly open the file.

How can I fix this problem and remove the outdated entries?

Mac Geek Gab Answers Fix Mac OS X Open With Menu

Answer:

The “Open With” menu is powered by the LaunchServices database in OS X. You can fix issues with the list by either deleting the LaunchServices preference file or resetting it.

To delete the LaunchServices preference file quit all open apps and navigate to [home]/Library/Preferences.

Apple has hidden access to the user’s Library folder starting with OS X 10.7 Lion, so either run a terminal command to restore its visibility, hold down “Option” when selecting the Finder’s “Go” menu, or manually navigate to the folder by typing the destination into Finder > Go > Go to Folder (Shift-Command-G).

Once you’re in the user Preferences folder, locate com.apple.LaunchServices and delete it. Then reboot your Mac. Your LaunchServices preference file will now be rebuilt and only current versions of apps will be listed in the “Open With” window. Note, however, that you may need to launch an app first before it will appear in the list if it is not a default application for a particular file type.

The second option is to reset LaunchServices, which can be easily done with the free tool OnyX. If you haven’t used it before, OnyX simplifies and automates a plethora of maintenance tasks in OS X. Just be sure to grab the proper version for your specific operating system.

Onyx Fix Open With Menu

In OnyX, go to Maintenance > Rebuild > LaunchServices to rebuild the LaunchServices database. Make sure the box next to "LaunchServices" is checked and then press "Execute." As we suggested above, make sure to reboot after this process is complete.

Alternatively, you can reset LaunchServices yourself without OnyX by using Terminal. If you’re running OS X 10.5 or later, launch Terminal from the /Applications/Utilities folder and enter the following command:

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

Again, reboot your Mac after the command has been processed.

This question was originally answered on

About MGG Answers:

Each week Dave Hamilton and John F. Braun provide some great troubleshooting advice to listeners of the Mac Geek Gab podcast. Here with MGG Answers we share some of those tips with the rest of the world!

Sign Up for the Newsletter

Join the TMO Express Daily Newsletter to get the latest Mac headlines in your e-mail every weekday.

Comments

droid

It’s worth unplugging all your external or internal disks when you rebuild the launch services db. Otherwise you can get entries from the other disks, usually backup disks that have clones or older versions of apps.

iJack

Rebuilding/deleting Launch Services is a pain in the ass for those of us who have gone through over time, and set up a bunch of different file types to open with non-standard apps.

iJack

You have to go back one file type at a time, search for the app and “change all.”

Jan

I could not locate the file “com.apple.LaunchServices”.  I held the option key and navigated to the folder, then typed in the filename.  No luck.  I tried downloading Onyx, but Apple won’t let me run it as I did not get it from the App Store.

Log-in to comment