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?

Chris Lindley, 2012-11-22 11:10

How does such a thing happen? When you upgrade the software?

Frank Quednau, 2012-11-22 11:19

Exactly. The command just resets the data.

Volker Weber, 2012-11-22 11:26

Thanks for the tip

joseph djamasi, 2012-11-22 13:11

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.

John Keys, 2012-11-22 14:20

The more you tinker, the more you have to tinker.

Volker Weber, 2012-11-22 14:21

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

Richard van Geilswyk, 2012-11-22 15:17

Yes, that makes sense. Thank you, Richard.

Volker Weber, 2012-11-22 17:15

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.

Chuck Howe, 2012-11-26 23:25

Recent comments

Stefano Benassi on DNUGcomes2me at 13:10
Oliver Regelmann on Notes/Domino: Neues Leben für die Kollaborationsplattform at 22:54
Stuart McKay on DNUGcomes2me at 22:10
Hubert Stettner on Lindt :: Oh yeah at 20:20
Volker Weber on Notes/Domino: Neues Leben für die Kollaborationsplattform at 16:30
Markus Dierker on Notes/Domino: Neues Leben für die Kollaborationsplattform at 16:21
Mark Barton on DNUGcomes2me at 14:37
Lutz Haller on DNUGcomes2me at 14:08
Volker Weber on Lindt :: Oh yeah at 11:52
Andrew Magerman on Lindt :: Oh yeah at 11:02
Lars Berntrop-Bos on Lindt :: Oh yeah at 08:32
Ragnar Schierholz on Lindt :: Oh yeah at 22:42
Stephan H. Wissel on DNUGcomes2me at 17:34
Volker Weber on DNUGcomes2me at 12:05
Henning Heinz on DNUGcomes2me at 10:01
Markus Dierker on DNUGcomes2me at 08:21
Axel Koerv on #dnug45 im darmstadtium at 19:52
Volker Weber on Elgato Eve Flare :: Erste Eindrücke at 19:18
Thomas Cloer on Elgato Eve Flare :: Erste Eindrücke at 17:34
Jochen Kattoll on Sonos, AirPods, Plantronics. Und Podcasts. at 12:40
Stephan Perthes on Elgato Eve Flare :: Erste Eindrücke at 10:49
Oswald Prucker on #dnug45 im darmstadtium at 10:17
Volker Weber on #dnug45 im darmstadtium at 09:44
Ingo Spichal on #dnug45 im darmstadtium at 09:14
Hendrik Brunn on Elgato Eve Flare :: Erste Eindrücke at 23:23

Ceci n'est pas un blog

I explain difficult concepts in simple ways. For free, and for money. Clue procurement and bullshit detection.

vowe

Contact
Publications
Stuff that works
Amazon Wish List
Frequently Asked Questions

rss feed  twitter amazon

Local time is 02:26

visitors.gif

buy me coffee