macos-defaults/docs/desktop/showharddrivesondesktop.md
Yann Bertrand 0d10e1513e 🚨 Run prettier v3
2023-08-18 16:33:51 +02:00

1.1 KiB

metaTitle meta
Disks | Desktop | macOS defaults
property content
og:title macOS defaults > Desktop > Disks
name content
description Show hard disks on desktop
property content
og:description Show hard disks on desktop
property content
twitter:card summary
property content
twitter:image https://macos-defaults.netlify.app/media-1x1.webp
property content
og:image https://macos-defaults.netlify.app/media-1x1.jpg

Disks

Show hard disks on desktop

  • Tested on macOS:
    • Monterey
    • Big Sur
  • Parameter type: bool

Set to true

Show hard disks

defaults write com.apple.finder "ShowHardDrivesOnDesktop" -bool "true" && killall Finder

Set to false (default value)

Hide hard disks

defaults write com.apple.finder "ShowHardDrivesOnDesktop" -bool "false" && killall Finder

Read current value

defaults read com.apple.finder "ShowHardDrivesOnDesktop"

Reset to default value

defaults delete com.apple.finder "ShowHardDrivesOnDesktop" && killall Finder