Last active
August 29, 2015 14:00
-
-
Save tobyspark/11406698 to your computer and use it in GitHub Desktop.
Script to configure a Mac OS X machine for live performance use
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Confiure a Mac OS X machine for live performance use | |
### Toby Harris - http://tobyz.net / http://sparklive.net | |
## Live | |
# stop all those damn noises | |
defaults write NSGlobalDomain com.apple.sound.beep.feedback -bool false | |
# Disable crash reporter dialog | |
defaults write com.apple.CrashReporter DialogType none | |
# Disable dashboard | |
defaults write com.apple.dashboard mcx-disabled -boolean YES | |
# Disable screensaver | |
defaults write com.apple.screensaver idleTime -int 0 | |
defaults -currentHost write com.apple.screensaver idleTime -int 0 | |
# Disable system sleep | |
sudo pmset sleep 0 | |
# Disable display sleep | |
sudo pmset displaysleep 0 | |
# Disable disk sleep | |
sudo pmset disksleep 0 | |
# Disable Time Machine dialog when external drives mount | |
defaults write com.apple.TimeMachine DoNotOfferNewDisksForBackup -bool YES | |
## Pro-user | |
# Show the ~/Library folder | |
chflags nohidden ~/Library | |
# Enable wake on ethernet | |
sudo pmset womp 1 | |
# Enable AirDrop over Ethernet | |
defaults write com.apple.NetworkBrowser BrowseAllInterfaces 1 | |
# Reveal IP address, hostname, OS version, etc. via clock in login window | |
sudo defaults write /Library/Preferences/com.apple.loginwindow AdminHostInfo HostName | |
# Set Help Viewer windows to non-floating mode | |
defaults write com.apple.helpviewer DevMode -bool true | |
# default to graphite icon set instead of blue | |
defaults write NSGlobalDomain AppleAquaColorVariant -int 6 | |
# Disable opening and closing window animations | |
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false | |
# Expand save panel by default | |
defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true | |
# Expand print panel by default | |
defaults write NSGlobalDomain PMPrintingExpandedStateForPrint -bool true | |
# Save to disk (not to iCloud) by default | |
defaults write NSGlobalDomain NSDocumentSaveNewDocumentsToCloud -bool false | |
# Desktop: show external drive icons | |
defaults write com.apple.finder ShowExternalHardDrivesOnDesktop -bool true | |
# Desktop: show hard drive icons | |
defaults write com.apple.finder ShowHardDrivesOnDesktop -bool true | |
# Desktop: show mounted server icons | |
defaults write com.apple.finder ShowMountedServersOnDesktop -bool true | |
# Desktop: show removable media icons | |
defaults write com.apple.finder ShowRemovableMediaOnDesktop -bool true | |
# When performing a search, search the current folder by default | |
defaults write com.apple.finder FXDefaultSearchScope -string "SCcf" | |
# Avoid creating .DS_Store files on network volumes | |
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true | |
# Set the icon size of Dock items to 32 pixels | |
defaults write com.apple.dock tilesize -int 32 | |
# Automatically hide and show the Dock | |
defaults write com.apple.dock autohide -bool true | |
# Shorten the auto-hiding Dock delay | |
defaults write com.apple.dock autohide-delay -float 0.05 | |
# Shorten the animation when hiding/showing the Dock | |
defaults write com.apple.dock autohide-time-modifier -float 0.25 | |
# Enable the 2D Dock | |
defaults write com.apple.dock no-glass -bool true | |
# Show indicator lights for open applications in the Dock | |
defaults write com.apple.dock show-process-indicators -bool true | |
# Don’t animate opening applications from the Dock | |
defaults write com.apple.dock launchanim -bool false | |
# Make Dock icons of hidden applications translucent | |
defaults write com.apple.dock showhidden -bool true | |
# Use plain text mode for new documents | |
defaults write com.apple.TextEdit RichText -int 0 | |
# Open files as UTF-8 | |
defaults write com.apple.TextEdit PlainTextEncoding -int 4 | |
# Save files as UTF-8 | |
defaults write com.apple.TextEdit PlainTextEncodingForWrite -int 4 | |
# Enable the debug menu in Disk Utility | |
defaults write com.apple.DiskUtility DUDebugMenuEnabled -bool true | |
defaults write com.apple.DiskUtility advanced-image-options -bool true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment