Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

"Open with" can not change default

I am unable to change the "open with default" appliacation and it is really bugging me. I have ticked the option to always open with said application however when I click on a file it defaults to another application 😟
any ideas????

mac 20" 2.4 ghz 3gB + MBP 15" 2.66 ghz 4gB + iPhone 3G 16gB = :-), Mac OS X (10.5.6)

Posted on Oct 13, 2009 3:57 AM

Reply
Question marked as Best reply

Posted on Dec 1, 2009 1:37 AM

Try this out:

1) click once on the file in Finder
2) choose File -> Get info (or Apple+I)
3) select the application you want to open that file under "Open with"
4) click on "Change All..." to apply this globally
36 replies

Mar 31, 2010 5:20 AM in response to macjack

macjack wrote:
It sounds like LaunchServices to me also. These are only cache files but can get corrupted. V.K. gave you the local file but this command will also rebuild the system level file.
Launch /Utilities/Terminal and copy & paste this at the command line to rebuild LaunchServices:

Code:


<pre class="alt2" style="margin:0px; padding:3px; border:1px inset; width:640px; height:34px; overflow:auto">

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

</pre>

Then press return. Wait until terminal returns to the command line. Quit Terminal. After
that, log out and back in or restart. Let us know


I only had to do the above command in the terminal window to solve my problem. I didn't need to log in or out or anything. I'm not sure what lsregister does, but it fixed it. Thanks!

My problem was with XML files, which were locked into having Dashcode as the default application from the moment I had Xcode installed on Snow Leopard.

It works now with my favourite XML editor.

Apr 9, 2010 5:10 AM in response to Adriaan Renting

This only worked for about a week, the problem is back now. The defaults for opening files like XML or TXT have all reverted back to Xcode tools, even while I haven't used it over the last week, and again when do Get Info on for example a XML file and I change the application to open it with, and then click on "Change All", it immediately reverts back to the Xcode defaults.

This is very annoying.

I'm going to try the lsregister solution again, but if it means I need to do that every week, I'll get mighty annoyed.

Jul 7, 2010 7:39 AM in response to robandkate

Got the exact same fault in Snow Lepoard. We have Quark files that have no file extensions on them, but they have been stored this way for many moons and work fine both on the designers macs and the in house one (running older versions of mac os). The new mac associates the files with terminal and will not change the default setting to quark for all files.

Just get the following error:

An error occurred while changing the application that opens “FILENAME” because not enough information is available.

Do you want to open “FILENAME” with “Terminal”?

Now the obvious answer is no i don't want to open it with flaming terminal, i've just told you ten times to open it with quark, but yet again you jump back to terminal like a defiant five year old.

I've tried all the things suggested here as well as a few apps to try and make it change but still no joy.

Maybe the answer is to roll the OS back to an earlier version that ACTUALLY WORKS

Oct 1, 2010 2:44 AM in response to robandkate

The Terminal code didn't work (was it for 10.5/10.6 only?) I'm on 10.4.11 and received a 'no such file or directory' response. I'm having the same problem with photoshop CS3 which is on an external backup, I want to change the default app to CS2. It works if I remove the backup drive but then reverts back again when I plug it back in. Anyone else have any thoughts?

Dec 10, 2010 1:34 PM in response to macjack

thanks! this worked for me...

1- in ~/Library/Preferences, i deleted both
-com.apple.LaunchServices.plist
-com.apple.LaunchServices.QuarantineEvents

2- ran the command you posted in terminal.

3- logged out then back in.

my icons and default program for .pdf changed from acrobat back to preview, which is my preferred application... in my case, for some reason all pdf files where being opened in acrobat since i transferred my files to my new macPro last summer. the same files on my MBPro don't do this.

i'd tried OnyX.app to reset launch services, but it didn't help. in my case, the .plist was regenerated, but the quarantineEvents still had the creation date from last summer... so running the programs or running the script in terminal was not clearing quarantineEvents file. hopefully, this will fix will be permanent.

i don't like the "finder -> get info -> change default app" option because it changes the modification dates on ALL affected files. i sync certain directories between multiple macs and this make the syncing program recopy all the files. also, i use the modification dates when searching for files to know what version i'm looking at or to find a particular version in spotlight. when all files have the same modification date, searching become useless and i can never tell what file was the last version from a certain period. in my case of 24 years of macs, i have files from all the different decades, and i sometimes am looking for something from the 1980's or 1990s...

anyway, thanks for the clues about how to fix this-
jeffery

Feb 11, 2011 9:04 AM in response to robandkate

I tried all of the solutions here and nothing worked for me to open image files with Photoshop instead of Preview, but I found a utility program that installs into the System Preferences that solved the problem beautifully.

RCDefaultApp

It is free at http://www.rubicode.com/Software/RCDefaultApp/ and allows you to set a preference for everything on your Mac, like I used to on my PC. I recommend it, but I am no expert and make no claims if it will work for you.

"Open with" can not change default

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.