If you usually open some files / documents in OS X by right-clicking and choosing the option “Open With” (“Open With”), you may have come across an image similar to this one:
Did you notice the duplicate items? Yeah. I use this form a lot because sometimes I like to open an image file in Preview (Preview); others, in Pixelmator. The same is true with video files: from time to time I want to use QuickTime; others, VLC.
But why does OS X duplicate or even not show the icons of some apps in that menu? This is caused by some corruption of the LaunchServices. This problem can also originate in virtual machines (VMware or Parallels), which leave traces of uninstalled applications. In other words, we are talking about a system bug that, according to Wheat Williams, Apple is already aware of – the problem is registered as Bug ID # 11582257 in the Apple Bug Reporter.
To resolve this, the database LaunchServices it necessarily needs to be rebuilt. And even those who are not familiar with the Terminal (Applications / Utilities /) can follow this tutorial by Cory Bohon, from MacLife.
Check it out:
- Open the Terminal.
- If you are using OS X 10.5 or higher, copy and paste the command below into Terminal:
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user
- Press Enter / Return.
- Wait for your username to appear followed by $ (in my case, Eduardo $).
- Close the Terminal.
- Close the Finder window if it is open.
There, problem solved!
It is worth noting, however, that if you are using older versions of OS X, such as 10.3 (Pather) or 10.4 (Tiger), you need to replace the command in step 3 with this one:
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user
Hope this helps. ?
[via Daring Fireball]