Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 am using nvidia-settings to configure multiple monitors . The monitors' native resolutions are different, so this generates 'gaps' where the items are drawn on the virtual screen but not on any of the physical ones.

Multiple screens with gap at the bottom

How can I configure the display settings to not have any content drawn on the regions which are not directly mapped to a physical screen?

share|improve this question
Well, you could write your own monitor with XQueryTree and see if any windows overlap that area. I say so only half-sarcasticly - you may have to resort to such a similar hack if no answers come. – new123456 Mar 18 '11 at 11:17
@new123456 : Unfortunately that's outside the programming languages that I handle reasonably ( or minimally even ). – Robert Munteanu Mar 18 '11 at 11:55
I've found this (not an answer because I haven't read it fully) – new123456 Mar 18 '11 at 20:38
@new123456: the link is to this exact question. Is recursion the answer :-) ? – Robert Munteanu Mar 19 '11 at 8:21
Sorry about that, I mean this link. No idea how I managed that. – new123456 Mar 19 '11 at 13:42

This should happen automatically if your window manager supports the Xinerama extensions (yes, even if you're using nVidia TwinView without Xinerama.) I use Awesome as my window manager and it handles this perfectly - no windows are ever shown in the off-screen areas.

Alternatively you could switch to separate X screens instead of using TwinView/Xinerama. This method removes any off-screen area, at the expense of being unable to move windows between screens.

share|improve this answer

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.