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

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

Frank Quednau, 2012-11-22

Exactly. The command just resets the data.

Volker Weber, 2012-11-22

Thanks for the tip

joseph djamasi, 2012-11-22

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

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

Volker Weber, 2012-11-22

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

Yes, that makes sense. Thank you, Richard.

Volker Weber, 2012-11-22

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

Recent comments

Sven Thomsen on Viele neue Echos :: Amazon rüstet massiv auf at 07:55
Jonas Rathert on Critical Intel Thunderbolt Software and Firmware Updates - ThinkPad at 12:29
Manfred Wiktorin on Beats Solo Pro with ANC at 10:33
Tim Bellinghausen on Losing your laptop at 10:17
Andreas Kurtz on Losing your laptop at 08:28
Philipp Haun on Losing your laptop at 06:40
Volker Butterstein on Share music on two headphones from iPhone at 06:36
Maximilian von Hulewicz on Beats Solo Pro with ANC at 11:18
Maximilian von Hulewicz on Google Pixel 4 vorgestellt at 11:17
Felix Binsack on Beats Solo Pro with ANC at 10:54
Volker Weber on Beats Solo Pro with ANC at 23:33
Adrian Woizik on Beats Solo Pro with ANC at 23:08
Volker Weber on Beats Solo Pro with ANC at 22:42
Adrian Woizik on Beats Solo Pro with ANC at 22:40
Enrico Lippmann on Google Pixel 4 vorgestellt at 14:40
Felix Binsack on Beats Solo Pro with ANC at 13:23
Volker Weber on Beats Solo Pro with ANC at 09:02
Johannes Matzke on Beats Solo Pro with ANC at 09:00
Thomas Cloer on Google Pixel 4 vorgestellt at 08:17
Volker Weber on Fritz!Fon C4, C5 und C6 :: Stuff that works at 20:08
Maik Endler on Fritz!Fon C4, C5 und C6 :: Stuff that works at 20:05
Andreas Krümmel on Fritz!Fon C4, C5 und C6 :: Stuff that works at 11:36
Hubert Stettner on Fritz!Fon C4, C5 und C6 :: Stuff that works at 11:24
Eric Bredtmann on Fritz!Fon C4, C5 und C6 :: Stuff that works at 07:53
Volker Weber on Fritz!Fon C4, C5 und C6 :: Stuff that works at 23:17

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 05:12

visitors.gif

buy me coffee

Paypal vowe