LoginSignup
3
3

More than 3 years have passed since last update.

Macでスクリーンショットの余白を無くしたい!

Last updated at Posted at 2020-06-24

スクリーンショットってよく使いますよね笑

どうも、Macユーザーの皆さんこんにちは。MacでもiPhone同様command + shift + 5でスクリーンショットをよく使うんですが、まわりにできる余白と影がどうしても鬱陶しかったので今回はその余白をなくす方法を記述していきたいと思います。

before / after

before

スクリーンショット 2020-06-24 19.08.16.png

after

スクリーンショット 2020-06-24 19.42.39.png

一応デフォルトで周りの余白の背景くり抜きになっているので一見余白がないように見えますが、Twitterなどに投稿すると下記のようになってしまうんですよねぇ...

やり方

defaults write com.apple.screencapture disable-shadow -bool true
killall SystemUIServer

この2行だけなんですよね(笑)コードを2行に分けているのでTerminalで実行するときは1行ずつ実行してくださいね!
非常に簡単にスクリーンショットの余白をなくすことができました!

1回でやりたい!って方は...

defaults write com.apple.screencapture disable-shadow -bool true; killall SystemUIServer

これで1行にまとめて実行できます。

戻し方

defaults write com.apple.screencapture disable-shadow -bool false; killall SystemUIServer

1行にまとめていますが、これで元に戻すことができます。

最後までご覧いただきありがとうございました〜:bow_tone2:

3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3