DEV Community

Cover image for Configuring screenshots in Mac
Dhinesh
Dhinesh

Posted on • Updated on

Configuring screenshots in Mac

Hola Everyone,

I have been a Mac user for the past 5 years, wanted to share tricks in customising the screenshots in Mac.


NOTE

All these changes requires restart, If you want the change to reflect immediately, you can run this command

$ killall SystemUIServer
Enter fullscreen mode Exit fullscreen mode

1. Disable Screenshot Drop Shadows

$ defaults write com.apple.screencapture disable-shadow -bool TRUE
Enter fullscreen mode Exit fullscreen mode

To reset the changes

$ defaults write com.apple.screencapture disable-shadow -bool FALSE
Enter fullscreen mode Exit fullscreen mode
2. Change Screenshot File Format
$ defaults write com.apple.screencapture type PDF
Enter fullscreen mode Exit fullscreen mode

To reset the changes

$ defaults write com.apple.screencapture type png
Enter fullscreen mode Exit fullscreen mode
3. Change the default folder
$ defaults write com.apple.screencapture location <DIR>
Enter fullscreen mode Exit fullscreen mode

To reset the changes

$ defaults write com.apple.screencapture location ~/Desktop
Enter fullscreen mode Exit fullscreen mode
4. Change the screenshot file name
$ defaults write com.apple.screencapture name <FILENAME>
Enter fullscreen mode Exit fullscreen mode

Do add any comments if I am missing something

Top comments (0)