Skip to content

Instantly share code, notes, and snippets.

@leonardofaria
Created April 26, 2012 02:40
Show Gist options
  • Save leonardofaria/2495308 to your computer and use it in GitHub Desktop.
Save leonardofaria/2495308 to your computer and use it in GitHub Desktop.
hidden tweaks to os x
# lock icon positions in dock
defaults write com.apple.dock contents-immutable -bool true
# add recent applications in dock
defaults write com.apple.dock persistent-others -array-add '{ "tile-data" = { "list-type" = 1; }; "tile-type" = "recents-tile"; }'
killall Dock
# set extension to screenshots
defaults write com.apple.screencapture type jpg
# disable shadow in screenshots
defaults write com.apple.screencapture disable-shadow -bool true
killall SystemUIServer
# change screenshot's name
defaults write com.apple.screencapture name "Image"
killall SystemUIServer
# change screenshot's folder
defaults write com.apple.screencapture location ~/Pictures/
killall SystemUIServer
# show hidden files in finder
defaults write com.apple.Finder AppleShowAllFiles YES
killall Finder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment