Bin grade über eine umfangreiche (wenn auch nicht vollständige) "defaults write"-Liste gestolpert …

Show Plain Text
  1. # Enable full keyboard access for all controls (e.g. enable Tab in modal dialogs)
  2. defaults write NSGlobalDomain AppleKeyboardUIMode -int 3
  3.  
  4. # Enable subpixel font rendering on non-Apple LCDs
  5. defaults write NSGlobalDomain AppleFontSmoothing -int 2
  6.  
  7. # Enable the 2D Dock
  8. defaults write com.apple.dock no-glass -bool true
  9.  
  10. # Automatically hide and show the Dock
  11. defaults write com.apple.dock autohide -bool true
  12.  
  13. # Make Dock icons of hidden applications translucent
  14. defaults write com.apple.dock showhidden -bool true
  15.  
  16. # Enable iTunes track notifications in the Dock
  17. defaults write com.apple.dock itunes-notifications -bool true
  18.  
  19. # Add a spacer to the left side of the Dock (where the applications are)
  20. #defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type="spacer-tile";}'
  21. # Add a spacer to the right side of the Dock (where the Trash is)
  22. #defaults write com.apple.dock persistent-others -array-add '{tile-data={}; tile-type="spacer-tile";}'
  23.  
  24. # Disable menu bar transparency
  25. defaults write NSGlobalDomain AppleEnableMenuBarTransparency -bool false
  26.  
  27. # Show remaining battery time; hide percentage
  28. defaults write com.apple.menuextra.battery ShowPercent -string "NO"
  29. defaults write com.apple.menuextra.battery ShowTime -string "YES"
  30.  
  31. # Always show scrollbars
  32. defaults write NSGlobalDomain AppleShowScrollBars -string "Always"
  33.  
  34. # Allow quitting Finder via ⌘ + Q; doing so will also hide desktop icons
  35. defaults write com.apple.finder QuitMenuItem -bool true
  36.  
  37. # Disable window animations and Get Info animations in Finder
  38. defaults write com.apple.finder DisableAllAnimations -bool true
  39.  
  40. # Show all filename extensions in Finder
  41. defaults write NSGlobalDomain AppleShowAllExtensions -bool true
  42.  
  43. # Show status bar in Finder
  44. defaults write com.apple.finder ShowStatusBar -bool true
  45.  
  46. # Expand save panel by default
  47. defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true
  48.  
  49. # Expand print panel by default
  50. defaults write NSGlobalDomain PMPrintingExpandedStateForPrint -bool true
  51.  
  52. # Disable the “Are you sure you want to open this application?” dialog
  53. defaults write com.apple.LaunchServices LSQuarantine -bool false
  54.  
  55. # Disable shadow in screenshots
  56. defaults write com.apple.screencapture disable-shadow -bool true
  57.  
  58. # Enable highlight hover effect for the grid view of a stack (Dock)
  59. defaults write com.apple.dock mouse-over-hilte-stack -bool true
  60.  
  61. # Enable spring loading for all Dock items
  62. defaults write com.apple.dock enable-spring-load-actions-on-all-items -bool true
  63.  
  64. # Show indicator lights for open applications in the Dock
  65. defaults write com.apple.dock show-process-indicators -bool true
  66.  
  67. # Don’t animate opening applications from the Dock
  68. defaults write com.apple.dock launchanim -bool false
  69.  
  70. # Remove the auto-hiding Dock delay
  71. defaults write com.apple.Dock autohide-delay -float 0
  72.  
  73. # Display ASCII control characters using caret notation in standard text views
  74. # Try e.g. `cd /tmp; unidecode "\x{0000}" > cc.txt; open -e cc.txt`
  75. defaults write NSGlobalDomain NSTextShowsControlCharacters -bool true
  76.  
  77. # Disable press-and-hold for keys in favor of key repeat
  78. defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false
  79.  
  80. # Set a blazingly fast keyboard repeat rate
  81. defaults write NSGlobalDomain KeyRepeat -int 0
  82.  
  83. # Disable auto-correct
  84. defaults write NSGlobalDomain NSAutomaticSpellingCorrectionEnabled -bool false
  85.  
  86. # Disable opening and closing window animations
  87. defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false
  88.  
  89. # Enable AirDrop over Ethernet and on unsupported Macs running Lion
  90. defaults write com.apple.NetworkBrowser BrowseAllInterfaces -bool true
  91.  
  92. # Disable disk image verification
  93. defaults write com.apple.frameworks.diskimages skip-verify -bool true
  94. defaults write com.apple.frameworks.diskimages skip-verify-locked -bool true
  95. defaults write com.apple.frameworks.diskimages skip-verify-remote -bool true
  96.  
  97. # Automatically open a new Finder window when a volume is mounted
  98. defaults write com.apple.frameworks.diskimages auto-open-ro-root -bool true
  99. defaults write com.apple.frameworks.diskimages auto-open-rw-root -bool true
  100. defaults write com.apple.finder OpenWindowForNewRemovableDisk -bool true
  101.  
  102. # Display full POSIX path as Finder window title
  103. defaults write com.apple.finder _FXShowPosixPathInTitle -bool true
  104.  
  105. # Increase window resize speed for Cocoa applications
  106. defaults write NSGlobalDomain NSWindowResizeTime -float 0.001
  107.  
  108. # Avoid creating .DS_Store files on network volumes
  109. defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true
  110.  
  111. # Disable the warning when changing a file extension
  112. defaults write com.apple.finder FXEnableExtensionChangeWarning -bool false
  113.  
  114. # Show item info below desktop icons
  115. /usr/libexec/PlistBuddy -c "Set :DesktopViewSettings:IconViewSettings:showItemInfo true" ~/Library/Preferences/com.apple.finder.plist
  116.  
  117. # Enable snap-to-grid for desktop icons
  118. /usr/libexec/PlistBuddy -c "Set :DesktopViewSettings:IconViewSettings:arrangeBy grid" ~/Library/Preferences/com.apple.finder.plist
  119.  
  120. # Disable the warning before emptying the Trash
  121. defaults write com.apple.finder WarnOnEmptyTrash -bool false
  122.  
  123. # Empty Trash securely by default
  124. defaults write com.apple.finder EmptyTrashSecurely -bool true
  125.  
  126. # Require password immediately after sleep or screen saver begins
  127. defaults write com.apple.screensaver askForPassword -int 1
  128. defaults write com.apple.screensaver askForPasswordDelay -int 0
  129.  
  130. # Enable tap to click (Trackpad)
  131. defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad Clicking -bool true
  132.  
  133. # Map bottom right Trackpad corner to right-click
  134. defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadCornerSecondaryClick -int 2
  135. defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadRightClick -bool true
  136.  
  137. # Disable Safari’s thumbnail cache for History and Top Sites
  138. defaults write com.apple.Safari DebugSnapshotsUpdatePolicy -int 2
  139.  
  140. # Enable Safari’s debug menu
  141. defaults write com.apple.Safari IncludeInternalDebugMenu -bool true
  142.  
  143. # Make Safari’s search banners default to Contains instead of Starts With
  144. defaults write com.apple.Safari FindOnPageMatchesWordStartsOnly -bool false
  145.  
  146. # Remove useless icons from Safari’s bookmarks bar
  147. defaults write com.apple.Safari ProxiesInBookmarksBar "()"
  148.  
  149. # Add a context menu item for showing the Web Inspector in web views
  150. defaults write NSGlobalDomain WebKitDeveloperExtras -bool true
  151.  
  152. # Enable the debug menu in Address Book
  153. defaults write com.apple.addressbook ABShowDebugMenu -bool true
  154.  
  155. # Enable the debug menu in iCal
  156. defaults write com.apple.iCal IncludeDebugMenu -bool true
  157.  
  158. # Only use UTF-8 in Terminal.app
  159. defaults write com.apple.terminal StringEncodings -array 4
  160.  
  161. # Disable the Ping sidebar in iTunes
  162. defaults write com.apple.iTunes disablePingSidebar -bool true
  163.  
  164. # Disable all the other Ping stuff in iTunes
  165. defaults write com.apple.iTunes disablePing -bool true
  166.  
  167. # Make ⌘ + F focus the search input in iTunes
  168. defaults write com.apple.iTunes NSUserKeyEquivalents -dict-add "Target Search Field" "@F"
  169.  
  170. # Disable send and reply animations in Mail.app
  171. defaults write com.apple.Mail DisableReplyAnimations -bool true
  172. defaults write com.apple.Mail DisableSendAnimations -bool true
  173.  
  174. # Copy email addresses as `foo@example.com` instead of `Foo Bar <foo@example.com>` in Mail.app
  175. defaults write com.apple.mail AddressesIncludeNameOnPasteboard -bool false
  176.  
  177. # Disable Resume system-wide
  178. defaults write NSGlobalDomain NSQuitAlwaysKeepsWindows -bool false
  179.  
  180. # Disable the “reopen windows when logging back in” option
  181. # This works, although the checkbox will still appear to be checked.
  182. defaults write com.apple.loginwindow TALLogoutSavesState -bool false
  183. defaults write com.apple.loginwindow LoginwindowLaunchesRelaunchApps -bool false
  184.  
  185. # Enable Dashboard dev mode (allows keeping widgets on the desktop)
  186. defaults write com.apple.dashboard devmode -bool true
  187.  
  188. # Reset Launchpad
  189. [ -e ~/Library/Application\ Support/Dock/*.db ] && rm ~/Library/Application\ Support/Dock/*.db
  190.  
  191. # Show the ~/Library folder
  192. chflags nohidden ~/Library
  193.  
  194. # Disable local Time Machine backups
  195. hash tmutil &> /dev/null && sudo tmutil disablelocal
  196.  
  197. # Remove Dropbox’s green checkmark icons in Finder
  198. file=/Applications/Dropbox.app/Contents/Resources/check.icns
  199. [ -e "$file" ] && mv -f "$file" "$file.bak"
  200. unset file
  201.  
  202. # Fix for the ancient UTF-8 bug in QuickLook (http://mths.be/bbo)
  203. # Commented out, as this is known to cause problems when saving files in Adobe Illustrator CS5 :(
  204. #echo "0x08000100:0" > ~/.CFUserTextEncoding
  205.  
  206. # Kill affected applications
  207. for app in Safari Finder Dock Mail SystemUIServer; do killall "$app" >/dev/null 2>&1; done



Quelle: https://github.com/mathiasbynens/dotfiles/blob/master/.osx
----------
Christian, MacFix.