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

Stephan Perthes on Sales Wick :: Vuelo Nocturno at 09:30
Dietmar Dumke on IBM Think 2018 at 06:38
Stephan H. Wissel on IBM Think 2018 at 02:48
Gordon Inkson on Is Slack a product or a feature? at 03:22
Ian Bradbury on Is Slack a product or a feature? at 17:36
Keith brooks on Is Slack a product or a feature? at 15:23
Bill Brown on Samsung Galaxy S8 :: The verdict at 18:57
Richard Schwartz on Samsung Galaxy S8 :: The verdict at 16:01
Andy Dennis on Is Slack a product or a feature? at 16:00
Karl Heindel on Marshall Monitor BT at 15:32
Martin Funk on Is Slack a product or a feature? at 15:02
Volker Weber on Marshall Monitor BT at 11:25
Karl Heindel on Marshall Monitor BT at 11:21
Michael Klüsener on Is Slack a product or a feature? at 09:14
Patrick Bohr on Is Slack a product or a feature? at 19:56
Frank Quednau on Is Slack a product or a feature? at 18:02
Thomas Klein on Samsung Galaxy S8 :: The verdict at 15:46
Volker Weber on Samsung Galaxy S8 :: The verdict at 11:34
Patrick Bohr on Samsung Galaxy S8 :: The verdict at 08:51
Felix Binsack on Samsung Galaxy S8 :: The verdict at 16:49
Volker Weber on Samsung Galaxy S8 :: First impressions at 14:01
Volker Weber on Marshall Monitor BT at 13:59
Scott Hanson on Marshall Monitor BT at 13:23
Norbert Tretkowski on Samsung Galaxy S8 :: First impressions at 09:44
Volker Weber on Marshall Monitor BT at 19:50

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
Amazon Wish List
Frequently Asked Questions

rss feed  twitter  instagram

Local time is 10:15

visitors.gif