Skip to content

Remove duplicates in the “Open with” menu

OS X, like all operating systems, is not perfect, there are some errors that sometimes are somewhat uncomfortable as for example when going to the menu “Open with” from any file, which may appear duplicate applications, even more than twice. In today’s trick of the week we’re going to see how to eliminate this problem using the Terminal application.

There are certain things about OS X that don’t convince me, for example the fact that you don’t need an uninstaller of applications because “just sending them to the trash will work” and you have to download third-party applications to be able to remove all the files that are not in the main application package.

Remove duplicates in the “Open with” menu
Remove duplicates in the “Open with” menu

Today we’re going to try another OS X bug, this one is a bit less important, but there may be people who want to remove it in order to have a cleaner operating system: remove duplicate applications in the “Open with” menu. In the screencast we will see the steps to follow to do this.

As we have seen, in order for the menu to be clean we will have to open Terminal and paste that code:

SystemLibraryFrameworksCoreServices.frameworkVersionsAFrameworksLaunchServices.frameworkVersionsASupportlsregister -kill -r -domain local -domain user;killall Finder;echo "Open With has been rebuilt, Finder will relaunch"

If we want to create a direct command we'll have to paste this one:

alias fixow='SystemLibraryFrameworksCoreServices.frameworkVersionsAFrameworksLaunchServices.frameworkVersionsASupportlsregister -kill -r -domain local -domain user;killall Finder;echo "Open With has been rebuilt, Finder will relaunch"'

When we have completed the process (the second step is optional) we will have our menu cleared of duplicate applications.

Post your opinion using your Facebook account.