How to add a "recent or favorite items stack to MacBook dock"

In Mojave I could copy and paste this terminal command to add a recent or favorite items stack to the dock. The code and instructions were posted on macrumors April 2, 2018.


  1. 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

The output looks like this


Does anyone know if this works for Sonoma?




MacBook Air 13″, macOS 14.7

Posted on Mar 7, 2025 08:31 PM

Reply
6 replies

Mar 10, 2025 06:22 AM in response to MAW01

MAW01 wrote:

In Mojave I could copy and paste this terminal command to add a recent or favorite items stack to the dock. The code and instructions were posted on macrumors April 2, 2018.

Copy the following command text and paste it into Terminal at the prompt, then press Enter: 1. defaults write com.apple.dock persistent-others -array-add '{"tile-data" = {"list-type" = 1;}; "tile-type" = "recents-tile";}'; killall Dock
The output looks like this
https://images.macrumors.com/t/pWvdF94BkTKqquKVQM21Eb1BN88=/400x0/article-new/2018/03/select-recent-or-favorite-item-dock-stack-800x522.jpg?lossy
https://discussions.apple.com/content/attachment/bb10a27c-17de-4b7c-93a7-15877ce3b770

Does anyone know if this works for Sonoma?




?


try and see— what are your results. Post back your conclusion...


if you Control click in the Finder sidbear—will give the option





This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to add a "recent or favorite items stack to MacBook dock"

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.