Apple starts the Dock off with a few icons it thinks you'll enjoy: Dashboard, QuickTime Player, iTunes, iChat, Mail, the Safari Web browser, and so on. But using your Mac without putting your own favorite icons in the Dock is like buying an expensive suit and turning down the free alteration service. At the first opportunity, you should make the Dock your own.
The concept of the Dock is simple: Any icon you drag onto it (Figure 4-1) is installed there as a button. (You can even drag an open window onto the Dock—a Microsoft Word document you're editing, say—using its proxy icon [Close Button] as a handle.)
A single click, not a double-click, opens the corresponding icon. In other words, the Dock is an ideal parking lot for the icons of disks, folders, documents, programs, and Internet bookmarks that you access frequently.
You can install batches of icons onto the Dock all at once—just drag them as a group. That's something you can't do with the other parking places for favorite icons, like the Sidebar and the Finder toolbar.
Figure 4-1. To add an icon to the Dock, simply drag it there. You haven't moved the original file; when you release the mouse, it remains where it was. You've just installed a pointer—like a Macintosh alias or Windows shortcut.
Here are a few aspects of the Dock that may throw you at first:
It has two sides. See the whitish dotted line running down the Dock? That's the divider (Figure 4-1). Everything on the left side is an application—a program. Everything else goes on the right side: files, documents, folders, disks, and minimized windows.
It's important to understand this division. If you try to drag an application to the right of the line, for example, Mac OS X teasingly refuses to accept it. (Even aliases observe that distinction. Aliases of applications can go only on the left side, and vice versa.)
When you're trying to find a certain icon in the Dock, run your cursor slowly across the icons without clicking; the icon labels appear as you go. You can often identify a document just by looking at its icon.
Folders and disks sprout stacks. If you click a folder or disk icon in the right side of the Dock, a list of its contents sprouts from the icon. It's like X-ray vision without the awkward moral consequences. Turn the page for details on stacks.
Programs appear there unsolicited. Nobody but you (and Apple) can put icons on the right side of the Dock. But program icons appear on the left side of the Dock automatically whenever you open a program, even one that's not listed in the Dock. Its icon remains there for as long as it's running.
The Dock's translucent, reflective look is something to behold. Some people actually find it too translucent. But using TinkerTool, you can tone down the Dock's translucence—a great way to show off at user group meetings. See TinkerTool: Customization 101 for details.
You can move the tiles of the Dock around by dragging them horizontally. As you drag, the other icons scoot aside to make room. When you're satisfied with its new position, drop the icon you've just dragged.
To remove a Dock icon, just drag it away. (You can't remove the icons of the Finder, the Trash, the Dock icon of an open program, or any minimized document window.) Once your cursor has cleared the Dock, release the mouse button. The icon disappears, its passing marked by a charming little puff of animated cartoon smoke. The other Dock icons slide together to close the gap.
You can replace the "puff of smoke" animation with one of your own, as described on Replacing the Poof.
Something weird happens if you drag away a Dock program's icon while that program is running. You don't see any change immediately, because the program is still open. But when you quit the program, you'll see that its previously installed icon is no longer in the Dock.
A stack is what you get when you click a disk or folder icon on the Dock—and it's one of Leopard's marquee new features. The effect is shown in Figure 4-2.
In essence, Mac OS X is fanning out the folder's contents so you can see all of them. If it could talk, it would be saying, "Pick a card, any card."
You can change how the icons in a particular stack fan are sorted: alphabetically, chronologically, or whatever. Just choose "Sort by" from the Dock folder's shortcut menu, and choose from the submenu. Your choices are Name, Date Added (to the Dock), Date Modified, Date Created, or Kind.
Sometimes there are too many icons in a folder to fit in a fan. In that case, the stack becomes a grid instead (Figure 4-2, bottom). The grid, of course, holds many more icons than the fan, although it's not as pretty.
Figure 4-2. Top: When you click the icon of a folder or disk on the Dock (just one single click), you get this effect: a rainbow that shows what's inside. Click an icon to open it, just as though you'd double-clicked it in a window. You can even Option-click one icon after another, opening them all while the stack remains arrayed before you. Or grab an icon and drag it right out of the stack—into another window, say. Bottom: If there are too many icons to fit in the arc (as determined by your monitor size), you get this grid instead. Alas, here, too, space is limited. If there are more than fits on the grid, click the "35 more in Finder" icon at the lower right. You go to the folder's regularly scheduled window, where you can see the complete list of icons)
But you can force a certain Dock folder to sprout a fan or a grid all the time, rather than letting Mac OS X decide. From the Dock folder's shortcut menu (Stacks), choose View As→Fan or View As→Grid.
From now on, you'll always get the fan, or always get the grid.
Both the grid and the fan have limited storage space for icons. (The exact number depends on your monitor size. In any case, if there are too many icons to display at once, the last icon says, "24 more in Finder" (or whatever the number is). Click that icon to open the folder's regular window, where all the contents are available.
Of course, then you've defeated the fan's step-saving purpose.
The ideal solution, of course, would be what Mac OS X had in 10.0 through 10.4: a simple pop-up list of everything in a Dock folder. That's exactly what you get with the free program Quay, available for download from this book's "Missing CD" at www.missingmanuals.com
When you first install Mac OS X 10.5, you get a couple of starter stacks just to get you psyched. One is called Downloads; the other is Documents. (Both of these folders are physically inside your Home folder. But you may well do most of your interacting with them on the Dock.)
Files you download from the Web using Safari
Files you receive in an iChat file-transfer session
File attachments you get via email using Mail.
Unless you intervene, they're sorted by the date you downloaded them.
It's handy to know where to find your downloads, and nice not to have them all cluttering your desktop.
The solution is simple: Put an alias of the folder on the Dock instead of the folder itself. Its icon will never change. (Folder aliases don't open into stacks or hierarchical contents menus, however.)
Once a fan or grid is on the screen, you can highlight any icon in it by typing the first few letters of its name. For example, once you've popped open your Applications-folder stack, you can highlight Safari (for example) by typing sa. (Press Enter or Return to open the highlighted icon.)
If you just want to see what's in a folder, without all the graphic overkill of the fan or thegrid, choose Open "Applications" (or whatever the folder's name is) from the Dock folder's shortcut menu (Stacks). You go straight to the corresponding window.
Another possibility: ⌘-click the folder's icon. You jump immediately to the window that contains that folder's icon. That's not exactly the same thing as opening the Dock folder, but it's sometimes even more useful.
The bottom of the screen isn't necessarily the ideal location for the Dock. All Mac screens are wider than they are tall, so the Dock eats into your limited vertical screen space. You have three ways out: Hide the Dock, shrink it, or rotate it 90 degrees.
You also find this on/off switch when you choose →Dock→Dock Preferences (Figure 4-3), or when you click the System Preferences icon in the Dock, and then the Dock icon. (System Preferences contains much more about the System Preferences program.)
When the Dock is hidden, it doesn't slide into view until you move the cursor to the Dock's edge of the screen. When you move the cursor back to the middle of the screen, the Dock slithers out of view once again. (Individual Dock icons may occasionally shoot upward into Desktop territory when a program needs your attention—cute, very cute—but otherwise, the Dock lies low until you call for it.)
On paper, an auto-hiding Dock is ideal; it's there only when you summon it. In practice, however, you may find that the extra half-second the Dock takes to appear and disappear makes this feature slightly less appealing.
Depending on your screen's size, you may prefer smaller or larger Dock buttons. The official way to resize them goes like this: Choose →Dock→Dock Preferences. In the resulting dialog box, drag the Dock Size slider, as shown in Figure 4-3.
Figure 4-3. To find a comfortable setting for the Magnification slider, choose →Dock→Dock Preferences. Leave the Dock Preferences window open on the screen, as shown here. After each adjustment of the Dock Size slider, try out the Dock (which still works when the Dock Preferences window is open) to test your new settings.
There's a much faster way to resize the Dock, however: Just position your cursor carefully in the Dock's divider line, so that it turns into a double-headed arrow (shown in Figure 4-4). Now drag up or down to shrink or enlarge the Dock.
Figure 4-4. Look closely—you can see the secret cursor that resizes the Dock. If you don't see any change in the Dock size as you drag upward, you've reached the size limit. The Dock's edges are already approaching your screen sides.
If you press Option as you drag, the Dock snaps to certain canned icon sizes+0151those that the programmer actually drew. (You won't see the in-between sizes that Mac OS X generally calculates on the fly.)
As noted in Figure 4-4, you may not be able to enlarge the Dock, especially if it contains a lot of icons. But you can make it almost infinitely smaller. This may make you wonder: How can you distinguish between icons if they're the size of molecules?
The answer lies in the →Dock→Turn Magnification On command. What you've just done is trigger the swelling effect shown in Figure 4-3. Now your Dock icons balloon to a much larger size as your cursor passes over them. It's a weird, magnetic, rippling, animated effect that takes some getting used to. But it's another spectacular demonstration of the graphics technology in Mac OS X, and it can actually come in handy when you find your icons shrinking away to nothing.
New in Leopard: on-the-fly magnifying!
If you press Shift-Control as your cursor approaches the Dock, the icons swell into magnification mode even if magnification is turned off in the →Dock menu. (The icons swell to whatever maximum size you specified in System Preferences (Figure 4-3).
You'll probably find that the right side of your screen works better than the left. Most Mac OS X programs put their document windows against the left edge of the screen, where the Dock and its labels might get in the way.
When you position your Dock vertically, the "right" side of the Dock becomes the bottom of the vertical Dock. In other words, the Trash now appears at the bottom of the vertical Dock. So as you read references to the Dock in this book, mentally substitute the phrase "bottom part of the Dock" when you read references to the "right side of the Dock."