Duplicate Entries using 'Open With' on OS X

Posted by: Paul Rayner on January 2, 2013

I noticed today on my MBP running Mountain Lion that using “Open With” (control+click on a file in Finder) showed duplicate entries for the file.

I’m unsure as to what I did that caused this problem to happen, though a recent thread on Apple Support Communities indicates it has something to do with clone images. I recently updated XCode through the App Store, and now have a duplicate entry for XCode when I do “Open With,” so perhaps it’s happening when I update an application.

As one of the responses in the thread suggested, the solution for me was to run the following command in my Terminal window:

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

I didn’t need to logout. I just relaunched Finder (control+option+click on Finder icon in the Dock) and the problem went away.

Paul Rayner

About Paul Rayner

Paul is a seasoned design coach and leadership mentor, helping teams ignite their design skills via Domain-Driven Design (DDD) and Behavior-Driven Development (BDD). He gets teams unstuck through intensive coaching workshops and hands-on pair programming, combined with focused one-on-one leadership mentoring. His company Virtual Genius, provides training and coaching in collaborative design for agile teams. Paul actively serves the community: teaching classes in BDD and DDD, contributing to OSS, and co-leading the DDD Denver Meetup group.

Look for him speaking at user groups and at local and international conferences. Paul is from Perth, Australia, but chooses to live, work and play with his wife and two children, in Denver, Colorado. He tweets with an Australian accent at @ThePaulRayner and blogs at thepaulrayner.com