I personally hate the shortcuts for placing programs on the dock. Because when there are more than seven icons on the dock, it is difficult to see the whole at a Glance-too many icons on the dock not only play a "quick" role, but are in the way. Therefore, the spotlight calling program is basically used (the reason I chose this method is that it allows my hands to complete the operation without opening the keyboard ); the dock only leaves two things that must be left, one is the leftmost finder, and the other is Vidalia, which has to be used in China (it is better to be on the dock, let me know its online status at any time ).
OS X provides the stack function from version 10.5, that is, the shortcut for placing a folder in the dock. Stack provides us with a good way to organize the dock. By default, there is a stack on the dock pointing to "~ /Download directory.
You can also open the Finder to the root directory of the hard disk and drag the "/Applications" icon to the dock. In this way, you can click the new stack, all application icons in the applications directory are displayed.
For those commonly used programs, you can create a separate stack for them: Create a new directory on the hard disk, and then set the corresponding application shortcut (OS X is called alias, the method is to hold down option + command and drag the corresponding application icon to the new location with the mouse or touch the disk) to this directory, then drag the new directory icon from the Finder to the dock.
Stack has three display modes: "fan", "Grid", and "list ". By default, it is "automatic", that is, if there are not many icons, a fan is used, and a grid is used when the Fan cannot be displayed. You can click Change settings on the double finger on the stack:
There is a particularly useful stack, "recently opened projects", the creation method is as follows:
1. Open terminal and enter the following command
defaults write com.apple.dock persistent-others -array-add '{ "tile-data" = { "list-type" = 1; }; "tile-type" = "recents-tile"; }'
2. Then enter "killall dock" (case sensitive)
Then you have an additional stack on the dock, where you can see the project you opened recently.
Link: http://www.lixiaolai.com/archives/10939.html