vendredi 30 septembre 2011

Cheatsheet

Disable/Enable Spaces animation
defaults write com.apple.dock workspaces-swoosh-animation-off -bool YES && killall Dock
defaults delete com.apple.dock workspaces-swoosh-animation-off && killall Dock

Disable/Enable dock 3D look
defaults write com.apple.dock no-glass -boolean YES/NO; killall Dock

Disable/Enable New Windows Animation in OS X Lion
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool NO/YES

Remove delay when hiding/showing Dock
Remove:
defaults write com.apple.Dock autohide-delay -float 0 && killall Dock

Bring delay back:
defaults write com.apple.Dock autohide-delay -float 0 && killall Dock

Collection of useful and strange CLI settings
https://github.com/mathiasbynens/dotfiles/blob/master/.osx

Favorites from there:
# Disable opening and closing window animations
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false

# Disable window animations and Get Info animations in Finder
defaults write com.apple.finder DisableAllAnimations -bool true

# Show all filename extensions in Finder
defaults write NSGlobalDomain AppleShowAllExtensions -bool true

# Automatically open a new Finder window when a volume is mounted
defaults write com.apple.frameworks.diskimages auto-open-ro-root -bool true
defaults write com.apple.frameworks.diskimages auto-open-rw-root -bool true
defaults write com.apple.finder OpenWindowForNewRemovableDisk -bool true

# Avoid creating .DS_Store files on network volumes
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true