Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / General / General / May 2008



Tip: Looking for answers? Try searching our database.

finding default application setting

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Howard Brazee - 30 May 2008 00:32 GMT
The other day I was looking for something and noticed a folder that
appeared to have files that pointed towards default applications.

I have been wanting to turn off some of these (particularly those that
Parallels created when it migrated a Windows partition to my VM), but
I was busy then, and figured I could find this folder later.

I am not finding it.   One of the applications in both Windows and OS
X is VLC, so I used spotlight to search for VLC.  No luck.  I tried
the search in the finder - again, no luck.

So I have three questions:

Where are those files?
Can I delete the ones I don't want?
Why can't I search for them?
Jolly Roger - 30 May 2008 04:05 GMT
> The other day I was looking for something and noticed a folder that
> appeared to have files that pointed towards default applications.

What folder would that be (path please)?

What are the file names inside it?

What makes you think the files "point towards default applications"?

> I have been wanting to turn off some of these (particularly those that
> Parallels created when it migrated a Windows partition to my VM), but
> I was busy then, and figured I could find this folder later.

You've been wanting to turn some of these files off? That doesn't make
much sense. Can you explain what you really mean please?

> I am not finding it.   One of the applications in both Windows and OS
> X is VLC, so I used spotlight to search for VLC.  No luck.  I tried
> the search in the finder - again, no luck.

You want to delete the VLC application?  What is it you are actually
trying to do?  Your entire post is very confusing...

Signature

Please send all responses to the relevant news group. E-mail sent to
this address may be devoured by my very hungry SPAM filter. I do not
read posts from Google Groups. Use a real news reader if you want me to
see your posts.

JR

Howard Brazee - 30 May 2008 14:52 GMT
>> The other day I was looking for something and noticed a folder that
>> appeared to have files that pointed towards default applications.
>
>What folder would that be (path please)?

That's what I'm trying to find out.   I don't remember.

>What are the file names inside it?

The names appeared to match the names of applications that show up
when I "open with".   I don't remember the exact names, but figured I
could search for them when I had more time.

>What makes you think the files "point towards default applications"?

Because the appeared to match up with the applications that show up
when I right click an application and "open with".

>> I have been wanting to turn off some of these (particularly those that
>> Parallels created when it migrated a Windows partition to my VM), but
>> I was busy then, and figured I could find this folder later.
>
>You've been wanting to turn some of these files off? That doesn't make
>much sense. Can you explain what you really mean please?

I don't want to have VLC for Windows in the "Open With" dialog.   I
want to remove that option.   I have accidentally clicked that when I
meant to open VLC for OS X.

>> I am not finding it.   One of the applications in both Windows and OS
>> X is VLC, so I used spotlight to search for VLC.  No luck.  I tried
>> the search in the finder - again, no luck.
>
>You want to delete the VLC application?  What is it you are actually
>trying to do?  Your entire post is very confusing...

No.   I want to find the place where OS X knows that VLC for Windows
is a valid way to open a video.   Then I want to get rid of this
option.

When I saw that folder it looked as though I found where this was.
Unfortunately I had to go to work, and I didn't write down where that
folder was.

My secondary question is - since the name of the objects in that
folder included program names, why can't I use Spotlight to find them?
Mike Rosenberg - 30 May 2008 15:00 GMT
> My secondary question is - since the name of the objects in that
> folder included program names, why can't I use Spotlight to find them?

Spotlight defaults to not searching for system-related files, so perhaps
that's the explanation. If you do your search via the Finder's Find...
command instead of from the Spotlight menu, you can go to Other... in
the menu that defaults to Kind and add System Files as a kind you can
search for.

Beware that messing with System Files can have dire consequences,
though, so be sure your backup strategy is sound and your backup is up
to date before proceeding.

Signature

<http://designsbymike.net/shop/mac.cgi> Mac and geek T-shirts & gifts
<http://designsbymike.net/election.shtml> Election 2008 goods.
<http://designsbymike.net/shop/prius.cgi> Prius shirts/bumper stickers
<http://designsbymike.net/shop/greet.cgi> Holiday cards with attitude

Howard Brazee - 31 May 2008 19:03 GMT
>Spotlight defaults to not searching for system-related files, so perhaps
>that's the explanation. If you do your search via the Finder's Find...
>command instead of from the Spotlight menu, you can go to Other... in
>the menu that defaults to Kind and add System Files as a kind you can
>search for.

I set it to "any" but did not find the VLC file that I'm pretty sure I
saw.  I did check VLC.exe.app is in my migrated Parallels partition.

