If you followed this hint to create a Recent Items stack in the 10.5 Dock, you know that by default it shows or lists five items.
Now, if you're like me, you'll think it looks silly with a row of three on the top and only two on the bottom. To change it so that there are six items listed, go to the Terminal and type this:
defaults write com.apple.recentitems ABC -dict MaxAmount nn
Replace ABC with either Applications or Documents, and replace nn with an even number. Your stack (and the Recent Items menu) should now have an even number of entries.
[robg adds: You can use the Appearance System Preferences panel to specify certain numbers of recent items, but the above command gives you precise control. When I tried it, however, the results weren't predictable. Sometimes it seemed it worked, sometimes it seemed that whatever value I had previously set in the Appearance pane seemed to stick, and sometimes both values were ignored and the recent items stack showed only five items. Restarting the Dock sometimes seemed to help, sometimes not. If anyone can get this working reliably, please comment.]

