Skip to content

showTheseItemsOnTheDesktop

Finder > Settings > General > Show these items on the desktop > CDs, DVDs, and iPods

Option Module: home-manager

Option Path: applications.finder.settings.general.showTheseItemsOnTheDesktop.cdsDvdsAndiPods

Option Value Description: null or boolean or value "unset" (singular enum)

false:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.finder ShowRemovableMediaOnDesktop -bool "false" 2>/dev/null || true

true:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.finder ShowRemovableMediaOnDesktop -bool "true" 2>/dev/null || true

unset:

Terminal window
/usr/bin/defaults delete ~/Library/Preferences/ByHost/com.apple.finder ShowRemovableMediaOnDesktop 2>/dev/null || true

Finder > Settings > General > Show these items on the desktop > Connected servers

Option Module: home-manager

Option Path: applications.finder.settings.general.showTheseItemsOnTheDesktop.connectedServers

Option Value Description: null or boolean or value "unset" (singular enum)

false:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.finder ShowMountedServersOnDesktop -bool "false" 2>/dev/null || true

true:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.finder ShowMountedServersOnDesktop -bool "true" 2>/dev/null || true

unset:

Terminal window
/usr/bin/defaults delete ~/Library/Preferences/ByHost/com.apple.finder ShowMountedServersOnDesktop 2>/dev/null || true

Finder > Settings > General > Show these items on the desktop > External disks

Option Module: home-manager

Option Path: applications.finder.settings.general.showTheseItemsOnTheDesktop.externalDisks

Option Value Description: null or boolean or value "unset" (singular enum)

false:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.finder ShowExternalHardDrivesOnDesktop -bool "false" 2>/dev/null || true

true:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.finder ShowExternalHardDrivesOnDesktop -bool "true" 2>/dev/null || true

unset:

Terminal window
/usr/bin/defaults delete ~/Library/Preferences/ByHost/com.apple.finder ShowExternalHardDrivesOnDesktop 2>/dev/null || true

Finder > Settings > General > Show these items on the desktop > Hard disks

Option Module: home-manager

Option Path: applications.finder.settings.general.showTheseItemsOnTheDesktop.hardDisks

Option Value Description: null or boolean or value "unset" (singular enum)

false:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.finder ShowHardDrivesOnDesktop -bool "false" 2>/dev/null || true

true:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.finder ShowHardDrivesOnDesktop -bool "true" 2>/dev/null || true

unset:

Terminal window
/usr/bin/defaults delete ~/Library/Preferences/ByHost/com.apple.finder ShowHardDrivesOnDesktop 2>/dev/null || true