10 essential tasks to keep Leopard purring

Keep Mac OS X Leopard in tip-top condition with these maintenance steps

Cache files exist for both the system (in the /Library/Caches folder at the root level of a start-up drive) and for each user (in the same location inside each user's home folder). Since cache files are not used to store application preferences or general settings, you can safely delete them without losing any data, and they will be regenerated as needed.

5. Verify and delete preferences files

Another common cause of application crashes and other problems is corrupted preferences files. These are the files that system components and applications use to store settings. In Mac OS X, preferences files are stored as XML property list (.plist) files. You can verify whether a preference file is corrupt by using JNSoftware's Preferential Treatment (donationware), a graphical interface to the plutil command available in Terminal.

Although this tool doesn't know what data should be in a property list file or exactly what the various sections (known as keys ) relate to in terms of the settings available to a given application, it can verify whether the data is packaged in the correct format and is readable.

It doesn't always work perfectly, and in some cases, it might report a file damaged when it isn't, but it's pretty good most of the time. By using it to verify your preferences files, you can detect corrupted files and delete them before the problem becomes bigger -- although doing so will result in a loss of settings for the affected application.

One lesser-known feature of Leopard is that it has some built-in capability for responding to corrupted preferences files. If an application crashes repeatedly at launch, Leopard will ask if you want to open the application without using the existing (and potentially damaged) preferences file for it. If you say yes and the application launches and runs cleanly, you can delete the preferences file. If it continues to crash, there's likely another cause.

Although this automates troubleshooting application crashes caused by corrupt preferences files, it does mean that applications have to experience severe enough problems that they can't even launch in order to trigger the feature. Verifying your preferences with Preferential Treatment every couple of months (or more frequently if you are experiencing application crashes) can prevent things from reaching that stage.

Join the newsletter!

Or

Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.

Tags apple leopard

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.
Ryan Faas

Ryan Faas

Computerworld
Show Comments

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Tom Pope

Dynabook Portégé X30L-G

Ultimately this laptop has achieved everything I would hope for in a laptop for work, while fitting that into a form factor and weight that is remarkable.

Tom Sellers

MSI P65

This smart laptop was enjoyable to use and great to work on – creating content was super simple.

Lolita Wang

MSI GT76

It really doesn’t get more “gaming laptop” than this.

Jack Jeffries

MSI GS75

As the Maserati or BMW of laptops, it would fit perfectly in the hands of a professional needing firepower under the hood, sophistication and class on the surface, and gaming prowess (sports mode if you will) in between.

Taylor Carr

MSI PS63

The MSI PS63 is an amazing laptop and I would definitely consider buying one in the future.

Christopher Low

Brother RJ-4230B

This small mobile printer is exactly what I need for invoicing and other jobs such as sending fellow tradesman details or step-by-step instructions that I can easily print off from my phone or the Web.

Featured Content

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?