Useful Defaults Hacks for OS X

  • Disable Guest Accounts for Shares on OSX Tiger

    sudo defaults write /Library/Preferences/ guestAccess -bool false
  • Disable Dashboard

    defaults write mcx-disabled -boolean YES
  • Reduce Safari Rendering delay

    defaults write WebKitInitialTimedLayoutDelay 0.25
  • Increase animation speed of sheets

    defaults write NSGlobalDomain NSWindowResizeTime .001
  • Disable spotlight

    edit /etc/hostconfig to change "SPOTLIGHT=-YES-" to "SPOTLIGHT=-NO-"
  • Enable Safari debug menu

    defaults write IncludeDebugMenu 1
  • Get rid of .DS_Store files on network shares (specifically works for smb shares)

    defaults write DSDontWriteNetworkStores true
  • Show full path to current directory in Finder title

    defaults write _FXShowPosixPathInTitle -bool YES
  • Mount external drives at boot rather then on user login

    defaults write /Library/Preferences/SystemConfiguration/autodiskmount

    AutomountDisksWithoutUserLogin -bool true

  • Setting a custom software update server for a client

    defaults write /Library/Preferences/ CatalogURL ""
  • Show All Files in Finder

    defaults write AppleShowAllFiles TRUE
  • Terminal Focus Follows Mouse

    defaults write FocusFollowsMouse -string YES
  • Add Application to OSX Dock (example uses

    defaults write persistent-apps -array-add "< dict>tile-data file-data_CFURLString /Applications/ ";
  • Disable the OSX Crash Reporter

    defaults write DialogType none
  • Add Recent Applications Stack to the Dock

    defaults write persistent-others -array-add '{ "tile-data" = { "list-type" = 1; }; "tile-type" = "recents-tile"; }'
  • Change Login Screen Background

    sudo defaults write /Library/Preferences/ DesktopPicture "/Library/Desktop Pictures/Aqua Blue.jpg"
  • Disable Time Machine External Disk as Backup Prompt

    defaults write DoNotOfferNewDisksForBackup -bool YES
  • Disable mouse/trackpad acceleration

    defaults write .GlobalPreferences -1
    defaults write .GlobalPreferences -1

Share on: TwitterFacebookGoogle+Email

Comments !