This article originally appeared in TidBITS on 2017-03-06 at 9:28 a.m.
The permanent URL for this article is:
Include images: Off

macOS Hidden Treasures: Dominate the Dock

by Josh Centers

The Dock has been a core aspect of the Mac experience since the earliest days of Mac OS X. In fact, the Dock actually predates Mac OS X, since it was also prominent in NeXTSTEP. It displays open applications, offers a quick way to launch favorite apps, and holds shortcuts for documents and folders.

You’ve probably used the Dock so often and for so long that you don’t think about it. We’ll explain everything the Dock does, from the basics to tweaky capabilities that may be new to you.

Today’s Dock is split into three sections, marked by dividing lines: Handoff, apps, and a third area that contains documents, folders, and the Trash.

Using Handoff in the Dock -- Let’s dispense with Handoff first, since it’s a one-trick pony and not something that many Mac users who we know use.

The Handoff section contains only a single icon and appears only if your Mac is receiving a Handoff signal from another iOS device or Mac.

For instance, if you open a Web page in Safari on a compatible iPhone, you might see a Safari icon at the left or top of your Dock. Click that icon to open the iPhone’s Web page in Safari on your Mac. You might also see icons for Mail, Reminders, or other Handoff-savvy apps.

[image link] [1]

For more on Handoff, check out Scholle McFarland’s “Sierra: A Take Control Crash Course [2],” which has an entire chapter about it.

Opening and Switching to Apps via the Dock -- More commonly, the first section of your Dock contains apps that are either currently open or that you have saved to the Dock for quick access. Clicking an app either opens it or switches to it. In macOS 10.12 Sierra, open apps are denoted by a small dot underneath the icon (or on its side, if you’ve moved your Dock to the left or right edge of the screen). In earlier versions, the Dock gave open apps other markings, such as triangles.

If you don’t recognize an icon in the Dock, hover your mouse pointer over the icon and a tooltip appears showing the app name. This also works for documents and folders, where it’s even more useful, since their icons are often somewhat generic.

When your goal is to end up with a particular document open in an app, a more efficient way to open or switch to that app is to drop a compatible file onto it. For example, if you drag a text file from the Finder and drop it on TextEdit’s Dock icon, TextEdit opens with that document.

If you see an app icon with a question mark, it means that the source file has been deleted, thus breaking the Dock’s alias. You’ll need to figure out what happened to it in the Finder.

Although it’s hard to imagine anyone bothering to do this, you can also open an app via its contextual menu. Access it by clicking and holding, Control-clicking, right-clicking, or force-touching the Dock icon, and then choose Open.

Other App Actions from the Dock -- Although the contextual menu is a silly way to open an app, it provides access to a wide variety of more useful actions that you can perform on apps:

Docs and Minimized Windows in the Dock -- The Dock can also hold documents and minimized windows. To add a document, or, again, an alias to that document, to the Dock, drag it to the right side of the Dock, to the right of the divider. If your Dock is vertical, drop at the bottom, below the divider.

Click a document icon in the Dock to open it. The contextual menu offers a few extra options, but not many: Remove from Dock, Open at Login, and Show in Finder, the last of which is more useful than it is with apps.

You can even add Web shortcuts to the Dock. In Safari, click in the URL bar to reveal the full URL. Click and drag the favicon at the left of the URL bar down to the document section of the Dock to add a bookmark to that Web page to the Dock. This technique also works in Google Chrome and Firefox.

When you minimize a window, either by clicking the yellow minimize icon or choosing Window > Minimize, it shrinks into the same section of the Dock. Click a minimized window to expand it again. The contextual menu doesn’t offer any options for minimized windows other than opening them, and opening a minimized window is the only way to remove it from the Dock for good. Note that minimized windows look just like thumbnails of their windows with their app’s icon as a small badge — the badge differentiates a minimized window from a document icon.

Working with Folders in the Dock -- Just as with documents, you can drag and drop folders to the right or bottom of the Dock. Clicking the folder in the Dock reveals a preview of the folder’s contents, but if you Command-click the folder, it instead opens in the Finder. You can also drag Finder items into a Dock folder to move them into that folder.

