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
67 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
87 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
67 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

New Things Your iPhone Can Do in iOS 18

18 New Things Your iPhone Can Do in iOS 18.2

Wednesday November 13, 2024 2:09 am PST by
Apple is set to release iOS 18.2 next month, bringing the second round of Apple Intelligence features to iPhone 15 Pro and iPhone 16 models. This update brings several major advancements to Apple's AI integration, including completely new image generation tools and a range of Visual Intelligence-based enhancements. There are a handful of new non-AI related feature controls incoming as well....
M4 MacBook Pros Thumb

M4 MacBook Pro Uses Quantum Dot Display Technology

Thursday November 14, 2024 4:19 pm PST by
The M4 MacBook Pro models feature quantum dot display technology, according to display analyst Ross Young. Apple used a quantum dot film instead of a red KSF phosphor film, a change that provides more vibrant, accurate color results. Young says that Apple has opted for KSF for prior MacBook Pro models because it doesn't use toxic element cadmium (typical for quantum dot) and is more...
AirPods Crackling Feature

Apple Customers Sue Over Unfixed AirPods Pro Crackling Issue

Wednesday November 13, 2024 11:01 am PST by
A trio of Apple customers this month filed a class action lawsuit against Apple, accusing the Cupertino company of violating California consumer protection laws and false advertising for continuing to sell AirPods Pro models that had ongoing issues with crackling or static sounds. A few months after the AirPods Pro came out in October 2019, buyers began to complain about crackling, rattling, ...
google gemini

Google Releases Standalone Gemini AI App for iPhone

Thursday November 14, 2024 2:54 am PST by
Google has launched its dedicated Gemini artificial intelligence app for iPhone users, expanding beyond the previous limited integration within the main Google app. The standalone app offers enhanced functionality, including support for Gemini Live and iOS-specific features like Dynamic Island integration. The new app allows iPhone users to interact with Google's AI through text or voice...
maxresdefault

M4 Max MacBook Pro: Real-World Usage Tests

Wednesday November 13, 2024 11:59 am PST by
Apple last week replaced the M3 Max MacBook Pro with the new M4 Max MacBook Pro, and we picked up one of the new high-end MacBook Pro machines to see how it compares to the prior model with both benchmarks and real-world tests. We tested an M4 Max with a 16-core CPU, 40-core GPU, and 48GB RAM against an M3 Max MacBook Pro with similar specs. The two machines look similar, but the display on...
iphone passcode green

iOS 18 Security Feature Causes iPhone to Reboot After Three Days of Inactivity

Thursday November 14, 2024 2:19 pm PST by
With iOS 18, Apple introduced a feature that causes the iPhone to reboot every three days, security researchers have confirmed (via TechCrunch). In a demo video, security researcher Jiska Classen proved that an iPhone left untouched for 72 hours will automatically restart, and Graykey manufacturer also Magnet Forensics wrote a blog post about the feature. After a reboot, an iPhone is more...