O'Reilly logo

Modding Mac OS X by Erica Sadun

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Changing Window Styles

The Attributes pane of the Info window lets you inspect and customize each element in an application’s interface. In the following steps, you’ll discover how to change a window’s style. Changing styles demonstrates how to find and use the items within the Attributes pane to change the way an interface item acts.

This example walks you through the process of changing the Terminal’s window style from its traditional look to the metal theme used by iMovie, iTunes, and other iApps that ship with Mac OS X. As you’ll see, it takes just a few steps to find, open, and customize the NIB file for the Terminal’s main window.

  1. Open a new Finder window by either clicking on the Finder’s icon in the Dock, or selecting File New Finder Window (⌘ -N) from the menu bar.

  2. Change directories to the Utilities folder (Shift-⌘ -U).

  3. Select the Terminal application. Remember that you made a copy of the application. Do not select the copy (named Terminal copy); it is your backup.

  4. Control-click (right-click) on the Terminal and choose Show Package Contents from the contextual menu. A new browser window appears showing just one folder, named Contents.

  5. In the new Finder window, choose View as Columns (⌘-3). Column view makes it easier to navigate through the application’s subfolders.

    Warning

    Duplicating an application can change the copy’s ownership from root:admin to user-name:admin. Keep this in mind while working through the examples in this book and, if desired, change the ownership with ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required