The Dock’s contextual menu for folders offers several options that let you customize how folders display in the Dock. First, you can set how the Dock preview sorts documents in the folder: by Name, Date Added, Date Modified, Date Created, or Kind.

You can also choose whether the folder appears in the Dock as a folder or a stack. Displaying it as a folder uses the same blue folder icon as in the Finder, while the stack shows a stacked preview of the files in the folder. This is purely an aesthetic choice, although the contents of some folders may lend themselves to one approach or the other.

More interesting is how you can customize the folder preview. Fan, which is an option only when the Dock is positioned at the bottom of the screen, shows the enclosed files in a curved stack with icon previews. Grid shows preview icons for the folder’s contents in a rectangle. List shows just a pop-up menu of file and folder names, and Automatic tries to choose which display to use based on how many items are in the folder.

Grid view is the most useful in general. It clearly shows all the files and folders in a format that’s easy to scan. You can also scroll through the files to see everything. Fan view shows too few items and is just strange, while List view is a bit too bare bones.

[image link] [5]

The Grid and List views also let you navigate into nested folders. Click a folder to reveal its contents in the Grid view; you can click the back button to go up one level. In List view, you can access nested folders via a hierarchical menu.

The main thing you’ll do in any of these views is open files and folders by clicking or selecting them. However, in Grid view, you can also drag files and folders from the preview to the Desktop, other folders, apps, and more.

Working with Trash in the Dock -- Since the advent of Mac OS X, the Trash has lived in the Dock. It’s simple to use: click the Trash icon to open the Trash in the Finder, drag items to the Trash to delete them, and to empty the Trash, Control-click its icon and choose Empty Trash. Obviously, there are other ways of deleting files (we like pressing Command-Delete) and emptying the Trash (choose Finder > Empty Trash).

[image link] [6]

If you have an external drive that you want to dismount, or some form of removable storage (like a DVD) that you want to eject, start dragging it and the Trash icon becomes an Eject icon. It’s not intuitive, but matches the classic Mac behavior of dragging floppies to the Trash to eject them. You can also select the drive and choose File > Eject or press Command-E.

Customizing the Dock’s Look and Feel -- There are a handful of ways you can customize how the Dock as a whole looks and works. To get started, open System Preferences > Dock. You can also access the Dock preference pane by Control-clicking the divider between the app and document sections of the Dock and choosing Dock Preferences (when you mouse over the divider, the mouse pointer turns into a double-ended arrow).

[image link] [7]

The first setting is the size slider. If you have the screen real estate, larger is usually better. At its largest size, the Dock automatically scales to the size of the screen based on how many icons it contains.

[image link] [8]

You can also resize the Dock directly. Move the mouse pointer over the divider between the app and document sections until it becomes a double-ended arrow. Click and drag to adjust the Dock size.

Next, you can choose to turn on magnification and set how large you want the magnified icons to be. When magnification is enabled, Dock icons enlarge as you mouse over them. It’s a cool effect that makes it easy to see icons that would otherwise be small.

The third option lets you change the position of the Dock — it’s perhaps the most important setting. By default, the Dock is displayed horizontally on the bottom of the screen. However, that’s almost always an inefficient use of space since nearly all screens are wider than they are tall, whereas most document windows are taller than they are wide. That leaves extra space on the sides of your screen, so it makes sense to pin your Dock vertically on the right or left.

Which side is better? Adam Engst prefers the right side because he uses two monitors, and positioning the Dock on the right side of the right-hand monitor prevents it from showing up awkwardly in the middle of the Desktop. Apple also offers a bit of guidance here. On the iPhone Plus models, when the phone is in landscape orientation, the iOS Dock appears on the right side of the screen. That makes sense in macOS too, since it keeps the Trash in the lower right of the screen.

The remaining Dock preferences provide mostly cosmetic tweaks:

Outside of the Dock preference pane, System Preferences offers a few more relevant settings:

The Dock is easy to take for granted, but it’s a key part of your everyday Mac experience. Mastering its nuances will help you work faster, more comfortably, and more efficiently. That’s all we can think of to share about the Dock, but it’s entirely possible that we’ve missed something. If so, let us know in the comments.