Disable recent items in Terminal
Since Lion, applications such as Quicktime and Preview have been caching recent items if I right-click them in the dock. Even if I clear my recent items these entries don't go away, does anyone know how do clear the "dock history"?
I found the the way that you can disable this from apps
here I did the same for Quicktime and a few other apps. It works great. Do all the apps you want then re-boot.
"Lion lists recent items with each application in the Dock (accessible via right-click) and in the Application View of Mission Control. To remove those and disable future additions, run the following commands in the Terminal. Note that to figure out the application's bundle identifier, you can open Activity Monitor, click the application in the list of processes and then click the Sample Process button. Then makes sure the Display: popup is set to Sample Text."
Sampling process 66975 for 3 seconds with 1 millisecond of run time between samples
Sampling completed, processing symbols...
Analysis of sampling VLC (pid 66975) every 1 millisecond
Process: VLC [66975]
Path: /Applications/VLC.app/Contents/MacOS/VLC
Load Address: 0x100000000
Identifier: org.videolan.vlc
Version: 1.1.11 (1.1.11)
Code Type: X86-64 (Native)
Parent Process: launchd [175]
[...]
"VLC's application bundle identifier is thus org.videolan.vlc.
Now, to disable recent item listing for VLC, you would issue the following commands in Terminal:"
defaults write org.videolan.vlc NSRecentDocumentsLimit 0
defaults delete org.videolan.vlc.LSSharedFileList RecentDocuments
defaults write org.videolan.vlc.LSSharedFileList RecentDocuments -dict-add MaxAmount 0
_____________________
Jaypiddy