Using Mac OS on multiple monitor is great, but after removing external monitor (2nd monitor) usually windows position originally on the external monitor doesn't get re-positioned to default monitor. Is there any shortcut key or utilities that can reset window position for this kind of usage?

link|improve this question
You can check out serverfault.com/questions/7237/… on Server Fault as well. – Chealion Jul 15 '09 at 15:27
feedback

7 Answers

up vote 17 down vote accepted

From my answer originally at Server Fault Question 7237:

When a monitor is unplugged (including the adapter as well if applicable - leaving the adapter leaves OS X thinking the monitor is still plugged in) all the Windows should move onto your main screen. Occasionally some windows (eg. Firefox) will keep their position on the very far right of the screen leaving you just enough room to grab the title bar and move it where you'd like to.

One method of arranging the Windows so you can see them (if for some reason they're staying off screen) is to change to the application that owns the window in question, hold the Option key down and choose "Arrange in Front" from the Window menu. It will then arrange all the windows of that application in a cascade from the top left of the screen.

SEcondly, there are several AppleScripts available (eg. this one at Snipplr) that will also grab every window off screen and move it on screen for you.

There is also a nifty shareware app called Stay that will help automate a lot of this for you, while there is also MarcoPolo which will do much more than just notice if a monitor is disconnected and allows you to run scripts (in case you want to do more than just rearrange the windows).

link|improve this answer
+1 on Stay. It's really quite slick. – Reid Oct 6 '10 at 17:21
"Gather Windows" only affects—and is only meant to affect—the System Preferences "Display" windows. – Araxia Apr 25 at 16:55
@Araxia: Fixed. Odd because I could of sworn I've used it that way before (but it definitely doesn't work that way in Lion) – Chealion Apr 25 at 18:35
feedback

breeze has global and application window states. the states can be triggered using they keyboard and are resolution independent. pair this with sizeup and windowflow and you'll be set.

link|improve this answer
feedback

I had a similar query for a friend that uses an external monitor with a Macbook, and he suggested SizeUp. I haven't looked into it yet, but it may be what you're after.

link|improve this answer
feedback

I keep the displays preference in the menu bar (there's an option in the displays preference for this). Then whenever the monitor arrangement changes and OS X doesn't detect it you can click here and choose 'Detect Displays'.

Alternatively you could script that action in Automator and assign it a shortcut key yourself. See this link for more information

link|improve this answer
feedback

You can go to System Preferences > Displays and change the resolution to something lower, say 1024 x 768 or 800 x 600 and it will cause windows to reset to that smaller display size. Change it back to what you had an all off screen windows should appear.

link|improve this answer
feedback

I had the same issue when using Pixelmator and having some windows off screen when trying to use it the day after I had been using it at home with my laptop connected to a monitor. Simply go into your displays, set your res to something lower, click the 'gather windows' button and then set your res back to normal and you should see all your Pixelmator (or whatever application) windows.

link|improve this answer
feedback

I once had a weird case where I can only see the application window when switching between spaces. I knew it's somewhere to the left of the screen; I tried many methods described here with no avail.

Eventually, I rearranged my main and external display in display preference so that on is to the upper left of the other, and eventually the window showed up.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.