Mac instructions: Remove duplicate entries in the "Open with" menu

After the topic is in Sir Applerot Forum came up, we want to show you here in the blog how you can remove duplicate entries from the "Open with" menu under macOS. Unfortunately, this does not work directly by right-clicking a file on the Mac to delete an open-with entry. Apps can only be selected in the menu to be opened. However, if some appear several times (e.g. in different versions), this is annoying and quickly becomes confusing. In the following you will find three ways to remove duplicate apps from the “Open with” overview of files on a Mac.

Option 1: Delete duplicate Open with entries with the terminal

If you have several versions of Safari, the PDF Expert App, graphics apps or other programs in the context menu of a file to be opened, you can solve the problem via the Port to solve. You don't need any programming knowledge or a lot of experience with entering commands on the Apple Mac. Just follow this step-by-step guide:

  1. Open the terminal (via the Spotlight search, Utilities folder, Launchpad, etc.)
  2. Enter this command and confirm it with Enter:
    /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user
  3. Then enter this command and confirm it with Enter:
    killall Finder
  4. Now try right-clicking on the file; the context menu should be cleaned up
  5. If there is still no change in "Open With", the Mac will restart
You can remove duplicate entries in the “Open with” menu on the Mac under macOS, for example by entering the terminal.

You can remove duplicate entries in the “Open with” menu on the Mac under macOS, for example by entering the terminal.

Option 2: Manually delete the LaunchService file

If you can't get used to the terminal, that's not a problem. Instead of the above procedure, you can simply delete the file responsible for the Open With menu from macOS so that the Mac is forced to create it again. Old, overwritten and / or deleted versions of apps are then no longer included. The whole thing works like this:

  1. Opens the Finder, e.g. via the Finder icon in the dock
  2. Hold that Alt key (option / ⌥) and click in the menu bar Go to
  3. Now click on in the dropdown menu Library (then you can release the Alt key)
  4. Now searches for the file in the folder that opens com.apple.LaunchServices.plist and delete them
  5. Closes all programs and removes the file from the Trash

If the desired change has not yet occurred, the Mac will restart. Then the duplicate entries in the "Open with" menu should have disappeared. By the way, what a plist file is and what you can do with it, you can find out in this post: What are plist files on Mac and can I delete and convert them?

Option 3: Clean up the macOS system with OnyX

We have the OnyX app for the Apple Mac for you already presented three years ago. But even today she can help you. Depending on the version you're using, the process can be a little different. However, if you have given the app the necessary permissions in macOS, proceed as follows to remove duplicate entries in the open with menu:

  1. Open the OnyX App and in it the "Optimize" area
  2. Remove all ticks except for "Rebuild: Launch Services Database"
  3. Click on "Execute" and wait until the process is finished
In addition to using the terminal and manually removing files, you can also delete duplicate entries in the “Open with” menu with the free OnyX app. When downloading, make sure to load the correct version for your macOS version;)

In addition to using the terminal and manually removing files, you can also delete duplicate entries in the “Open with” menu with the free OnyX app. When downloading, make sure to load the correct version for your macOS version;)

You can find more information about OnyX, the link to the free download from the developer page and tips for installation and use in the post linked above. If you have any questions on the topic, you are welcome to leave a comment or register in the Sir Apfelot forum, where numerous Mac and other Apple topics are already being discussed.

-

Did you like the article and did the instructions on the blog help you? Then I would be happy if you the blog via a Steady Membership or at Patreon would support.

Leave a Comment

Your e-mail address will not be published.