>Beware that messing with System Files can have dire consequences,
>though, so be sure your backup strategy is sound and your backup is up
>to date before proceeding.
Mike Rosenberg - 31 May 2008 19:58 GMT
> >Spotlight defaults to not searching for system-related files, so perhaps
> >that's the explanation. If you do your search via the Finder's Find...
[quoted text clipped - 4 lines]
> I set it to "any" but did not find the VLC file that I'm pretty sure I
> saw.  I did check VLC.exe.app is in my migrated Parallels partition.

Well, unless I'm mistaken, Spotlight will absolutely not deal with
PC-formatted volumes. I'm not in a position to test that right now,
though.

Signature

<http://designsbymike.net/shop/mac.cgi> Mac and geek T-shirts & gifts
<http://designsbymike.net/election.shtml> Election 2008 goods.
<http://designsbymike.net/shop/prius.cgi> Prius shirts/bumper stickers
<http://designsbymike.net/shop/greet.cgi> Holiday cards with attitude

Jolly Roger - 31 May 2008 21:15 GMT
> > >Spotlight defaults to not searching for system-related files, so perhaps
> > >that's the explanation. If you do your search via the Finder's Find...
[quoted text clipped - 8 lines]
> PC-formatted volumes. I'm not in a position to test that right now,
> though.

Right. If Parallels Desktop created some link files in your Virtual
Machines folder (which is in your home hierarchy), however, they might
be able to show up in a Spotlight search.

Signature

Please send all responses to the relevant news group. E-mail sent to
this address may be devoured by my very hungry SPAM filter. I do not
read posts from Google Groups. Use a real news reader if you want me to
see your posts.

JR

Chris Ridd - 30 May 2008 15:46 GMT
> No.   I want to find the place where OS X knows that VLC for Windows
> is a valid way to open a video.   Then I want to get rid of this
> option.

Have you looked in the Parallels documentation? It seems to me like you should.

Cheers,

Chris
Jolly Roger - 30 May 2008 15:52 GMT
> No.   I want to find the place where OS X knows that VLC for Windows
> is a valid way to open a video.   Then I want to get rid of this
> option.

When Launch Services updates its database, it examines all applications
on all mounted volumes, building a list of file types and all
applications that report the ability to access that type of file. Often,
the result is duplicate entries in the various menus that display such
application lists, such as the Open With menu.

The reason the Windows version of VLC is appearing in the "Open With"
menu is because Parallels Desktop or vmWare Fusion made the Windows
version of that application available to Launch Services in Mac OS X.

If there happens to be a system directory that somehow reflects some
data in the Launch Services database, manually changing files in that
directory will almost certainly *not* change the internal database, and
may cause problems with the way Mac OS X uses the database - so I
recommend you not make such changes.

