Desktop File in OS 9, How Big Can It Be?

Based on my early Mac experiences with OS 7 and 8, I've always believed that it was not a good idea to have large files stored on the desktop. I was taught to always use a desktop alias for a large folder or file. That probably made some sense in OS 7 and maybe even OS 8, but does it hold true for OS 9?

I ask because I recently was cleaning up my friend's Sawtooth G4 and noticed that he had parked a 2 GB folder or photos on his desktop. I cautioned him that that may be why his screen paints so slowly on startup/restart, even after rebuilding the desktop. Since then I've been giving this more thought and I can't seem to find a real reason why he shouldn't just keep his 2 GBs of photos on his desktop.

Advice and comment please.

Thanks,

Carl B.

Power Mac MDD G4, Mac OS X (10.4.8), Dual 1.25 GHz 2MB-L3, 2 GB RAM, Verax fans, ATI 9600, DVR-111D, SyncMaster 215TW

Posted on Dec 12, 2006 6:37 PM

Reply
6 replies

Dec 12, 2006 8:33 PM in response to CEB II

Hi, Carl. I doubt that having a large folder on the desktop slows things down any more than having a small one there. What would slow things way down for certain is turning a folder containing hundreds of photos with custom icons upside down and emptying them all onto the desktop.

In other words, what slows things down is the need to "draw" all the items on the desktop, especially when all or many of them have different icons from each other. Photographic image files, for which many applications create icons that are tiny thumbnails of the images themselves, create the most extreme demands on the system's screen drawing capabilities. Put 'em all in a folder, though, and only when the folder is opened does the OS have to draw all those icons. As long as the folder stays closed, its standard folder icon is quick and easy to draw, even if it's out on the desktop.

A less obvious danger that goes with the habit of keeping lots and lots of things out on the desktop is that, with all of them right in front of you all the time, it's much easier to do things to them by mistake — like accidentally select and trash them, or attach them to an email message to the wrong recipient, or burn them to a CD they shouldn't be on. You can also bury them under each other and panic when you think you've lost something that's actually still right there.

Filing things away before the clutter gets too great is a good practice, and under some circumstances, it may even speed your computer up a little.

Dec 12, 2006 11:27 PM in response to CEB II

Hi, Carl -

The desktop file has very little to do with the Desktop, in spite of the similarity of names. Placing an item on the Desktop does not expand the desktop file.

• The Desktop -

The Desktop is actually an invisible, always open folder; every volume (in OS 9 and earlier) has its own Desktop folder.

The Desktop is considered a shared area, but it's better to imagine it as a stack of separate invisible and transparent desktop folders, all open at the same time.

Every mounted volume (disk or partition) has its own layer in that stack.

By default, when something is saved to the Desktop, or Option-copied there from a volume, it is placed on the Desktop layer belonging to the current boot volume.

If your folders are in a layer belonging to another volume, then when you drag the item from the Desktop into one of those folders it will be copied into it, not just moved - same as if you had dragged an item directly from one volume to another - with the original left behind.

• The desktop file -

There are two invisible database files, Desktop DB and Desktop DF, that Finder maintains; these are used by Finder to keep track of where files are, what program any given file type should be linked to, where those programs are, and what icon to apply to each file - in the case of files with custom icons, it often keeps a copy of those icons in those desktop files, too.

Ages ago there was just one such invisible desktop file; in more modern OS's, there are now two. But, by tradition, we refer to both the files, collectively, as the desktop file, or simply, the desktop.

Sometimes the desktop file gets out of kilter, out of sync with reality, and Finder gets confused, not being able to locate what it needs quickly enough. Often this status results in generic icons being displayed for programs and their files, and Finder can no longer link an app's documents with the app. In bad cases, it can affect the basic operation of the OS itself.

The basic maintenance to do then is to rebuild the desktop - have Finder confirm, relearn, and refresh the information in the databases. There is a built-in command mechanism to instruct Finder to do that - at startup, hold down the Command and Option keys, keep them held down until a splash screen appears asking if we really do want the desktop rebuilt - clicking "okay" is the normal response, unless we've changed our mind (or have more than one hard drive, and just want to rebuild the desktop on one of them). It takes a few minutes to complete the rebuild.

<hr>

Although moving an item to the Desktop does not affect the size of desktop file, it can slow down Finder redraws of the Desktop. Whenever Finder needs to redraw any portion of the Desktop, it must research each item that is on the Desktop - this causes Finder to go to the desktop file to find out if that item needs a custom icon, and, if so, which to use.

So, additional items on the Desktop can slow down a Finder redraw simply by being there; and more so if the desktop file itself is overly bloated (Finder has to look through more stuff to find what it needs).

Rebuilding the desktop file can be part of the solution.

<hr>

