TOPIC
This article describes the desktop file, when and how to rebuild it (such as when your icons change to "generic" document or application icons), why the desktop file sometimes will not rebuild, and what to do in this case.
DISCUSSION
What is the Desktop File? The Desktop file is an invisible file found in the main level of your hard disk. It is the file that keeps track of all the documents and applications that are on your disk. The file name is desktop for versions of System 6 and earlier. System 7.0 and later versions use the invisible files named Desktop DB and Desktop DF. When to Rebuild Desktop File Occasionally your Desktop file may become too large or may be unusable. Note: It is generally a good idea to rebuild your Desktop file once a month or so. Symptoms of an Unusable Desktop File One symptom of an unusable Desktop file is icons on your desktop appear as "generic" rather than "custom" icons. Rebuilding the Desktop file may solve this situation. The Desktop file manages all icons on a particular hard disk or floppy disk. When you insert a new or customized icon, the Desktop file may not load it or may load a previous version of the icon. To have the special icon appear on the desktop, the Desktop file must be rebuilt to update the Desktop file and register the icon. Icons change to generic document (blank page with a corner turned down) or application (diamond with a hand) icons for several reasons, including the following: Symptoms of a Large Desktop File If the Desktop file becomes too large, the computer may have difficulty reading it efficiently and speedily. This can cause the Finder to access files more slowly. Rebuilding the Desktop file can clean up old information and speed up Finder access. You can also make a file-by-file backup of the drive, re-initialize the drive, and then restore the files. This re-groups all the files, unfragments them, and increases the efficiency of the disk. How to Rebuild Desktop File Rebuilding the Desktop relinks documents to their correct applications and rewrites the Desktop file itself. Before rebuilding the Desktop, be sure that you have some room available on the hard disk. The Desktop rebuilding process requires hard disk space, and does not successfully complete without it. A good guideline is to always have 5 percent of the hard drive or other volume available as free space. This procedure only works when the Finder is loaded. Applications like At Ease don't load the Finder, so you must turn them off prior to rebuilding. Note: Be aware, when rebuilding the desktop, if you have system software earlier than System 7.5 Update 2.0, you will lose any notes you have typed in the comment box in the Get Info windows of your files. System 6 through System 7.1.2 You can rebuild the Desktop manually by holding down the Option and Command (Apple) keys while the system is starting up. When you see the message "Are you sure you want to rebuild the desktop file on the disk "your disk"? Comments in info windows will be lost", click OK. System 7.5 and newer 1. Before you rebuild your desktop, use the Extensions Manager to save a record of the extensions that are currently turned on. To do this, first open the Extensions Manager control panel. Then click on the Sets pop-up menu, and choose Save Set. When the Save Set dialog box opens, type a name for your currently selected extensions (for example, '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.
5. When you see the dialog that says "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 7.6, you may see a message about comments in Get Info windows being lost.) 6. When the desktop is rebuilt, pull down the Apple menu and choose Control Panels. 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 (for example, 'My Extensions'). 9. Restart your computer to activate the extensions. Why the Desktop File Sometimes Will Not Rebuild There are several reasons why you may have difficulty rebuilding the Desktop file. A Conflicting INIT or System Extension An INIT or system extension can interfere with rebuilding the Desktop file. To resolve the situation you can try the following: For versions of System 6, remove all non-Apple extensions from the System Folder. Then rebuild the desktop file by holding down the Option and Command keys while starting the computer. For System 7 through 7.1.2, rebuild the desktop with extensions off following these steps:
2. As soon as you see "Welcome to Macintosh Extensions Off", release the Shift key and hold down the Command and Option keys. 3. Continue pressing the Command and Option keys until the dialog asks you if you are sure you want to rebuild the Desktop file. 4. Let go of the keys and click on the OK button. If you have used compression or security utilities, and the preceding solutions do not work, contact the vendors for a solution. Not Enough Memory to Rebuild Changing the size of the Finder's partition should not be necessary under System 7, as was sometimes necessary under System 6. The only way to change the size of the Finder's partition under System 7 is either by using ResEdit or by booting under System 6.0.x, and changing the partition there. The Finder needs to do a little different work under System 7.0 than it did under System 6.0.x. The system is using the Desktop Database, rather than the Resource Manager, which relieves that bottleneck in the system. The Finder can get some additional memory from other places, like the System Heap, if necessary. There really is no reason that you should need to alter the partition size of the Finder under System 7. Increasing the Finder's partition sets aside more memory for the Finder and increases the size of your System Heap. In doing this, you set aside the memory for the System Heap but decrease the amount of memory for applications. If you want to try changing the partition by booting under System 6.0.x, here are the instructions. (Doing this requires you to boot up the Macintosh from a System 6.0.x diskette, and most Macintosh computers introduced after the release of System 7 (including Quadra and PowerBook computers) are not able to use this option.) Here are the steps for Macintosh computers that can start up under System 6.0.x:
2. Locate and click the Finder file in your System Folder on your Macintosh hard drive (not the Finder on the floppy). 3. Choose Get Info from the File menu and increase the amount of memory allocated to the Finder in the Current size box. 4. Close the Get Info window. 5. Restart your Macintosh (from the hard drive) under System 7 once again. What to Do If Rebuilding the Desktop Does Not Restore Your Icons If rebuilding the does not restore your icons, run Disk First Aid to see if there is something you can fix. If you have specific files (other than custom icons) that became generic icons, there are these possibilities: |
Document Information | |
Product Area: | Mac OS System Software |
Category: | General OS |
Sub Category: | General Topics |
Copyright © 2000 Apple Computer, Inc. All rights reserved.