PDA

View Full Version : Annoyed with 'Open with'




LorenzMeir
May 18, 2013, 04:00 PM
Hi

I'm a little bit annoyed with the 'open with' menu in the finder app, multiple applications show up duplicate when I click this option...
Just curious what could cause this it's not that I can't live with it but I like my Apple devices neat :)

Thanks



simsaladimbamba
May 18, 2013, 04:05 PM
Overflowing Open With: Remove Duplicate Applications From the 'Open With' Menu (http://macs.about.com/od/usingyourmac/qt/remove-duplicate-applications-from-open-with.htm), found via "mac multiple open with (http://www.google.com/search?q=mac%20multiple%20open%20with&ie=utf-8&oe=utf-8)"

shwc
May 18, 2013, 04:06 PM
use onyx (or terminal) to rebuild launch services to get rid of the duplicates.

jameslmoser
May 18, 2013, 04:06 PM
I have been annoyed with this for years! I'm still not positive exactly what causes it, but I know how to fix it. From Terminal run:

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

Then restart Finder:

killall Finder

That should eliminate the duplicates.

maflynn
May 18, 2013, 04:22 PM
I have been annoyed with this for years! I'm still not positive exactly what causes it, but I know how to fix it. From Terminal run:

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

Then restart Finder:

killall Finder

That should eliminate the duplicates.

I keep this handy as it crops up on me, particularly when I attach external disks to my computer.

Partron22
May 18, 2013, 05:08 PM
A little AppleScript that automates the rebuild process, and lets you know when it's done:
-- Rebuild Launch Services DB
-- BP2013
--Modified from:
-- Adam Bell 2013
-- http://macscripter.net/viewtopic.php?id=40534

say "begin"
set flushLaunchSvcDB to "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user"
do shell script flushLaunchSvcDB
delay 1
do shell script "killall Finder"
say "done"Save it as an App from Aplescript Editor.

w0lf
May 18, 2013, 09:33 PM
http://www.mediafire.com/download.php?xkj1hsaxw3o35ud

This is an application that when run just runs the commands already posted in this thread, you can add it to your start up items and then you shouldn't run into the multi item problem any more.

Weaselboy
May 19, 2013, 08:53 AM
I have been annoyed with this for years! I'm still not positive exactly what causes it, but I know how to fix it. From Terminal run:

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

Then restart Finder:

killall Finder

That should eliminate the duplicates.

A slight tweak to avoid a step... the command below includes the Finder restart all in one string.

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

If you use the Alfred (http://www.alfredapp.com) launcher, there is a workflow here (http://www.alfredforum.com/topic/894-alfred-2-workflow-repair-launchservices/) to automate this. The paid Powerpack version of Alfred is required.