mirror of
https://github.com/yannbertrand/macos-defaults
synced 2024-11-14 23:57:07 +00:00
1.1 KiB
1.1 KiB
metaTitle | meta | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Disks | Desktop | macOS defaults |
|
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