Mirror Displays
Download
It takes too many steps in Mac OS X to switch between mirrored and extended desktop mode on external displays. Open System Preferences, go to the display pane, go to the Arrangement tab, and toggle the Mirror Displays checkbox. It’s a dance seen all too often before presentations when PowerPoint or Keynote are showing the presentation on the laptop screen instead of the projector.
Apple used to have the courtesy to give laptops a dedicated key to toggle display mirroring. That has been replaced with the under-documented Command-F1 in newer Apple laptops, but leaves Desktop machines and hacked laptops in the cold. And there’s still no easy way to change the mirroring settings from the command line, or any way at all if you can’t see what’s on the screen.
The App
MirrorDisplays a simple application that toggles between mirrored and extended desktop modes. It’s the easiest way to turn on, or turn off display mirroring. You can put it in your dock for an easy-access switch, or activate it with Quicksilver, Quick Search Box, Alfred, or Spotlight. When you run it, it will bounce in the dock once or twice and change the display mirroring settings. There is no user interface and only makes the change in settings if an external monitor is attached.
The app does not fix or enable mirroring on a hacked computer where a secondary display only works in one mode or the other. It also does not magically make an external monitor work if the computer doesn’t recognize it when it’s plugged in. You can use it to switch from your broken mirrored mode to the functional extended mode.
The Command line Tool
The command line tool is good for giving shell-scripts the power to control display mirroring and opens up the possibility of controlling mirroring remotely over ssh.
It can toggle mirroring, turn mirroring on or off regardless of what the current state of mirroring is, report the current mirroring status without changing anything, and configure unconventional mirroring configurations where some screens are mirrored and others are not.
usage: mirror [option] Only the first option passed will be applied -h Print this usage and exit. -t Toggle mirroring (default behavior) -on Turn Mirroring On -off Turn Mirroring Off -q Query the Mirroring state and write "on" or "off" to stdout -l A B Makes display at index B mirror the display at index A
Note to Hackintosh Users
This is program is essential if you find the screen contents corrupt as soon as you connect more than one external display. Mirror Displays will not enable mirroring if mirroring is broken on your computer. What it will do is allow you to easily toggle out of mirrored mode and into extended desktop mode without needing to see what you’re doing.