Skip to content

Instantly share code, notes, and snippets.

@tobyspark
Last active August 29, 2015 14:00
Show Gist options
  • Save tobyspark/11406698 to your computer and use it in GitHub Desktop.
Save tobyspark/11406698 to your computer and use it in GitHub Desktop.

Revisions

  1. tobyspark revised this gist May 1, 2014. 1 changed file with 89 additions and 6 deletions.
    95 changes: 89 additions & 6 deletions spark-livemachine-config
    Original file line number Diff line number Diff line change
    @@ -1,15 +1,17 @@
    ### Confiure a Mac OS X machine for live performance use
    ### Toby Harris - http://tobyz.net / http://sparklive.net

    # Show the ~/Library folder
    chflags nohidden ~/Library
    ## Live

    # Disable dashboard
    defaults write com.apple.dashboard mcx-disabled -boolean YES
    # 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
    @@ -23,11 +25,92 @@ 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

    # Disable Time Machine dialog when external drives mount
    defaults write com.apple.TimeMachine DoNotOfferNewDisksForBackup -bool YES
    # 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
  2. tobyspark revised this gist Apr 29, 2014. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion spark-livemachine-config
    Original file line number Diff line number Diff line change
    @@ -27,4 +27,7 @@ sudo pmset disksleep 0
    sudo pmset womp 1

    # Enable AirDrop over Ethernet
    defaults write com.apple.NetworkBrowser BrowseAllInterfaces 1
    defaults write com.apple.NetworkBrowser BrowseAllInterfaces 1

    # Disable Time Machine dialog when external drives mount
    defaults write com.apple.TimeMachine DoNotOfferNewDisksForBackup -bool YES
  3. tobyspark created this gist Apr 29, 2014.
    30 changes: 30 additions & 0 deletions spark-livemachine-config
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,30 @@
    ### Confiure a Mac OS X machine for live performance use
    ### Toby Harris - http://tobyz.net / http://sparklive.net

    # Show the ~/Library folder
    chflags nohidden ~/Library

    # Disable dashboard
    defaults write com.apple.dashboard mcx-disabled -boolean YES

    # Disable crash reporter dialog
    defaults write com.apple.CrashReporter DialogType none

    # 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

    # Enable wake on ethernet
    sudo pmset womp 1

    # Enable AirDrop over Ethernet
    defaults write com.apple.NetworkBrowser BrowseAllInterfaces 1