How to Add a Recent or Favorite Items Stack to Your Mac's Dock

by

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.


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.


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

  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.

  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.


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

(View all)
Avatar
9 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)
Avatar
28 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)
Avatar
8 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)

Top Stories

Apple Releases macOS Catalina 10.15.5 With Battery Health Management Features, Fix for Finder Freezing

Tuesday May 26, 2020 1:59 pm PDT by
Apple today released macOS Catalina 10.15.5, the fifth update to the macOS Catalina operating system that was released in October 2019. macOS Catalina 10.15.5 comes two months after the launch of macOS Catalina 10.15.4, which introduced Screen Time Communication Limits. macOS Catalina 10.15.5 is a free update that can be downloaded from the Mac App Store using the Update feature in the...

Leaker Shares Details on 'iPhone 13' Camera [Updated]

Wednesday May 27, 2020 4:27 pm PDT by
The next-generation iPhone 12 lineup coming in fall 2020 isn't out yet, but Fudge (@choco_bit), a leaker who sometimes shares information on upcoming Apple devices, today offered up details on what Apple has in store for the 2021 iPhone 13's camera setup. A simple design drawing depicts a device with a four camera array, which Fudge claims will have the following features: 64-megapixel...

Leaker: Apple to Stick With Lightning Over USB-C for 'iPhone 12' Before Going Port-Less Next Year

Tuesday May 26, 2020 2:31 am PDT by
Apple will use a Lightning port instead of USB-C in the upcoming "iPhone 12," but it will be the last major series of Apple's flagship phones to do so, with models set to combine wireless charging and a port-less Smart Connector system for data transfer and syncing in the iPhone "13 series" next year. The above claim comes from occasional Apple leaker and Twitter user "Fudge" (@choco_bit),...

16-Inch MacBook Pro, iPad Pro, and iMac Pro With Mini-LED Displays Again Rumored to Launch in 2021

Tuesday May 26, 2020 5:30 am PDT by
Apple plans to release several higher-end devices with Mini-LED displays in 2021, including a new 12.9-inch iPad Pro in the first quarter, a new 16-inch MacBook Pro in the second quarter, and a new 27-inch iMac in the second half of the year, according to Jeff Pu, an analyst at Chinese research firm GF Securities. This timeframe lines up with one shared by analyst Ming-Chi Kuo, who recently...

Apple Begins Selling Refurbished iPhone XR Models

Thursday May 28, 2020 9:50 pm PDT by
Apple today began selling certified refurbished iPhone XR models in select colors and capacities for the first time in the United States. Refurbished iPhone XR models are priced at a roughly 16 percent discount compared to current pricing on brand-new units, knocking $100–120 off of the regular price. In addition to the 64GB and 128GB capacities matching current brand-new iPhone XR models, ...

Apple Making It Harder to Avoid Nagging macOS Update Notifications

Thursday May 28, 2020 8:13 am PDT by
With the release of macOS Catalina 10.15.5 and related security updates for macOS Mojave and High Sierra earlier this week, Apple is making it more difficult for users to ignore available software updates and remain on their current operating system versions. Included in the release notes for macOS Catalina 10.15.5 is the following:- Major new releases of macOS are no longer hidden when...

HBO Max Now Available on Apple TV and iOS Devices

Wednesday May 27, 2020 2:42 am PDT by
HBO Max launched today, and is now available on Apple TV, iPhone, and iPad. WarnerMedia's new streaming service, which replaces HBO Now, combines HBO content with shows and films from Warner Bros and Turner TV. The service is available as a native app on the ‌Apple TV‌ HD and ‌Apple TV‌ 4K, but second and third-generation ‌Apple TV‌ owners will need to AirPlay HBO Max content...

Powerbeats Pro Debut in Four New Colors: Spring Yellow, Cloud Pink, Lava Red, and Glacier Blue

Friday May 29, 2020 10:00 am PDT by
Following a couple of leaks in recent weeks, Beats today is officially announcing four new colors for its Powerbeats Pro wireless earphones: Spring Yellow, Cloud Pink, Lava Red, and Glacier Blue. The new earphones will go on sale June 9 and sell for the same $249.95 price as the existing color options. Aside from the colors, the new Powerbeats Pro models are otherwise identical to the...

Anker Launches $100 24K Gold-Plated USB-C to Lightning Cable

Wednesday May 27, 2020 12:47 pm PDT by
Anker, a brand normally known for its well-made, affordable accessories for Apple devices, has debuted a new $100 24K gold-plated USB-C to Lightning cable. According to Anker, the cable, which is in the PowerLine+ III family, features a "Special Edition Gold Design" that's "bold yet elegant" with the aforementioned gold-plated cable heads and matching braided gold and black cable. The...

More Photos and Video of Apple's Redesigned Leather Loop Watch Band Surface

Thursday May 28, 2020 10:50 am PDT by
Images of a new version of the Leather Loop that Apple appears to have in development surfaced yesterday, and today, Vietnamese site Tinhte.vn has shared additional photos and videos that give us a clearer picture of what to expect from the new band. The bands come in colors that include red, hot pink, blue, black, and brown, with some of the bands featuring different colored accents at the...