Get Rid Of Open With… Right-Click Menu Duplicates [OS X Tips]

By

Get Rid Of Open With Duplicates

Tired of right-clicking (control-click or two-finger click on trackpads) on a file and seeing a ton of duplicates in the Open With… contextual menu pop up? Not only is it aesthetically annoying, it takes up valuable real estate on smaller screens, and makes you move your mouse cursor more than you should, which could lead to repetitive-stress injuries. Or, you know, a tired finger or three.

Anyway, if you want to get rid of those duplicates, try the following.

Launch Terminal app from your Utilities folder or Dock, and enter the following command:

/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain user;killall Finder;echo "Open With has been rebuilt, Finder will relaunch"OR

You want to be sure you copy and paste that whole command there, from the /System to the relaunch"OR to be sure you get it right. It could take a bit of time, depending on how many apps you have that you can Open With, er, with.

If successful, you’ll get the following message:

Open With has been rebuilt, Finder will relaunchOR

Now right click on a file, and it’ll be all nice and pretty, with nary a duplicate entry to be found. Pretty slick! This should work with pretty much every version of OS X, but let us know if it doesn’t in the comments below.

Via: OS X Daily

Newsletters

Daily round-ups or a weekly refresher, straight from Cult of Mac to your inbox.

  • The Weekender

    The week's best Apple news, reviews and how-tos from Cult of Mac, every Saturday morning. Our readers say: "Thank you guys for always posting cool stuff" -- Vaughn Nevins. "Very informative" -- Kenly Xavier.