How to turn off drop shadow on screenshots

This is nothing more than a reminder to myself on how to turn off the drop shadow that macOS always wants to add to screen shots. I keep forgetting how to do this when I upgrade to a new version of macOS. 1

  1. Open terminal and enter the following command: defaults write disable-shadow -bool true

  2. Next you need to refresh the system UI to stop adding the drop shadow: killall SystemUIServer

  3. Now using Cmd-Shift-4-Spacebar to capture a full window, the captured image will not have the drop shadow captured.

To turn the drop shadow back on, run

defaults write disable-shadow -bool true

  1. It's like I should create a check list or something. 🤣