Change Main Display via Keyboard Shortcut or command line in Mac OS X
hmscreens work great. Here's a sample command line to swap monitors:
hmscreens -setMainID `hmscreens -info | grep "Screen ID:" | head -2 | tail -1 | sed 's/[^0-9]*//g'`
hmscreens work great. Here's a sample command line to swap monitors:
hmscreens -setMainID `hmscreens -info | grep "Screen ID:" | head -2 | tail -1 | sed 's/[^0-9]*//g'`