Right-click open with... showing duplicate apps?

Discussion in 'Mac Pro' started by Morisato, Jun 24, 2010.

  1. Morisato macrumors member

    Joined:
    Feb 10, 2008
    #1
    I recently installed snow leopard to a new hard drive. Before I formatted the hard drive with leopard on it, there was duplicate everything when I right clicked and used open with, but after I formatted the old drive, most of them disappeared... except for one. Right now, I'm seeing two VLC players and I don't know why. I tried opening a file with each of them and they both point to the same VLC so I was wondering how I can remove the duplicate. Anyone know?
     
  2. xgman macrumors 601

    xgman

    Joined:
    Aug 6, 2007
    #2
    This should be moved to the OSX forum, but:

    Resetting the 'Open With' Menu

    Resetting the 'Open With' menu will remove duplicates and ghost applications (ones you have deleted) from the list. You reset the 'Open With' menu by rebuilding the Launch Services database your Mac maintains. There are multiple ways to rebuild the Launch Services database, including third-party system utilities like Cocktail and Onxy.

    If you don't own a system utility that can rebuild the Launch Services database, don't worry; you can perform the rebuild yourself using Terminal.
    Using Terminal to Rebuild the Launch Services Database

    Launch Terminal, located at /Applications/ Utilities/.

    For OS X 10.5.x and later, enter the following at the Terminal prompt:

    /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user

    For OS X 10.3.x - 10.4.x, enter the following at the Terminal prompt:

    /System/Library/Frameworks/ApplicationServices.framework/\Frameworks/LaunchServices.framework/Support/lsregister \-kill -r -domain local -domain system -domain user

    The above is one command and is entered on a single line. You can simply copy/paste the above command into Terminal, then press Return/Enter to execute the command.

    The rebuild process can take a minute or two. Once the Terminal prompt returns, you can quit Terminal.

    Now when you use the 'Open With' menu, you should see an application list that's limited to the applications currently installed on your Mac, with no duplicates or ghosts.
     
  3. Morisato thread starter macrumors member

    Joined:
    Feb 10, 2008
    #3
    I already tried that. It's not a ghost because both VLC programs are valid links... they're just linked to the same application.
     
  4. Morisato thread starter macrumors member

    Joined:
    Feb 10, 2008
    #5
    I just used cocktail to fix it and it worked.
     
  5. rugbyspartan macrumors newbie

    Joined:
    May 1, 2005
    #6
    I'm having a some what related issue, so thought I'd see if anyone had any suggestions. When I right click on a file and use my mouse to navigate to open with, I see all the application choices once. However, when I right click on a file and use my keyboard arrows to move to the open with menu, I see the entire menu multiple times (image below). Any ideas?

    I've deleted my launch services plist file, in addition to rebuilding launch services through cocktail, without any success.
     

    Attached Files:

Share This Page