Set Finder Preferences – Command Line

Setting  the following Finder Preferences enables the specified drives to be shown on the Desktop, the same as going to Finder, Preferences, General and ticking the boxes

defaults write com.apple.finder ShowExternalHardDrivesOnDesktop -bool true
defaults write com.apple.finder ShowHardDrivesOnDesktop -bool true
defaults write com.apple.finder ShowMountedServersOnDesktop -bool true
defaults write com.apple.finder ShowRemovableMediaOnDesktop -bool true

To set it so that a New Finder Window shows your home folder, enter the following into Terminal

defaults write com.apple.finder NewWindowTarget PfHm

Managed Preferences – Cache Flush

wgm

The other day I was trying to access some restricted preferences on a 10.6 client, bound to a 10.6 Server that no longer existed, and because of this, I had no way of removing the restrictions

Or so I thought, thankfully Apple had provided a Knowledge Base article detailing how to manually flush the cache, enabling access to the previously restricted preferences.

To do this, I opened up Terminal and input the following command all on one line

dscl . -list Computers | grep -v "^localhost$" | while read computer_name ; 
do sudo dscl . -delete Computers/"$computer_name" ; done

This worked, I was able to amend the settings needed, I have provided the link to the Apple page below, in case you need information on how to do this on earlier OS’s

http://support.apple.com/kb/HT3540

System Preferences – Software Updates – 10.8

Software Updates have now been incorporated into the Mac App Store, which is not something I’m a massive fan of, but I can see why it’s been done.

The good news is that you can still update the System software using the softwareupdate command in Terminal, so nothings been broken by this change.

Gone is the option to choose how regularly your machine checks for updates.

There are now the following options

Automatically check for updates – tick this if you want to be notified when new updates are available.

Download newly available updates in the background – tick this if you have an unlimited broadband/data connection, with some updates being a couple of GB in size now, its not wise to leave this checked with a limited plan, as you could go over without realising.

Install system data files and security updates – does what it says on the tin.

Automatically download apps purchased on other Macs – I leave this unticked as I prefer to choose what takes up my hard drive space on each machine, rather than having all apps install on all machines automatically.

 

System Preferences – Mail, Contacts & Calendar – 10.8

The Mail, Calendar & Contacts preference is the place to set up all of your e-mail and Calendar accounts, it now also has the added Social Media accounts such as Twitter, Facebook, Flickr & Vimeo.

Adding these accounts makes it a lot simpler to upload or share stuff through these sites, system wide.

 

System Preferences – Energy Saver – 10.8

The Energy Saver preference has a new addition – Power Nap!

This enables your Mac to check for e-mail, calendar and iCloud updates whilst asleep, which is great, as it saves on syncing time when awaking a machine, the downside however is that it uses more power than the conventional sleep mode, so it’s best to use it only when plugged into the mains.