Other things which can slow down Finder -

• If a picture is not displayed on the Desktop, open the Appearance control panel, go to the Desktop tab - if the Remove Picture button is active, click it. Doing this cures a situation where there was once a picture displayed on the Desktop, but the picture itself was removed at one point without changing the setting in Appearance control panel. Appearance keeps looking for that non-existent picture on each redraw of the Desktop, which takes time.

• Check in the Recent Servers folder in the Apple menu, and the Servers folder in the System Folder - trash any aliases you find there. Likewise, get rid of any unneeded aliases or items in the Startup Items folder in System Folder.

• Having an alias to a hard drive in the Apple menu, though certainly convenient, slows down startup while the OS builds a hierarchical menu for it.

• If you're networked and use File Sharing, there can be a delay caused by the Mac reconnecting to shared items (drives and volumes) which it has been told to do so at startup. If the machine is not networked, disable File Sharing (control panel and related extensions).

http://discussions.apple.com/thread.jspa?threadID=121946

Dec 13, 2006 10:28 AM in response to Don Archibald

Thanks to all who responded. I think some valuable reminders have been presented here.

I think the second section of Don Archibald's response is what I was remembering from my early days with the Mac OS. Finder redraws of the desktop can be affected by a bloated desktop.

My friend's OS 9 desktop is extremely bloated (overall quantity of items as well as the 2 GB photo folder) as he has saved most things to the desktop over the years rather than utilize the file structure and aliases as needed. I have him more conscious of that now that he is moving into OS X with Tiger. I think he will realize that his productivity will also increase when he doesn't have to spend 5 minutes trying to find an icon on his desktop.

Dec 16, 2006 7:42 AM in response to CEB II

Carl B,
As the other two replies indicate, the Desktop is not bloated and cannot become bloated by the size of the items in that folder. As far as the items stored on the Desktop are concerned, the Desktop is just another folder that is always open. The number of things that are actually seen all across the desktop is what can slow the graphic redraw of the screen image. One folder, no matter how many millions of photos might be in it, will not make any noticable difference on the screen redraw.

You have mentioned the main reason for not covering the desktop with many files and folders. It makes a mess that can keep you confused.

By the way, when or if you decide to rebuild the invisible "desktop db" file, you should hold the shift key at startup until you see the "Welcome To Mac OS, Extensions Off" screen and then hold the Option + Apple keys until you see the message asking you to confirm what you want to do. This is because sometimes third party extensions will interfere with the desktop file rebuild. Alternately, you can create a Stickie note called "dektop db" and save it as stationary to the hard drive and confirm the message to replace the desktop db file. Then trash the Stickie note and restart. You will have a new desktop db file.

Dec 16, 2006 11:52 AM in response to ThirdRockPhoto

I think when rebuilding the desktop file in OS 9, unless one utilizes a helper utility such as Conflict Catcher or TechTool, one should follow the procedure defined by Apple in the Technical Article linked above by Texas Mac Man and presented in abridged form below. That's what I've always done.

System 7.5 through Mac OS 9

1. Before you rebuild the Desktop file, use the Extensions Manager to save a record of the extensions that are turned on. To do this, open the Extensions Manager control panel. Then choose Save Set from the Sets pop-up menu. When the Save Set dialog box opens, type a name for the selected extensions such as "My Extensions". When you close the dialog box, the name of your set is added to the Sets pop-up menu.
2. Turn off all extensions--Click on the Sets pop-up menu again and choose All Off.
3. Use the step appropriate for your system software version.

- System 7.5 through System 7.5.5
Turn on the Macintosh Easy Open control panel -- Find it in the list of control panels, click it to put a checkmark beside it.
- Mac OS 7.6 through Mac OS 7.6.1
Turn on the Mac OS Easy Open control panel -- Find it in the list of control panels, click it to put a checkmark beside it.
- Mac OS 8.0 through Mac OS 8.1
Turn on the PC Exchange control panel -- Find it in the list of control panels, click it to put a checkmark beside it.
- Mac OS 8.5 through Mac OS 9
Turn on the File Exchange control panel -- Find it in the list of control panels, click it to put a checkmark beside it.

4. Restart your computer while pressing the Command and Option keys.

5. When you see a dialog box with the message, "Are you sure you want to rebuild the Desktop file on the disk "your disk"?," release the keys and click OK. (With system software earlier than Mac OS 7.6, you may see a message about comments in Get Info windows being lost.)
6. When the Desktop file is rebuilt, Choose Control Panels from the Apple menu.
7. Open the Extensions Manager control panel.
8. Turn your extensions back on--Click on the Sets pop-up menu and choose the name you gave your set of extensions in step 1.
9. Restart the computer.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Desktop File in OS 9, How Big Can It Be?

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