Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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 have two monitors, both 1600 x 900, running as a single x-screen.

When I try to run a full screen application (a game for example), the application full screens as though my two monitors were one monitor at 3200 x 900.

The center is then of course the crack between my two real monitors.

How can I run such applications so that they only use one monitor, 1600x900, centered on one of the real monitors?

share|improve this question

Assuming that you do not need the second monitor while your running your application, have you considered disabling the second monitor (using xrandr if your setup supports it) when you run the game?

If you are asking about an application you are developing, I am sure you can query the XRandR or Xinerama extension (whichever one your X11 is using) and then center appropriately. Most desktop environments support this already (that is why when you maximize a window it normally fills only one screen).

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.