Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using a laptop and connecting it to an external monitor. After disconnecting from the external monitor, the list of windows (pressing and holding Alt+Tab) is not centered. It is located in a place as if the external monitor is still connected (bottom right instead of center)

Has anyone else experienced this? How can I fix it? If it helps, I have a macbook pro 6,2 and the nvidia driver.

share|improve this question

migrated from Apr 4 '11 at 22:05

This question came from our site for users of Linux, FreeBSD and other Un*x-like operating systems.

up vote 0 down vote accepted

I find that I need to explicitly disable the external monitor (via Display Settings) before unplugging it. Otherwise, I get problems similar to yours.

share|improve this answer
What do you mean by "via Display Settings"? Monitors? "NVIDIA X Server Settings"? – AlikElzin-kilaka Apr 6 '11 at 14:47
@kilaka: My bad. I meant System > Preferences > Monitors, which the indicator icon calls "Display settings." – Scott Severance Apr 7 '11 at 9:46
Worked. Thanks a lot – AlikElzin-kilaka Apr 7 '11 at 10:44
Tried again and it didn't work. Also, I'm not next to the external monitor right now. Is there a way to solve this without the external monitor? – AlikElzin-kilaka Apr 11 '11 at 7:31
The only thing I can think of is to either log out and back in or memorize the necessary keystrokes ahead of time so you can control the monitor settings without being able to see the window. Alternatively, if you can find a way to move the window without having to see it, you can drag the Monitors window to where you can see it. The best thing, though, is just to remember to disable the monitor before you unplug it. – Scott Severance Apr 11 '11 at 13:25

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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