3

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?

Hennes
  • 64,768
  • 7
  • 111
  • 168
Robert Munteanu
  • 4,298
  • 6
  • 30
  • 47
  • 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](http://superuser.com/questions/258669/multiple-monitors-under-x-eliminating-gaps-due-to-different-monitor-heights) (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 08:21
  • Sorry about that, I mean [this](https://bbs.archlinux.org/viewtopic.php?id=53825) link. No idea how I managed that. – new123456 Mar 19 '11 at 13:42

1 Answers1

0

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.

Malvineous
  • 2,501
  • 2
  • 26
  • 35