What you want to do, instead, is remove a given application from the
Launch Services database. Apple doesn't provide a way to do this, though
(of which I'm aware, anyway).

Both Parallels Desktop and vmWare Fusion have functionality that allows
Windows applications to be accessible from within Mac OS X.

With Parallels Desktop, the feature in question is called SmartSelect:

<http://www.parallels.com/en/products/desktop/features/smartselect/>

You can control this feature by editing the virtual machine
configuration (Edit > Virtual Machine) and accessing the Shared
Applications panel. Disabling SmartSelect may be enough - or you may
need to disable Windows application sharing altogether. Note: After
turning either feature off in the Parallels Desktop application, you
reportedly have to rebuild the Launch Services database manually (see
below for instructions) for the change to take effect on the Mac side.

With vmWare Fusion, I'm not sure how to (or whether you even can)
control  this functionality. I did a quick scan of vmWare preferences
and virtual machine settings, and scanned vmWare's Fusion web page as
well, but didn't see anything promising. It's obvious to me that there
are possibly critical insecurities associated with sharing this type of
information with Mac OS X. And I know vmWare's development team is more
resistant to adding functionality that diminishes security. So it
wouldn't surprise me if this Launch Services problem simply doesn't
happen with vmWare Fusion.

You can rebuild the Launch Services database with the Mac OS X built-in
'lsregister' command-line tool, which should clear old, crufty stuff
from it. Here's howo to do it in Leopard:

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

In earlier Mac OS X versions, Apple placed the Launch Services framework
in a difference directory. Google will show you where that is, if needed.

Hope this helps.

Signature

Please send all responses to the relevant news group. E-mail sent to
this address may be devoured by my very hungry SPAM filter. I do not
read posts from Google Groups. Use a real news reader if you want me to
see your posts.

JR

nospam - 30 May 2008 20:33 GMT
> The reason the Windows version of VLC is appearing in the "Open With"
> menu is because Parallels Desktop or vmWare Fusion made the Windows
[quoted text clipped - 5 lines]
> may cause problems with the way Mac OS X uses the database - so I
> recommend you not make such changes.

there's a folder with stub applications that cause parallels to launch
and then tell windows to handle the document.  i remember seeing the
folder and was surprised that all the 'apps' were very tiny.  a little
digging showed that they really belonged to parallels.
Jolly Roger - 30 May 2008 20:40 GMT
> > The reason the Windows version of VLC is appearing in the "Open With"
> > menu is because Parallels Desktop or vmWare Fusion made the Windows
[quoted text clipped - 10 lines]
> folder and was surprised that all the 'apps' were very tiny.  a little
> digging showed that they really belonged to parallels.

Good to know - thanks.

The point is it's best not to modify those files directly.

Signature

Please send all responses to the relevant news group. E-mail sent to
this address may be devoured by my very hungry SPAM filter. I do not
read posts from Google Groups. Use a real news reader if you want me to
see your posts.

JR

Howard Brazee - 31 May 2008 19:07 GMT
>You can control this feature by editing the virtual machine
>configuration (Edit > Virtual Machine) and accessing the Shared
[quoted text clipped - 3 lines]
>reportedly have to rebuild the Launch Services database manually (see
>below for instructions) for the change to take effect on the Mac side.

It looks as though I will have to rebuild the Launch Services.   I
will hold off on that until I have had a chance to study it enough to
be comfortable.

It is interesting that I noticed for the first time a bunch of OS X
applications in the Windows menu.  I looked for it after I saw that in
the menu options I turned off.
Jolly Roger - 31 May 2008 21:13 GMT
> >You can control this feature by editing the virtual machine
> >configuration (Edit > Virtual Machine) and accessing the Shared
[quoted text clipped - 7 lines]
> will hold off on that until I have had a chance to study it enough to
> be comfortable.

There's really nothing to worry about, really. You can think of
rebuilding the Launch Services database as a modern form of rebuilding
the classic Mac OS desktop. All it does is revert all file associations
to the default application. Any file associations you don't like
afterwards are easily restored by a visit to the Finder's Info window.  
I'm betting you won't notice many of those at all, though.

> It is interesting that I noticed for the first time a bunch of OS X
> applications in the Windows menu.  I looked for it after I saw that in
> the menu options I turned off.

I assume you mean in the vmWare application.  Yep - I've seen it too. I
never really thought it'd be very useful to me, though.

Signature

Please send all responses to the relevant news group. E-mail sent to
this address may be devoured by my very hungry SPAM filter. I do not
read posts from Google Groups. Use a real news reader if you want me to
see your posts.

JR

Mike Rosenberg - 31 May 2008 22:04 GMT
> There's really nothing to worry about, really. You can think of
> rebuilding the Launch Services database as a modern form of rebuilding
> the classic Mac OS desktop.

Not that a Mac newcomer like Howard knows anything about the classic Mac
OS desktop, mind you. Gee, remember when rebuilding the desktop had all
those magical powers attributed to it that have now passed over to
repairing permissions?

Signature

<http://designsbymike.net/shop/mac.cgi> Mac and geek T-shirts & gifts
<http://designsbymike.net/election.shtml> Election 2008 goods.
<http://designsbymike.net/shop/prius.cgi> Prius shirts/bumper stickers
<http://designsbymike.net/shop/greet.cgi> Holiday cards with attitude

Jolly Roger - 31 May 2008 22:07 GMT
> > There's really nothing to worry about, really. You can think of
> > rebuilding the Launch Services database as a modern form of rebuilding
> > the classic Mac OS desktop.
>
> Not that a Mac newcomer like Howard knows anything about the classic Mac
> OS desktop, mind you.

Good point.  Well, suffice it to say that the "desktop database" in
classic Mac OS also kept track of file associations. Rebuilding it had a
similar effect.

> Gee, remember when rebuilding the desktop had all
> those magical powers attributed to it that have now passed over to
> repairing permissions?

Ugh... yes...

Signature

Please send all responses to the relevant news group. E-mail sent to
this address may be devoured by my very hungry SPAM filter. I do not
read posts from Google Groups. Use a real news reader if you want me to
see your posts.

JR

Dave Balderstone - 31 May 2008 23:12 GMT
> Gee, remember when rebuilding the desktop had all
> those magical powers attributed to it that have now passed over to
> repairing permissions?

Yup. I posted a piece a while back from colleagues at the St. Louis
Post Dispatch reporting on the results of the classic Mac OS
troubleshooting "norms".

<http://groups.google.com/group/comp.publish.prepress/browse_thread/thre
ad/219ec235a04222a7/24dfd79f71a4c98a?q=balderstone+post+dispatch&lnk=nl&>

Signature

Woodworking links and more at http://www.woodenwabbits.com

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.