managing defaults on MacOsX

  • when managing multiple machines, it is sometimes a pain to reset all default parameters. Still you want the same behaviour everywhere...


This post is certainly obsolete...

  • this repository display a large number of useful comands for your mac :

    # Always show scrollbars
    defaults write NSGlobalDomain AppleShowScrollBars -string "Always"
    # Enable full keyboard access for all controls (e.g. enable Tab in modal dialogs)
    defaults write NSGlobalDomain AppleKeyboardUIMode -int 3
    # Enable subpixel font rendering on non-Apple LCDs
    defaults write NSGlobalDomain AppleFontSmoothing -int 2
    # Enable the 2D Dock
    defaults write no-glass -bool true
    # Automatically hide and show the Dock
    defaults write autohide -bool true
    # Make Dock icons of hidden applications translucent
    defaults write showhidden -bool true
    # Enable iTunes track notifications in the Dock
    defaults write itunes-notifications -bool true
    # Show all filename extensions in Finder
    defaults write NSGlobalDomain AppleShowAllExtensions -bool true
    # Show status bar in Finder
    defaults write ShowStatusBar -bool true
    # Expand save panel by default
    defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true
    # Expand print panel by default
    defaults write NSGlobalDomain PMPrintingExpandedStateForPrint -bool true
    # Disable the “Are you sure you want to open this application?” dialog
    defaults write LSQuarantine -bool false
    # Disable shadow in screenshots
    defaults write disable-shadow -bool true
    # Display full POSIX path as Finder window title
    defaults write _FXShowPosixPathInTitle -bool true
    # Increase window resize speed for Cocoa applications
    defaults write NSGlobalDomain NSWindowResizeTime -float 0.001
    # Avoid creating .DS_Store files on network volumes
    defaults write DSDontWriteNetworkStores -bool true
    # Disable send and reply animations in
    defaults write DisableReplyAnimations -bool true
    defaults write DisableSendAnimations -bool true
    # Copy email addresses as `` instead of `Foo Bar <>` in
    defaults write AddressesIncludeNameOnPasteboard -bool false
    # Disable Resume system-wide
    defaults write NSGlobalDomain NSQuitAlwaysKeepsWindows -bool false
  • there is much more on

    git clone && cd dotfiles && ./
  • TODO: make default changes for a french keyboard