Scripting Configuration and Preferences

I'm scripting the configuration and customization for our Maverick osX deployment and I'm down to a handful of check-boxes that are not jumping out at me.

Looking at some of the posts, I see others may be having difficulty with some of these as well.

Does any one have answers on how to modify these check-boxes outside of GUI interface?


1.) - Apple Menu > System Preferences > Network > Proxies > Exclude simple hostnames (/Library/Preferences/SystemConfiguration/preferences.plist "ExcludeSimpleHostnames")


2.) - System Preferences > General > "Ask to keep changes when closing documents"


3.) - System Preferences > Dock > "Double-click a window's title bar to minimize" (com.apple.dock)


4.) - Finder > Preferences > General > "Spring-loaded" folders and windows"


5.) - Finder > Preferences > Sidebar > "Favorites" (need to select or de-select options)


Thanks,


Dan




For Finder Preferences, here is what I have to this point:


#Finder Preferences General *****

defaults write com.apple.finder ShowHardDrivesOnDesktop -bool true

defaults write com.apple.finder ShowExternalHardDrivesOnDesktop -bool true

defaults write com.apple.finder ShowRemovableMediaOnDesktop -bool true

defaults write com.apple.finder ShowMountedServersOnDesktop -bool true

defaults write com.apple.finder NewWindowTarget -string "PfVo"

defaults write com.apple.finder NewWindowTargetPath -string "file:///"

defaults write com.apple.finder FinderSpawnTab -bool true

#defaults write com.apple.finder -bool true


#Finder Preferences Sidebar *****

defaults write com.apple.sidebarlists networkbrowser "<dict><key>Controller</key><string>CustomListItems</string><key>CustomListItem s</key><array></array><key>CustomListProperties</key><dict><key>com.apple.Netwo r kBrowser.backToMyMacEnabled</key><false/><key>com.apple.NetworkBrowser.bonjourE n abled</key><false/><key>com.apple.NetworkBrowser.connectedEnabled</key><true/>< / dict></dict>";


#defaults write com.apple.sidebarlists networkbrowser "

#<dict>

#<key>Controller</key>

#<string>CustomListItems</string>

#<key>CustomListItems</key>

#<array>

#</array>

#<key>CustomListProperties</key>

#<dict>

#<key>com.apple.NetworkBrowser.backToMyMacEnabled</key>

#<false/>

#<key>com.apple.NetworkBrowser.bonjourEnabled</key>

#<false/>

#<key>com.apple.NetworkBrowser.connectedEnabled</key>

#<true/>

#</dict>

#</dict>";

defaults write com.apple.sidebarlists systemitems -dict-add ShowEjectables -bool true

defaults write com.apple.sidebarlists systemitems -dict-add ShowHardDisks -bool true

defaults write com.apple.sidebarlists systemitems -dict-add ShowRemovable -bool true

defaults write com.apple.sidebarlists systemitems -dict-add ShowServers -bool true


#Finder Preferences Advanced *****

defaults write NSGlobalDomain AppleShowAllExtensions -bool true

defaults write com.apple.finder FXEnableExtensionChangeWarning -bool true

defaults write com.apple.finder WarnOnEmptyTrash -bool true

defaults write com.apple.finder EmptyTrashSecurely -bool true

defaults write com.apple.finder FXDefaultSearchScope -string "SCcf"


killall "Finder" "Sidebarlists" "SystemUIServer"

Posted on Jul 2, 2014 8:18 AM

Reply

There are no replies.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Scripting Configuration and Preferences

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.