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
65 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
84 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
64 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

Generic iOS 18 Feature Real Mock

Apple Shares Full List of Over 250 New Features and Changes Coming With iOS 18

Wednesday September 11, 2024 7:16 am PDT by
Following its iPhone 16 event on Monday, Apple shared a PDF on its website with a list of all new features and changes coming with iOS 18. The list includes many features that were already announced, including Apple Intelligence, new customization options for the Home Screen and Control Center, a redesigned Photos app, several enhancements to the Messages app, a Passwords app, and more....
iphone 16 pro models 1

Skipping the iPhone 16 Pro? Here's What's Rumored for iPhone 17 Pro

Wednesday September 11, 2024 8:20 am PDT by
Will you be skipping the iPhone 16 Pro and waiting another year to upgrade? If so, we already have some iPhone 17 Pro rumors for you. Below, we recap key new features rumored for the iPhone 17 Pro models so far: 24MP front camera for all iPhone 17 models: All four iPhone 17 models will feature an upgraded 24-megapixel front-facing camera, according to Apple supply chain analysts Ming-Chi...
Beyond iPhone 13 Better Blue Face ID Single Camera Hole

10 Reasons to Wait for Next Year's iPhone 17

Friday September 13, 2024 2:40 am PDT by
Apple's iPhone development roadmap runs several years into the future and the company is continually working with suppliers on several successive iPhone models simultaneously, which is why we sometimes get rumored feature leaks so far ahead of launch. The iPhone 17 series is no different – already we have some idea of what to expect from Apple's 2025 smartphone lineup. If you plan to skip...
iphone 16 pro colors 1

Here's When iPhone 16 Pre-Orders Begin in Every Time Zone

Thursday September 12, 2024 6:12 am PDT by
Pre-orders for the iPhone 16, ‌iPhone 16‌ Plus, iPhone 16 Pro, and ‌iPhone 16 Pro‌ Max are set to begin on Friday, September 13 at 5:00 a.m. Pacific Time, with the new devices set to become available in multiple countries around the world simultaneously. We've compiled pre-order times for various countries to help MacRumors readers be among the first to order. This list isn't...
iphone 16 lineup colors

Apple Discontinues iPhone 15 Pro, iPhone 15 Pro Max and iPhone 13

Monday September 9, 2024 2:09 pm PDT by
With the launch of the new iPhone 16, iPhone 16 Plus, iPhone 16 Pro, and iPhone 16 Pro Max, Apple has discontinued some of its older iPhones. As of today, Apple is no longer selling the iPhone 13, and the iPhone 15 Pro and iPhone 15 Pro Max have been replaced with the iPhone 16 Pro and iPhone 16 Pro Max. The iPhone SE remains as Apple's most affordable device, with the iPhone 14 and iPhone...
airpods pro 2 pink

Apple Releases New AirPods Pro 2 Firmware With Support for iOS 18 Features

Tuesday September 10, 2024 11:40 am PDT by
Apple today released a new firmware update for the AirPods Pro 2, including both the Lightning and USB-C versions. The firmware has a build number of 7A294, up from 6F8, and it is available for all AirPods Pro 2 users. Apple has been beta testing this update, but it is launching ahead of when iOS 18 becomes available next Monday. There are multiple features that Apple is adding to the...