Hidden Features

The defaults command in Terminal can modify hidden OS X features.

# Reduce notification banner display time (requires restart)
# See: http://osxdaily.com/2014/01/29/change-notifications-banner-time-mac-os-x/
defaults write com.apple.notificationcenterui bannerTime 1.5

# -----------------------------------------------

# Save to disk (not to iCloud) by default
defaults write NSGlobalDomain NSDocumentSaveNewDocumentsToCloud -bool false

# Remove duplicates in the “Open With” menu (also see `lscleanup` alias)
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user

# -----------------------------------------------

# Disable shadow in screenshots of windows
defaults write com.apple.screencapture disable-shadow -bool true