05.01.2013 Views

Mac OS X Leopard - ARCAism

Mac OS X Leopard - ARCAism

Mac OS X Leopard - ARCAism

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

132<br />

CHAPTER 6 COMMON LEOPARD MAINTENANCE<br />

Frameworks, Components, Receipts, and Contextual Menu Items<br />

Besides the extra items mentioned previously that are installed and created by applications, a<br />

number of applications may install some additional support files. These include special development<br />

frameworks, special components, and contextual menu items. Most of these items can be<br />

safely deleted; however, you should use care when doing so.<br />

Contextual menu items (which are often installed in the Contextual Menu Items subfolder in<br />

one of the Library folders) are items that enable some application-specific behavior to be accessible<br />

from a contextual menu. If you delete the application that the item is attached to, then it will<br />

cease to function; so obviously, if you find these “dead” items, you should delete them.<br />

Components (found in the Components subdirectory of a Library folder) are generally not<br />

needed when you remove the application they are associated with either. The only problem is<br />

that these items are often named in such a way that it’s hard to determine what component is<br />

attached to what application, and deleting the wrong one can cause an existing application to<br />

fail. In general, if in doubt, leave it alone. If, however, you are sure that you no longer need a<br />

component, you may remove it.<br />

Frameworks are trickier. One application may install a third-party framework, and a subsequent<br />

application you install may also use that framework, so even if you delete the initial<br />

application that installed the framework, by removing the framework you could damage another<br />

application. As such, we generally recommend against uninstalling any frameworks unless you<br />

are absolutely sure that it’s safe. Other than taking up some disk space, an unused framework<br />

won’t interfere with your system in any way.<br />

Finally, most installer packages leave behind a receipt (which is a copy of the package file) in<br />

the /Library/Receipts folder. When you delete an application, it’s safe to delete any package files<br />

here associated with it. Removing receipts for existing applications could, however, affect the<br />

ability to upgrade the application in the future—and many update packages use receipt data to<br />

determine the necessity or eligibility for an upgrade.<br />

Other Hidden Application Files<br />

The last type of file that may be installed along with the application are hidden or obscure files.<br />

These files are installed for one of two reasons. First, some applications install files that are<br />

accessible from the command line—while these files are not normally viewable from the Finder,<br />

they are not specifically hidden from you (often applications will check with you before<br />

installing command-line tools). The other reason applications install hidden or obscure files is<br />

specifically so you don’t find them; this is usually for licensing reasons and to prevent you from<br />

pirating the software or reusing timed-out demo versions of software.<br />

The “hidden” command-line tools (which really aren’t hidden; they just aren’t immediately<br />

visible) can easily be removed from the command line (this is covered later in the book, beginning<br />

in Chapter 18). The other files—the ones that are actually intentionally hidden—are<br />

problematic. While they generally don’t affect your system in any way (other than restricting the<br />

use of a particular application), the idea of them lying around bothers people.<br />

While there are no specific instructions for finding and removing all of these intentionally<br />

hidden files, there are some suggestions:<br />

• Look around your file system in the command line (see Chapter 18). Lots of files that are<br />

hidden from the Finder are easily revealed in the command line. If you find files in a<br />

Library folder or subfolder in the command line that you don’t see in the Finder, they are<br />

probably being hidden.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!