Thursday, October 13, 2011

Prevent Dock from showing Recent Files

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

defaults write com.apple.QuickTimePlayerX NSRecentDocumentsLimit 0
defaults delete com.apple.QuickTimePlayerX.LSSharedFileList RecentDocuments
defaults write com.apple.QuickTimePlayerX.LSSharedFileList RecentDocuments -dict-add MaxAmount 0

defaults write org.m0k.transmission NSRecentDocumentsLimit 0
defaults delete org.m0k.transmission RecentDocuments
defaults write org.m0k.transmission RecentDocuments -dict-add MaxAmount 0

defaults delete org.niltsh.MPlayerX.LSSharedFileList RecentDocuments
defaults write org.niltsh.MPlayerX NSRecentDocumentsLimit 0
defaults write org.niltsh.MPlayerX.LSSharedFileList RecentDocuments
defaults write org.niltsh.MPlayerX.LSSharedFileList RecentDocuments -dict-add MaxAmount 0

Source - http://simon.heimlicher.com/hints/macosx/disable_recent_items