Skip to content

Instantly share code, notes, and snippets.

@webdevbrian
Last active September 25, 2024 09:49
Show Gist options
  • Save webdevbrian/6113566 to your computer and use it in GitHub Desktop.
Save webdevbrian/6113566 to your computer and use it in GitHub Desktop.
Brian's List of OSX Tweaks for web developers
#OSX Tweaks:
===========
- Most need reboot to show changes
- Most of these tweaks are just for speed, but some are specific for development
- All of these are to be ran in terminal. The commands to be copy and pasted start after the less-than sign.
- I'm not responsible for any adverse effects to your computer, at all.
##Increase the speed of OS X dialogs boxes:
> defaults write NSGlobalDomain NSWindowResizeTime .1
change .1 to .001 to make dialogs instantly appear
Default:
> defaults write NSGlobalDomain NSWindowResizeTime .5
---
##Disable Window Animations to Speed shit up a tad
> defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false
Default:
> defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool true
---
##Disable window animations in OS X Finder
> defaults write com.apple.finder DisableAllAnimations -bool true
Default:
> defaults write com.apple.finder DisableAllAnimations -bool false
---
##Disable the Rubber Band effect in Mac OS X
> defaults write -g NSScrollViewRubberbanding -int 0
Default:
> defaults write -g NSScrollViewRubberbanding -int 1
---
## Disable Notification center in Mac OS X Mountain Lion
> sudo defaults write /System/Library/LaunchAgents/com.apple.notificationcenterui KeepAlive -bool false
> killall NotificationCenter
Default / Re-enable:
> sudo defaults write /System/Library/LaunchAgents/com.apple.notificationcenterui KeepAlive -bool true
---
## Enable AirDrop in a wired network and old Macs
> defaults write com.apple.NetworkBrowser BrowseAllInterfaces -bool true
> killall Finder
Default:
> defaults write com.apple.NetworkBrowser BrowseAllInterfaces -bool false
---
## Disable the new window animation in Mac OS X
> defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false
Default:
> defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool true
---
## Mac OS X: Disable the creation of .DS_store files
> defaults write com.apple.desktopservices DSDontWriteNetworkStores TRUE
Default:
> defaults delete com.apple.desktopservices DSDontWriteNetworkStores
---
## Disable window shadows
- It works, but it messes with the shadows on the actual menu bars for apps. Looks like Junk.
> defaults write NSGlobalDomain NSUseLeopardWindowValues NO
> defaults write com.apple.Safari NSUseLeopardWindowValues YES
Default:
> defaults write NSGlobalDomain NSUseLeopardWindowValues YES
> defaults write com.apple.Safari NSUseLeopardWindowValues NO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment