非表示にする
ターミナルでdefaults write com.apple.finder CreateDesktop false && killall Finder
を実行するとデスクトップ上のアイコンを非表示にできます。
defaults write com.apple.finder CreateDesktop false && killall Finder
実行後は以下のようにアイコンが非表示になります。
再表示する
際表示するには以下のコマンドを実行します。
defaults write com.apple.finder CreateDesktop true && killall Finder
現在の設定値を確認する
現在、非表示の状態なのか確認するには以下のコマンドを実行します。
defaults read com.apple.finder CreateDesktop
結果がfalse
であれば非表示、true
なら表示