From f63bc56d2a693805e6de205fbadee5586dd92ede Mon Sep 17 00:00:00 2001 From: Christian Hoffmann Date: Sun, 18 Oct 2015 19:24:17 +0200 Subject: [PATCH 1/5] 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 From e3a9ae7d85b56a6cb8de93fd80c353d4273ad723 Mon Sep 17 00:00:00 2001 From: Christian Hoffmann Date: Sun, 18 Oct 2015 21:04:00 +0200 Subject: [PATCH 2/5] Make features more descriptive --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d70d2bb..e14ed44 100644 --- a/README.md +++ b/README.md @@ -945,12 +945,14 @@ sudo nvram boot-args="" ### Screenshots -#### Save screenshots to the desktop +#### Save Screenshots to given Location +Sets location to `~/Desktop`. ```bash defaults write com.apple.screencapture location ~/Desktop && killall SystemUIServer ``` -#### Save screenshots in png format (other options: bmp, gif, jpg, jpeg, pdf, tiff) +#### Save Screenshots with given format +Sets format to `png`. Other options are `bmp`, `gif`, `jpg`, `jpeg`, `pdf`, `tiff`. ```bash defaults write com.apple.screencapture type -string "png" ``` From a8d1a09d0650057b47d20e3e52e1f0365e119a10 Mon Sep 17 00:00:00 2001 From: Christian Hoffmann Date: Tue, 20 Oct 2015 09:08:13 +0200 Subject: [PATCH 3/5] Capitalize properly --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e14ed44..7a73a44 100644 --- a/README.md +++ b/README.md @@ -945,19 +945,19 @@ sudo nvram boot-args="" ### Screenshots -#### Save Screenshots to given Location +#### Save Screenshots to Given Location Sets location to `~/Desktop`. ```bash defaults write com.apple.screencapture location ~/Desktop && killall SystemUIServer ``` -#### Save Screenshots with given format +#### Save Screenshots in Given format Sets format to `png`. Other options are `bmp`, `gif`, `jpg`, `jpeg`, `pdf`, `tiff`. ```bash defaults write com.apple.screencapture type -string "png" ``` -#### Disable shadow in screenshots +#### Disable shadow in Screenshots ```bash defaults write com.apple.screencapture disable-shadow -bool true && killall SystemUIServer ``` From 31d62ef0175035f8f8087be6f4e71f757c5e8473 Mon Sep 17 00:00:00 2001 From: Christian Hoffmann Date: Tue, 20 Oct 2015 09:08:51 +0200 Subject: [PATCH 4/5] Give every command a new line --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7a73a44..935dd73 100644 --- a/README.md +++ b/README.md @@ -948,7 +948,8 @@ sudo nvram boot-args="" #### Save Screenshots to Given Location Sets location to `~/Desktop`. ```bash -defaults write com.apple.screencapture location ~/Desktop && killall SystemUIServer +defaults write com.apple.screencapture location ~/Desktop && \ +killall SystemUIServer ``` #### Save Screenshots in Given format @@ -959,7 +960,8 @@ defaults write com.apple.screencapture type -string "png" #### Disable shadow in Screenshots ```bash -defaults write com.apple.screencapture disable-shadow -bool true && killall SystemUIServer +defaults write com.apple.screencapture disable-shadow -bool true && \ +killall SystemUIServer ``` ### Software Installation From 682b90421a6ccc399a0eff4c49c3a92d1d2111ff Mon Sep 17 00:00:00 2001 From: Christian Hoffmann Date: Thu, 22 Oct 2015 18:54:30 +0200 Subject: [PATCH 5/5] Fix capitalization --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 935dd73..76657bb 100644 --- a/README.md +++ b/README.md @@ -952,13 +952,13 @@ defaults write com.apple.screencapture location ~/Desktop && \ killall SystemUIServer ``` -#### Save Screenshots in Given format +#### Save Screenshots in Given Format Sets format to `png`. Other options are `bmp`, `gif`, `jpg`, `jpeg`, `pdf`, `tiff`. ```bash defaults write com.apple.screencapture type -string "png" ``` -#### Disable shadow in Screenshots +#### Disable Shadow in Screenshots ```bash defaults write com.apple.screencapture disable-shadow -bool true && \ killall SystemUIServer