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

Ingo Seifert on Grandmas Smoking Weed for the First Time at 11:28
Oluf Lorenzen on IBM Verse :: It could be worse at 13:37
Andrew Magerman on Verse: Die Neuerfindung der E-Mail, according to IBM at 10:48
Harald Gärttner on Verse: Die Neuerfindung der E-Mail, according to IBM at 00:22
Ian Bradbury on Verse: Die Neuerfindung der E-Mail, according to IBM at 00:00
Ian Bradbury on Brands and social media at 23:46
Frank Mueller on Ausflug nach Köln at 20:27
Hubert Stettner on Nigel Stanford :: CYMATICS :: Science vs. Music Nigel Stanford:: CYMATICS :: Science vs. Music at 13:27
Stephan Perthes on Nigel Stanford :: CYMATICS :: Science vs. Music Nigel Stanford:: CYMATICS :: Science vs. Music at 13:20
Ingo Seifert on Verse: Die Neuerfindung der E-Mail, according to IBM at 12:16
Volker Weber on Verse: Die Neuerfindung der E-Mail, according to IBM at 10:35
Christian Henseler on Verse: Die Neuerfindung der E-Mail, according to IBM at 10:13
Ingo Seifert on Verse: Die Neuerfindung der E-Mail, according to IBM at 08:00
Michael Jäckel on Nix klappt. Nur die Tür. at 22:53
Michael Sampson on Use and Adoption of IBM Connections: State of the Market 4Q2014 at 21:13
Christian Henseler on Verse: Die Neuerfindung der E-Mail, according to IBM at 19:41
Ingo Seifert on Ausflug nach Köln at 17:09
Ingo Seifert on Verse: Die Neuerfindung der E-Mail, according to IBM at 17:04
Alex Heller on Ausflug nach Köln at 13:11
Hubert Stettner on Ausflug nach Köln at 11:04
Markus Heyl on Microsoft did not buy all of Nokia at 10:43
Bernd Vellguth on Verse: Die Neuerfindung der E-Mail, according to IBM at 10:29
Lars Berntrop-Bos on Microsoft did not buy all of Nokia at 09:52
Stephan H. Wissel on Microsoft did not buy all of Nokia at 03:33
Volker Weber on Microsoft did not buy all of Nokia at 23:26

Ceci n'est pas un blog

vowe.net is a personal website published by Volker Weber a.k.a. vowe. I am an author, consultant and systems architect based in Darmstadt, Germany.

rss Click here to subscribe

Hello

About me
Contact
Publications
Certificates
Amazon Wish List
Frequently Asked Questions
Follow @vowe on Twitter

Local time is 13:01

visitors.gif

Tip jar

Archives

As most of my articles roll off the front page rather quickly, I am making an archive of previous posts available here. You can also use the handy search box at the top of the page if you are looking for something particular.

Last 30 days
More archives

Mobile tag for this page

© 1992-2014 Volker Weber.
All Rights Reserved.

Impressum