PDA

View Full Version : Duplicated entries in Open With




lordthistle
Feb 26, 2013, 09:51 AM
I have some duplicated entries in the list of programs that appears when I right-click on an item in the Finder and choose "Open with". See attached screenshot (TeXShop, Textwrangler - they correspond to the same app file).

Is there anyone who knows how I can remove the duplicated entries?



mrapplegate
Feb 26, 2013, 10:04 AM
I have some duplicated entries in the list of programs that appears when I right-click on an item in the Finder and choose "Open with". See attached screenshot (TeXShop, Textwrangler - they correspond to the same app file).

Is there anyone who knows how I can remove the duplicated entries?

Enter this command in terminal
sudo /System/Library/Frameworks/CoreServices.framework/Versions/Current/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user

You might have to also type Killall Finder after running the above command, I forget if it is needed or not. It can't hurt anything so type it just to be sure :-)