OSX Hints and Tips

2010 August 24 · 0 comments

There are many ways to customize your OSX environment to suit your personal tastes. However, not every preference you want to change can be modified using System Preferences or Application Preferences. Often, settings are deemed too obscure for everyday users and relegated to complex keystrokes or hidden system settings. This is my guide to a number of these that can make your life a little easier, or your experience a little better.

OSX Keystroke Shortcuts

I’ll start with a series of keystrokes that are available in different contexts while you use your Macintosh. These are not your normal keystrokes that are self-documented underneath application menus, these are hidden gems you’ll want to become familiar with:

Start-up Keystrokes (hold at power-on):

Keystroke Result
C Starts up from CD
D Starts up from the hard disk’s first partition
N Starts up from the network server
N Starts up from the network server
T Puts the Mac into Firewire Target Disk Mode
X Starts up in OSX (if OS9 is on the same disk)
SHIFT Prevents start-up items from opening
OPTION Shows icons of all start-up disks or partitions and allows you to select one
Apple-Option-Shift-Delete Starts up from an external drive (or CD)
Apple-V Shows all console messages during boot
Hold Mouse Button Down Ejects a stuck CD or DVD

Finder Keystrokes:

Keystroke Result
Apple-Option-W Closes all Finder windows
Apple-Up Arrow Opens the parent folder
Apple-Option-Shift-Up Arrow Selects next item alphabetically
Tab Selects next item alphabetically
Shift-Tab Selects previous item alphabetically
Apple-Shift-H Opens your Home folder
Apple-Shift-A Opens your Applications folder
Option-Click “Green Ball” Minimizes all Finder windows

General Keystrokes:

Keystroke Result
Apple-Tab Switches to the next open program – press once and release

the Apple key to switch to the program you used most recently

Apple-Shift-Tab Switches to the previous open program
Apple-tilde Switches to the next open window in this prog.
option-Empty Trash Empties the Trash without asking, “Are you sure”
Apple-option-D Hides/shows the Dock
Apple-click on Dock icon Reveals the original item in the Finder
Apple-option-click on Dock icon Switches to this program and hides all others
Apple-option-H Hides all windows except the one you’re in

On Keyboards w/o Power Key:

control-eject Brings up the dialog box for shutdown/sleep/rs
Apple-control-eject Forces a restart
Apple-option-eject Puts the Mac to sleep
Apple-control-option-eject Shuts down.

Rob’s Additions:

Command-click Directory name in a file browser Brings up filesystem directory path where you can select any Parent directory
option-click Dock icon If done on current app, hides app. If done on different app, brings forward, and hides other applications
option-click desktop Hides current application

OSX Terminal Defaults for Finder

There are a large number of system settings that can only be used by running the Terminal application and then typing them at the command line. A large database of them can be found at http://secrets.blacktree.com/. They have also created a Preference Pane that can be used for changing these defaults, which you can download here.

Generic OS X Tricks

Disable the Dashboard (NO reverses):
defaults write com.apple.dashboard mcx-disabled -boolean YES

Allow Widgets to stay on Desktop (NO reverses):
defaults write com.apple.dashboard devmode YES

Make Hidden Dock Icons Transparent (NO reverses):
defaults write com.apple.Dock showhidden -boolean YES
killall Dock

Disable “wake on open” (you’ll need to press a key now) (1 reverses):
sudo pmset -a lidwake 0

To disable safe sleep (3 and true, respectively, reverses):
sudo pmset -a hibernatemode 0
sudo nvram "use-nvramrc?"=false

OSX Terminal Defaults for Mail.app

Disable in-line Attachment Viewing (false reverses):
defaults write com.apple.mail DisableInlineAttachmentViewing -bool true

{ 0 comments }

Battle of the Clouds – Rackspace Cloud vs. Amazon EC2

1 August 2010

TweetYou can’t pick up a technical magazine, hang out on Twitter, or read an article on a technology blog without hearing the phrase:  Cloud Computing.  What is cloud computing?  Wikipedia defines it as “Internet-based computing, whereby shared resources, software, and information are provided to computers and other devices on demand“.  

Moving from SquareSpace to WordPress

27 July 2010

TweetOn July 20th, I moved my personal blog site, robpickering.com from SquareSpace to WordPress.  This article is about why I did it and then how I performed the task, maintaining all of my posts, post dates, migrating authors, and most importantly, keeping all of my user comments.  

Track Spammers using Gmail

20 July 2010

TweetI hate spam.  I’m sure you hate spam.  I’ve spent a significant amount of my personal time working on solutions to combat spam.  I’m fortunate, in that I run my own mail server, and can therefore deploy a variety of spam fighting techniques.  My current mail server is running: SpamAssassin amavisd-new Greylisting Postfix UCE Rules [...]

Inexpensive eBooks from O’Reilly Media

19 July 2010

TweetI love eBooks.  I’m not actually sure the last time I purchased a physical, paper book.  If I have recently purchased one, then it was a Computer Reference book of some type.  Most likely it was a Cisco Press, O’Reilly “animal” book, or any one of a number of technical books and programming manuals.  Over [...]

Create a Full Backup Image of your Amazon EC2 Instance

18 July 2010

TweetI’m doing this backwards.  I’m currently writing another article about Amazon EC2 and getting started by moving your existing hosting service to EC2.  However, I recently realized how much time and effort I had devoted to my EC2 Instance and getting things installed, configured, and running the way I want them.  Then I stumbled upon [...]

Goodbye Geek Brief TV…

17 July 2010

TweetSaturday Mornings I get up early, my wife Deb does not.  This is time for me to relax and catch up on my “me” time by drinking some coffee and watching my video podcasts.  There are several video podcasts that I download and watch on my AppleTV, among them:  TedTalks, Hak5, Tekzilla, Scam School, and [...]

Automatically add PDF Files to iBooks / iTunes via Dropbox

24 June 2010

TweetIf you’ve just recently upgraded to iOS 4 (aka iPhone OS 4), then you are eligible to download iBooks version 1.1. Why is iBooks version 1.1 so exciting? Because it provides support for PDF files, natively, on the iPad and the iPhone. Previous to iBooks 1.1, I was using GoodReader as my primary application for [...]

CloudEngines Plugs Security Flaw in Pogoplug with Firmware 2.1

25 March 2010

TweetIn my original Blog Post entitled Beware the Pogoplug I pointed out a rather serious security hole in the Cloud Engines‘ Pogoplug device. That security hole allowed public SSH access into the device, as long as the device was reachable over the Internet or a Wi-Fi connection. CloudEngines’ even published the root password you needed [...]

PXE Boot your Parallels VM

22 March 2010

Tweet The Problem If you’re in a corporate environment you probably have Windows OS servers. Those servers probably use a protocol to boot machines without an OS called PXE (Preboot Execution Environment). Here at the office, this is how we load the Windows OS on all of our desktops / laptops. However, if you use [...]

Page 1 of 212