Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > View Options for Computer window... that actually stick!

View Options for Computer window... that actually stick!
Thread Tools
Grizzled Veteran
Join Date: Oct 2002
Status: Offline
Reply With Quote
Feb 18, 2003, 09:08 AM
 
I just submitted this to MacOSXHints, figured I'd post it here as well:

The Problem

View Options for the Computer window (the one that displays mounted drives and servers, that annoying Network icon too) do not stick. You set the icon size / tell the Finder to arrange icons by Name, but even if you get them to stick right now, they reset to default every time you log out.


The Reason

Relevant keys do not exist in the Finder's preference file, hence there is nowhere for said options to be stored.


The Solution

First, you must be able to quit the Finder. The easiest way to do this is to use TinkerTool to add a "Quit" item to the Finder menu. If you don't quit the Finder before editing its preference file, things are liable to go awry.

If you have the Developer Tools installed:

1 - Quit the Finder
2 - Open ~/Library/Preferences/com.apple.finder.plist in Property List Editor (/Developer/Applications)
3 - Expand Root
4 - Expand and select ComputerOptions
5 - Click New Child
   - Enter its name as ComputerIconViewArrangeBy
   - Its Class as String
   - Its Value as dnam
6 - Whilst this new child is selected, click New Sibling
   - Enter its name as ComputerIconViewIconSize
   - Its Class as Number
   - Its Value as 48
7 - Save and close the file
8 - Open the Finder (by clicking its icon in the Dock)

If you don't have the Developer Tools installed / want to use a plain text editor instead:

1 - Quit the Finder
2 - Open ~/Library/Preferences/com.apple.finder.plist in your text editor of choice (I'd use BBEdit, but TextEdit should work fine)
3 - Search for ComputerOptions
4 - Add the following two keys beneath the ComputerBackgroundType key:
Code:
<key>ComputerIconViewArrangeBy</key> <string>dnam</string> <key>ComputerIconViewIconSize</key> <integer>48</integer>
7 - Save and close the file
8 - Open the Finder (by clicking its icon in the Dock)


Notes

Icon size is self-explanatory; simply choose a size in pixels. 48px is the default size in Mac OS X 10.2.x, the one I find most easy to use.

The ways of arranging icons have slightly more obscure codes. Here's what they are and what they mean:
Code:
dnam = Arrange by Name modd = Arrange by Date Modified ascd = Arrange by Date Created phys = Arrange by Size kind = Arrange by Kind
There are some limitations of using this method to control the Computer window, the most notable of which is that changing the View Options using the appropriate palette (Command-J in the Finder) does not work; your preferences will not stick. At least not all of them; Text size, aka ComputerIconViewTextSize in the preference file, does stick. Icon size and arrange order do not. Showing item info does not stick, whilst the pointless (in this instance) Show icon preview does. Background color does stick, label position does not. And I have no idea why any of this is the case.

I hope this helps those of you who have been having this problem. I didn't suffer it up through 10.2.2, but did upon a clean install of 10.2.4, hence this work around. And I might as well plug my website whilst I'm here; www.megasad.com.
BayBook (13" MacBook Pro, 2.4GHz Core 2 Duo, 4GB RAM, 1TB HD) // BayPhone (iPhone 4, 32GB, black)
     
Professional Poster
Join Date: Jun 2000
Status: Offline
Reply With Quote
Feb 18, 2003, 10:03 AM
 
Thanks for the info. I'll try this when I get back to my Mac.
     
Addicted to MacNN
Join Date: Oct 2001
Location: Yokohama, Japan
Status: Offline
Reply With Quote
Feb 18, 2003, 10:07 AM
 
My settings stick just fine without any weird stuff.
     
Mac Elite
Join Date: Nov 2001
Location: Trafalmadore
Status: Offline
Reply With Quote
Feb 18, 2003, 10:09 AM
 
Originally posted by wataru:
My settings stick just fine without any weird stuff.
Mine do too !
     
megasad  (op)
Grizzled Veteran
Join Date: Oct 2002
Status: Offline
Reply With Quote
Feb 18, 2003, 10:22 AM
 
Originally posted by wataru:
My settings stick just fine without any weird stuff.
As I wrote above, under 10.2.2 mine did too. However, not in 10.2.4, and I've read of other people complaining about this problem several times before, so I figured I might as well post it for all to see, rather than keeping it to myself.
BayBook (13" MacBook Pro, 2.4GHz Core 2 Duo, 4GB RAM, 1TB HD) // BayPhone (iPhone 4, 32GB, black)
     
Professional Poster
Join Date: Aug 2002
Status: Offline
Reply With Quote
Feb 18, 2003, 02:29 PM
 
Originally posted by wataru:
My settings stick just fine without any weird stuff.
goog game! mine stick too.
     
Grizzled Veteran
Join Date: Feb 2001
Location: Pittsburgh
Status: Offline
Reply With Quote
Feb 18, 2003, 03:16 PM
 
On a related note, I would worship someone's right testical for one more piece of info...

How to force package contents to open in column view! (?)
     
Senior User
Join Date: May 2000
Location: Lafayette, IN, USA
Status: Offline
Reply With Quote
Jun 29, 2003, 07:20 AM
 
I’m having the same problem. Hopefully, megasad’s method will work!

Why don’t they have a smilie for hopeful?
“The trouble with quotes on the Internet is that you can never tell if they’re attributed to the right person.”
—Abraham Lincoln
     
Forum Regular
Join Date: Jan 2003
Status: Offline
Reply With Quote
Jun 29, 2003, 10:19 AM
 
Originally posted by dfiler:
On a related note, I would worship someone's right testical for one more piece of info...

How to force package contents to open in column view! (?)
Try Pathfinder. It has an option to "View Package Contents".
     
Senior User
Join Date: May 2000
Location: Lafayette, IN, USA
Status: Offline
Reply With Quote
Jul 4, 2003, 01:44 PM
 
Welp, it didn’t work. As soon as I log out, the Finder loses its quit menu and the icons in the Computer window go right back where they think they belong.

On a related note, I’ve noticed that when I log in, two of my menu-bar&ndash;based programs&mdash;Homeland Alert and Meteo&mdash;load to the right of the menu bar clock, whereas they used to load to the left of all of my Apple-supplied icons and even StuffIt Magic Menu. It’s rather disconcerting, actually. My desktop icons have also started occasionally popping up (on log-in) with squares of my desktop behind them before the actual desktop picture loads.

Think I might have a corrupt preference somewhere? I’ve already deleted ~/Library/com.apple.finder.plist. What else could it be?
“The trouble with quotes on the Internet is that you can never tell if they’re attributed to the right person.”
—Abraham Lincoln
     
Professional Poster
Join Date: Mar 2001
Location: Florida
Status: Offline
Reply With Quote
Jul 4, 2003, 02:23 PM
 
Originally posted by ryju:
goog game! mine stick too.
You guys are lucky then, mine don't stick either. It reverts back to small icons. Make sure you guys are on the same page. Open you computer and then make your icons big, arrange them by name, show preview, etc. Then click on Applications, then go back to Computer. Are your icons big like ya left them?
All Your Signature Are Belong To Us!
     
Clinically Insane
Join Date: Nov 1999
Location: 888500128, C3, 2nd soft.
Status: Offline
Reply With Quote
Sep 8, 2003, 08:46 AM
 
Originally posted by delete:
Try Pathfinder. It has an option to "View Package Contents".
So does the Finder.

He's talking about having the package contents (which open into a new window) shown as Columns by default, rather than as icons.

-s*
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 07:22 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2