Continuing our recent how-to focus on customizing the macOS Dock, in this article we're going to share with you a method for adding a recent or favorite items stack to the right of the Dock divider.

macos dock recent apps stack
Most users are aware that you can drag any folder into the right-hand side of the Dock to turn it into a stack, but the following lesser-known trick creates a unique stack type containing your most recently opened applications, documents, or servers.

Alternatively, you can also set this unique type of stack to show the Favorite folder locations and Device links that appear in your Finder's sidebar.

favorite finder locations dock stack
Unfortunately, you can't use stacks if you have the Dock set up to show only actively running apps. With that caveat in mind, simply follow the steps below to create the stack type that best suits your workflow. Just bear in mind that Terminal is a powerful app, so make sure you enter the commands properly, especially if you're not familiar with it.

How to Create a Recent or Favorite Items Stack

  1. Launch the Terminal app found in Applications/Utilities. (To quickly open the Utilities folder in Finder, select Go -> Utilities from the menu bar, or use the key shortcut Shift-Command-U.)

  2. Copy the following command text and paste it into Terminal at the prompt, then press Enter: defaults write com.apple.dock persistent-others -array-add '{"tile-data" = {"list-type" = 1;}; "tile-type" = "recents-tile";}'; killall Dock
    recent apps stack dock terminal command

  3. Repeat the command (hit the up arrow and press Enter) to create additional recent or favorite stacks in the Dock as required.

  4. To choose whether a new stack contains certain types of favorite items or recent items, right-click (or Ctrl-click) the stack and select one of the options in the pop-up menu.
    select recent or favorite item dock stack

  5. To change the default Grid view, right-click (or Ctrl-click) the stack and select one of the other options under View content as in the pop-up menu.

Note that you can change the number of items shown in a recent items stack in the following way: Click the Apple () logo in the menu bar, select System Preferences..., open the General preference pane, and choose another number from the Recent items dropdown menu.

recent items shown system preference
To remove a Recent or Favorite Items stack from your Dock, simply right-click (or Ctrl-click) it and select Remove from Dock. Alternatively, click and drag the stack out of the Dock then let go of the mouse button to delete it.

Top Rated Comments

sipkhoon Avatar
37 months ago
I upgraded my iMac to macOS 10.15 Catalina, and my recently used apps Stacks on the Dock was removed. Failed to add it back using the terminal command.
Score: 2 Votes (Like | Disagree)
CJM Avatar
57 months ago
[doublepost=1522662568][/doublepost]Alternately, especially if your not a geek, you can download the 'Onyx', a free app from such sites as MacUpdate and just click a box that is listed under the 'Parameters' heading and the sub-heading 'Dock. It also allows you to put the folder on the left side. I also believe 'Tinker Tool' which is a free subset APP of 'Onyx' and just contains the 'Parameters' tool.
Best to use as few apps as possible.

Thanks for the tip, Macrumors. I find that choosing 'recent servers' shows duplicates. I wonder if there's a way to prevent that.
Score: 1 Votes (Like | Disagree)
abelara@gmail.c Avatar
37 months ago

I upgraded my iMac to macOS 10.15 Catalina, and my recently used apps Stacks on the Dock was removed. Failed to add it back using the terminal command.
Same with my MBP. Sadly.

Anyone have a work around? Over the years I've really become used to having a stack with my recent docs. Would love a way to get it back.
Score: 1 Votes (Like | Disagree)

Popular Stories

iPhone 14 Pro Lineup Feature Purple

Apple Planning to Hold iPhone 14 Event on September 7

Wednesday August 17, 2022 9:51 am PDT by
Apple is aiming to hold its first fall event on Wednesday, September 7, reports Bloomberg's Mark Gurman. The event will focus on the iPhone 14 models and the Apple Watch Series 8. The standard iPhone 14 models are expected to get few changes, but the iPhone 14 Pro models will include updated camera technology, the removal of the notch in favor of a pill-shaped and hole-punch cutout, an A16...
iOS 15

Apple Releases iOS 15.6.1 and iPadOS 15.6.1 With Bug Fixes

Wednesday August 17, 2022 9:50 am PDT by
Apple today released iOS and iPadOS 15.6.1, minor updates to the iOS and iPadOS 15 operating systems initially released in September 2021. iOS 15.6.1 and iPadOS 15.6.1 come a month after Apple released iOS 15.6 and iPadOS 15.6 with new Live Sports features and bug fixes. The iOS 15.6.1 and iPadOS 15.6.1 updates can be downloaded for free and the software is available on all eligible devices...
10th Generation iPad Render

10th-Generation iPad With Major Design Changes Reportedly in Production Ahead of September Launch

Monday August 15, 2022 8:02 pm PDT by
Apple's rumored 10th-generation iPad is currently in production and will feature "major" design changes, according to a report from Taiwanese website DigiTimes. A mockup of the potential 10th-generation iPad design by Renders By Shailesh The report did not provide any specific details about the 10th-generation iPad's new design, but rumors suggest the device will feature a larger 10.5-inch...
airpods pro black background

AirPods Pro 2: Five New Features and Improvements to Expect

Sunday August 14, 2022 3:28 pm PDT by
Apple's second-generation AirPods Pro are finally nearing launch, with a release expected later this year. If you are considering upgrading to the new AirPods Pro once they are released, keep reading for a list of five new features to expect. In addition to all-new features, the second-generation AirPods Pro will likely adopt some features added to the standard AirPods last year. H2 Chip ...
Apple Watch Series 3 v 8 1

Apple Watch Series 3 vs. Apple Watch Series 8: 20 Major New Features and Changes for Customers Upgrading

Tuesday August 16, 2022 6:52 am PDT by
It's crazy to think about, but next month will mark five years since Apple announced the Apple Watch Series 3. Despite being a severely antiquated smartwatch, the Series 3 has remained at the bottom of Apple's lineup for $199. Suppose you're still holding on to your Apple Watch Series 3. In that case, this article will list all the major new features and changes you'll get if you decide to...
ios 16 lock screen feature2

Apple Seeds Sixth Betas of iOS 16 and iPadOS 16 to Developers [Update: Public Beta Available]

Monday August 15, 2022 10:04 am PDT by
Apple today seeded the sixth betas of upcoming iOS 16 and iPadOS 16 updates to developers for testing purposes, with the updates coming a week after Apple released the fifth developer betas. Registered developers can download the iOS and iPadOS 16 profiles from the Apple Developer Center, and once installed, the betas will be available over the air. iOS 16 introduces a revamped Lock...