1

I'm running a dual-screen setup on my main PC, with a 28" monitor connected via DisplayPort and an old 19" screen connected via DVI. Unfortunately, a lot of older games seem to insist on trying to run fullscreen on the 19" monitor.

Sometimes I can coax it into using the main display by fiddling with settings, or by using XRandR to deactivate the second monitor. However, other games will insist on using the DVI output regardless of whether that output is currently enabled via XRandR.

Is there some configuration trick I'm missing that will ensure that games will default to using the DisplayPort / 28" screen?

I'm running Kubuntu 14.10 (w/ Plasma5 Preview) and an NVidia 780 Ti w/ NVidia binary drivers.

1

At least for old SDL engine games, it looks like I can force the game to use the main monitor using the SDL_VIDEO_FULLSCREEN_HEAD environment variable, for example:

SDL_VIDEO_FULLSCREEN_HEAD=0 /usr/games/darkplaces -basedir /opt/games/quake

This works for most games (notable exceptions being Doom 3 / Quake 4). I've had limited success using a wrapper script to switch to single-monitor for Quake4 but this approach still isn't working for Doom3.

But, at least it's effective for SDL based games.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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