Flattr this!

As I haven’t posted in a while, I thought I would publish a few tips and tricks for Apple computers.
All of the tips below are done inside Terminal.

I find most of them useful, don’t blindly copy and paste unless you understand what you’re doing.
Some of them can be accomplished in the OSX Gui, some cannot.


Getting access to the Beta’s for OS X
Accessing public beta’s via Software update (on Yosemite)
sudo defaults write /Library/Preferences/ CatalogURL

softwareupdate -l

Accessing all available beta’s via Software update (on Yosemite)
sudo defaults write /Library/Preferences/ CatalogURL

softwareupdate -l

Resetting Software Update catalog to the defaults (eg if you used one of the above 2 catalogs)
sudo softwareupdate –clear-catalog

Making TextEdit default to plain text mode for new documents
defaults write RichText -int 0

Change the default Finder location to your home folder (~/)
defaults write NewWindowTarget -string "PfLo" && \
defaults write NewWindowTargetPath -string "file://${HOME}"

Make the save panel expanded by default
defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true

Turning off the warning when changing file extensions
defaults write FXEnableExtensionChangeWarning -bool false

Check for software updates daily
defaults write ScheduleFrequency -int 1

Show the icons for drives, network drives, and usb disks on the desktop
defaults write ShowExternalHardDrivesOnDesktop -bool true && \
defaults write ShowHardDrivesOnDesktop -bool true && \
defaults write ShowMountedServersOnDesktop -bool true && \
defaults write ShowRemovableMediaOnDesktop -bool true

Disable creation of .DS_Store files on network shares
defaults write DSDontWriteNetworkStores -bool true

Unhide the user Library folder
chflags nohidden ~/Library

Enable AirDrop over Ethernet and on unsupported Macs
defaults write BrowseAllInterfaces -bool true