|
|
#1 |
|
Triple-A Player
Join Date: May 2002
Location: Germany
Posts: 83
|
Auto-opening Finder windows with some Volumes
Hi everyone,
I was wondering how does OS X know that it's supposed to open a Finder window with some Volumes? This is usually seen with dmgs or the Mac OS X Install DVD. I tried to look for hidden files via Terminal, but that left me clueless. The problem is that I have cloned my Install DVD to a partition on my external FW HD (for faster access), but it's annoying that everytime I plug in the HD the Finder opens a window with that partition. I understand that it's supposed to be that way and since it's a clone of the DVD it acts the same way. But how can I disable it? How is this handled by the OS? Thanks poenn |
|
|
|
|
|
#2 |
|
All Star
Join Date: Sep 2006
Posts: 860
|
I think you would have to turn off the 'show these items on the desktop' from the Finder preferences. This setting is listed under the General tab.
On second thought I am not sure that would work for the OS DVD. Hmmm, good question.
__________________
Snow Leopard 10.6, MacBookPro1,1 Last edited by anika123; 11-19-2009 at 08:07 AM. |
|
|
|
|
|
#3 |
|
Hall of Famer
Join Date: Apr 2007
Posts: 4,263
|
I'm pretty sure that a list of windows to open are stored in the Finder preference file, which is (of course) not modifiable on a DVD.
__________________
Philosophy is a battle against the bewitchment of our intelligence by means of language. -LW- |
|
|
|
|
|
#4 |
|
All Star
Join Date: Sep 2006
Posts: 860
|
So I guess this is the same as when dmg's just fly open. There is some setting in the dmg that tells Finder to open a window instead of just opening and sitting in the Finder Sidebar.
__________________
Snow Leopard 10.6, MacBookPro1,1 |
|
|
|
|
|
#5 |
|
All Star
Join Date: May 2004
Location: london on ca
Posts: 930
|
Try checking the "open-folder list" for the volume using 'bless' to see if the folder that opens is listed there, eg.
Code:
bless --info /Volumes/"volume name" |
|
|
|
|
|
#6 |
|
Triple-A Player
Join Date: May 2002
Location: Germany
Posts: 83
|
Sorry for returning so late, but the forum mail must've gone into Spam unnoticed.
![]() I tried what biovizier suggested and the list indeed isn't empty. Here's the ouput: finderinfo[0]: 87 => Blessed System Folder is /Volumes/Mac OS X Install DVD/System/Library/CoreServices finderinfo[1]: 32692 => Blessed System File is /Volumes/Mac OS X Install DVD/System/Library/CoreServices/boot.efi finderinfo[2]: 2 => 1st dir in open-folder list is /Volumes/Mac OS X Install DVD/ finderinfo[3]: 0 => No OS 9 + X blessed 9 folder finderinfo[4]: 0 => Unused field unset finderinfo[5]: 87 => OS X blessed folder is /Volumes/Mac OS X Install DVD/System/Library/CoreServices 64-bit VSDB volume id: 0xB49C4FE2B6BABAB1 I suspect that it's [2] which I need to get rid of. Any ideas on how to accomplish this? Thanks! poenn |
|
|
|
|
|
#7 |
|
Triple-A Player
Join Date: May 2002
Location: Germany
Posts: 83
|
I got it!
I took the time to read the bless manpage. It says: --openfolder directory Specify a folder to be opened in the Finder when the volume is mounted by the system. So I first tried with changing the current setting to another existing folder via: sudo bless -folder /Volumes/Mac\ OS\ X\ Install\ DVD -openfolder /Volumes/Mac\ OS\ X\ Install\ DVD/var After unmounting and remounting the Volume the Finder automatically displayed var this time. You can't specify a nonexistant folder, so I went ahead and created dummy inside of tmp on the Install DVD partition and then issued this: sudo bless -folder /Volumes/Mac\ OS\ X\ Install\ DVD -openfolder /Volumes/Mac\ OS\ X\ Install\ DVD/tmp/dummy Afterwards I simply deleted dummy and now the auto-opening is gone! Besides this, I now know what to do if I ever need the opposite behaviour...
|
|
|
|
|
|
#8 |
|
Guest
Posts: n/a
|
How to clear the open-folder list
Well, I didn't want to settle for the workaround, because while actually stopping the auto-opening, it leaves a
finderinfo[2]: 40042 => 1st dir in open-folder list is <missing> entry in the finderinfo. So I looked for a way to really clear the open-folder list. And guess what: it's easy! Just use bless --folder /Volumes/Mac\ OS\ X\ Install\ DVD/ --saveXand it is gone. After that 'bless --info /Volumes/Mac\ OS\ X\ Install\ DVD/' will give you finderinfo[2]: 0 => Open-folder linked list empty BTW: Read-only images opening automatically on mount is a different matter. |
|
|
|
#9 |
|
Triple-A Player
Join Date: May 2002
Location: Germany
Posts: 83
|
Just one VERY late heads-up: Using --saveX is a very nice idea, but it results in the partition being shown only as EFI Boot in the boot manager. This is not so ideal when having several Install DVDs cloned to partitions on your external HD. You can’t see which is which without using special icons.
|
|
|
|
|
|
#10 | |||||||||||||||||||
|
Triple-A Player
Join Date: May 2002
Location: Germany
Posts: 83
|
Upon further investigation EFI Boot also shows when using my method of non-existing folders. But issuing
resolves that and shows the volume’s name again when in the boot manager. |
|||||||||||||||||||
|
|
|
![]() |
|
|