Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Guntis

macrumors member
Original poster
Apr 29, 2004
50
0
Riga, Latvia
Today I found that I have multiple entries of the same programs in Finder's Open With contextual menu. For example:

Open With >
CocoTumbX
CocoTumbX
CocoTumbX
CocoTumbX
ColorSync Utility
ColorSync Utility
ColorSync Utility
ColorSync Utility
Firefox
Firefox
Preview
Preview
Preview
Preview
QPict
QPict
QPict
QPict
QPict
QPict
RealPlayer
RealPlayer
RealPlayer
RealPlayer
RealPlayer
RealPlayer
RealPlayer
RealPlayer

etc.
How to get rid of these multiple items while preserving each program to be listed once? Thanks in advance!
 
I have a similar problem although not as extreme as yours! I only get doubles of QuickTime Player, TextEdit and Safari (and I only have one copy of those applications on my Mac...)
 
MR member "yellow" directed me to this thread Thanks :) and i would like to know why this happens in the first place? is there anyway to make it not happen again in the future?
 
I think it happens every time I clone my "Macintosh HD" hard drive to the external LaCie hard disk. After that all applications start to double. Clone again and they will triple... I just reported this issue to Apple. Can we all do that? Maybe they will hear our plea for help...

Actually this is the script which I use now:

/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -f -domain local -domain system -domain user "/Applications"

And I sent message to the SuperDuper! developer - here's what he replied:

You can automate the process with an "after-copy" shell script (in Advanced Options). You'd create a plain text file with:

#!/bin/sh
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -f -domain local -domain system -domain user "/Applications"


(two lines). Save that as "RebuildLaunchServices.sh" (directly in your Home folder root), and then, in terminal, turn on its execute bit:

chmod +x RebuildLaunchServices.sh

Then, set that as the "After copy" shell script.
--
Dave Nanian
Shirt Pocket
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.