Become a MacRumors Supporter for $25/year with no ads, private forums, and more!

Watabou

macrumors 68040
Original poster
Feb 10, 2008
3,424
753
United States
I've been noticing that I get a lot of duplicate applications when I right click an item and hover my mouse on "Open with".

For example, if I right click a index.html file, and I open up the "Open with" submenu, I get 10 Webkits(!), 2 Safaris and 2 TextEdits. How do I stop this from happening? I was alarmed at the number of instances of Webkit and I deleted it, thinking that was somehow the problem but nope. I still get duplicate items.

Here is what it shows when I right click a text file. You can see there are duplicates. It's very annoying especially if it's some common filetype like an image. I get a very long list.

Edit: Oh and I did a clean install of ML. Even a restart doesn't fix the issue.
 

Attachments

  • Screen Shot 2012-07-24 at 6.39.55 PM.png
    Screen Shot 2012-07-24 at 6.39.55 PM.png
    96.5 KB · Views: 357
Last edited:

Silono

macrumors newbie
Jul 24, 2012
17
0
Any chance you've experimented with folder hard-linking (shot in the dark)? I'd run the mdfind command to check if there are other copies hidden somewhere for some reason.

Code:
mdfind "AppleScript Editor"|grep .app$

change "AppleScript Editor" to whatever you want.
 
Comment

Watabou

macrumors 68040
Original poster
Feb 10, 2008
3,424
753
United States
Any chance you've experimented with folder hard-linking (shot in the dark)? I'd run the mdfind command to check if there are other copies hidden somewhere for some reason.

Code:
mdfind "AppleScript Editor"|grep .app$
change "AppleScript Editor" to whatever you want.

No I haven't and the mdfind command only lists one AppleScript app. I only installed ML two weeks ago so I didn't really tinker with the system.
 
Comment

mindlessmissy

macrumors newbie
Apr 13, 2012
29
0
Yep ...

Yeah, I sometimes get this, usually after I just restored an image backup ...


But the list usually reverts back to normal after a reboot ...


You can try these Terminal commands to reset the list (If you are comfortable with Terminal commands ...)

Code:
cd /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/


and then type:


Code:
./lsregister -kill -domain local -domain system -domain user
 
Comment

ECUpirate44

macrumors 603
Mar 22, 2010
5,750
8
NC
Yeah, I sometimes get this, usually after I just restored an image backup ...


But the list usually reverts back to normal after a reboot ...


You can try these Terminal commands to reset the list (If you are comfortable with Terminal commands ...)

Code:
cd /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/


and then type:


Code:
./lsregister -kill -domain local -domain system -domain user

I have the same issue, but I am not too familiar with Terminal. I am typing the commands and then hitting enter after each one. Is that the process?
 
Comment

Watabou

macrumors 68040
Original poster
Feb 10, 2008
3,424
753
United States
I have the same issue, but I am not too familiar with Terminal. I am typing the commands and then hitting enter after each one. Is that the process?

I wouldn't type it out if you're not familiar with the terminal. Just copy and paste those above commands and then hit enter after each one.

The problem should go away after that.
 
Comment

ECUpirate44

macrumors 603
Mar 22, 2010
5,750
8
NC
I wouldn't type it out if you're not familiar with the terminal. Just copy and paste those above commands and then hit enter after each one.

The problem should go away after that.

I meant i'm copying and pasting them!
This is what my terminal looks like after entering the commands separately pressing enter after each.
Screen Shot 2012-07-27 at 7.47.17 AM.png
 
Comment

stevelam

macrumors 65816
Nov 4, 2010
1,215
3
Yeah, I sometimes get this, usually after I just restored an image backup ...


But the list usually reverts back to normal after a reboot ...


You can try these Terminal commands to reset the list (If you are comfortable with Terminal commands ...)

Code:
cd /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/


and then type:


Code:
./lsregister -kill -domain local -domain system -domain user

awesome. worked perfectly. thanks!
 
Comment

cmChimera

macrumors 601
Feb 12, 2010
4,013
2,895
Yeah, I sometimes get this, usually after I just restored an image backup ...


But the list usually reverts back to normal after a reboot ...


You can try these Terminal commands to reset the list (If you are comfortable with Terminal commands ...)

Code:
cd /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/


and then type:


Code:
./lsregister -kill -domain local -domain system -domain user

Only problem is after reboot, every application is thought to be opening for the first time ever. Any command to revert this back to default?
 
Comment
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.