DEV Community

Cover image for Configuring screenshots in Mac
Dhinesh
Dhinesh

Posted on • Edited on

2 2

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

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay