How to remove duplicate entries from the Finder "Open with" menu
by Volker Weber
Open Terminal and run this command (that is one line):
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user
Relaunch the Finder with a Ctrl-Option-Click on the Finder icon in the Launchbar.
Comments
I've got three "evernotes" in there too! What are they playing at?
How does such a thing happen? When you upgrade the software?
Exactly. The command just resets the data.
Thanks for the tip
It's not only when you upgrade software, that you get more entries. And it happens for all apps, not just for one like in vowe's screenshot. Sometimes it just happens for no apparent reason.
Up till now, I have used TinkerTool System to get rid of the excess entries, but the command is way more convenient.
I do wonder what the normal user does when this happens, but perhaps if you don't play with the system as much as I do, it doesn't happen as often.
The more you tinker, the more you have to tinker.
Volker,
I would suggest appending '&& killall Finder' to the Terminal command. It will relaunch the Finder right from the Terminal after removing the duplicates. The full command would be:
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user && killall Finder
Yes, that makes sense. Thank you, Richard.
A safe boot (press and hold shift key during boot) does the same work and more beneficial services as checking the disk and clearing font and other caches.
I have the lsregister sequence in a shell-script, but find myself leaning towards the safe boot for its other additional benefits.
Post a comment
Recent comments
Thomas Gumz on This account isn't dead. It's resting. at 00:07
Volker Weber on Leading at 22:55
Volker Weber on Leading at 22:53
Scott Hanson on Leading at 22:48
Volker Weber on Leading at 20:39
Chris Whisonant on Leading at 20:37
Volker Weber on Leading at 20:36
Chris Whisonant on Leading at 20:25
Volker Weber on Leading at 20:20
Chris Whisonant on Leading at 20:16
Volker Weber on Leading at 19:59
Chris Whisonant on Leading at 19:32
Volker Weber on This account isn't dead. It's resting. at 19:11
Thomas Gumz on This account isn't dead. It's resting. at 18:45
Harald Wolf on Testing BB10 at 09:08
Scott Hanson on Leading at 06:43
Volker Weber on Leading at 00:37
Darren Adams on Leading at 00:35
Tobias Mueller on New luggage at 21:24
Torben Volkmann on IBM being social at 20:23
Jürgen Gabel on Testing BB10 at 17:20
Boudewijn Kiljan on It's actually quite easy at 12:57
Ingo Seifert on Don't update the Windows Phone YouTube app at 12:48
Ingo Seifert on Ignorance is bliss at 12:45
Dragon Cotterill on It's actually quite easy at 12:30


