From f63bc56d2a693805e6de205fbadee5586dd92ede Mon Sep 17 00:00:00 2001 From: Christian Hoffmann Date: Sun, 18 Oct 2015 19:24:17 +0200 Subject: [PATCH] Add commands to change screenshot location, type and shadow --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index fd13ab1..d70d2bb 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,7 @@ If you want to contribute, you are highly encouraged to do so. Please read the [ - [QuickLook](#quicklook) - [Root User](#root-user) - [Safe Mode Boot](#safe-mode-boot) + - [Screenshots](#screenshots) - [Software Installation](#software-installation) - [Spotlight](#spotlight) - [Terminal](#terminal) @@ -942,6 +943,23 @@ sudo nvram boot-args="-x" sudo nvram boot-args="" ``` +### Screenshots + +#### Save screenshots to the desktop +```bash +defaults write com.apple.screencapture location ~/Desktop && killall SystemUIServer +``` + +#### Save screenshots in png format (other options: bmp, gif, jpg, jpeg, pdf, tiff) +```bash +defaults write com.apple.screencapture type -string "png" +``` + +#### Disable shadow in screenshots +```bash +defaults write com.apple.screencapture disable-shadow -bool true && killall SystemUIServer +``` + ### Software Installation #### Install PKG