How to Add a Recent Items Menu Stack to the Dock of Mac OS X

Apr 15, 2011 - 13 Comments

Adding a Recent Items dock menu item to OS X

You can add a Recent Items menu Stack to the Mac OS X Dock by using a defaults write command. The default is set to “Recent Applications” but once the Dock item exists you can adjust it to feature other recent items too, like Recent Files, Recent Items, Recent Servers.

This is a neat feature that works in all versions of OS X, so let’s show you how to enable it with a defaults string from the command line.

How to Enable a Recent Items Dock Item in Mac OS X

Launch the terminal found in /Applications/Utilities/.

Copy and paste the following syntax onto a single line at the terminal prompt, be sure it’s all on the same line, you can type it out if you want to as well but the syntax is a little programmatic in appearance which could make it cumbersome to write out to some users:

defaults write persistent-others -array-add '{ "tile-data" = { "list-type" = 1; }; "tile-type" = "recents-tile"; }'

That needs to all be on a single line, so if you copy and paste it make sure the command is one string. Hit enter to execute the command.

You will then need to kill the Dock, this allows the change to take effect:

killall Dock

Now right-click on the newly appeared ‘Recent Applications’ Dock item, it will have appeared next to the Trash icon. You can change it to be Recent Applications, Recent Documents, Recent Servers, Favorite Volumes, or Favorite Items.

This menu item will stick around in the Dock as long as you want it to.

If you want to remove the Recent Items menu, just drag it out of your Dock like any other Dock item in OS X.

Neat huh? Thanks to Sean for the submission, if you know of any other cool tricks or defaults commands, be sure to let us know!

Enjoy this tip? Subscribe to the OSXDaily newsletter to get more of our great Apple tips, tricks, and important news delivered to your inbox! Enter your email address below:

Related articles:

Posted by: William Pearson in Mac OS X, Tips & Tricks


» Comments RSS Feed

  1. Timothy says:

    That is sooooo Cool thanks

  2. Gnuut says:

    And what would one do to remove it? Just drag it out of the dock?

  3. Patrick says:

    That’s nice but it doesn’t work.
    Here is the output:
    -bash: syntax error near unexpected token `}’

    I just copied the code and it’s only one line.
    What do I wrong?

  4. RevBT says:

    this was awesome. The only thing I wish I could do was have both recent apps and recent documents in the same folder. otherwise it would be sweet, but I just did the terminal thing twice so I have one of each. Thank you.

  5. Adam Hintz says:

    This seems to work for me, in that I get the dock icon, but nothing gets added to it, seemingly. How often does it update? Do I need to restart?

  6. David says:

    It worked great, but after I shut my mac off and started it up this morning, it was gone. I did it again, and it showed up twice in my dock. so I guess it was there, but was not showing. Will see if it is there the next time I reboot

  7. Brotkruemel says:



  8. mate says:

    how to display as dictionary and not stack?

  9. Paul says:

    Excellent. The Apple Menu > Recent Items list is useless because it isn’t in reverse chronological order. This is in the proper order and is one less mouse click.

  10. ty says:

    Thank you so much i have been googling for this all day and havent found out how to get it but now i have recent applications so thank you so much

Leave a Reply


Shop for Apple & Mac Deals on

Subscribe to OSXDaily

Subscribe to RSS Subscribe to Twitter Feed Follow on Facebook Subscribe to eMail Updates