# 2D Dock defaults write com.apple.dock no-glass -bool true # Disable menu bar transparency defaults write -g AppleEnableMenuBarTransparency -bool false # Expand save panel by default defaults write -g NSNavPanelExpandedStateForSaveMode -bool true # Expand print panel by default defaults write -g PMPrintingExpandedStateForPrint -bool true # Disable shadow in screenshots defaults write com.apple.screencapture disable-shadow -bool true # Enable highlight hover effect for the grid view of a stack (Dock) defaults write com.apple.dock mouse-over-hilte-stack -bool true # Disable Safari’s thumbnail cache for History and Top Sites defaults write com.apple.Safari DebugSnapshotsUpdatePolicy -int 2 # Remove useless icons from Safari’s bookmarks bar defaults write com.apple.Safari ProxiesInBookmarksBar "()" # Disable Lion’s press-and-hold for keys in favor of key repeat defaults write -g ApplePressAndHoldEnabled -bool false # Disable OS X Lion auto-correct defaults write NSGlobalDomain NSAutomaticSpellingCorrectionEnabled -bool false # Reset Launchpad rm ~/Library/Application\ Support/Dock/*.db # Show the ~/Library folder chflags nohidden ~/Library # Disable local Time Machine backups sudo tmutil disablelocal # Kill applications killall Safari && killall Finder && killall Dock # Fix for the ancient UTF-8 bug in QuickLook (http://mths.be/bbo) echo "0×08000100:0" > ~/.CFUserTextEncoding