Page 1 of 1
Linux fullscreen goes to wrong monitor
Posted: Mon Jan 07, 2013 10:28 am
by salsadoom
Hi
Great game. On my desktop machine running Linux (Kubuntu 12.10), with the a steam install of FTL (1.03.1), running nVidia drivers 310.14. The game runs fine with the exception that when I do fullscreen-native it fullscreens on my secondary monitor. Stretch runs on both monitors putting the game somewhere inbetween the two of them. Neither is quite correct
Other games haven't had this problem. Anyone run across this?
Cheers!
SD
Re: Linux fullscreen goes to wrong monitor
Posted: Mon Jan 07, 2013 10:44 am
by UltraMantis
Odd problem. I don't think the game handles multi screen setups too well. No idea why it chooses the wrong monitor either. What do you get from "Borders" or "Off"?
Re: Linux fullscreen goes to wrong monitor
Posted: Mon Jan 07, 2013 4:14 pm
by boa13
Have you tried running FTL in a windowed mode, and looking at all the options KDE offers for managing windows? You can click the icon at the top-left of the window, you should get a KDE menu with many options. Maybe there is a way to tell KDE to keep the window on a particular screen? I cannot check on this computer unfortunately, and I don't have a dual-screen setup, so I don't know much about that.
I also run Kubuntu, with a 1280x720 screen. I'm lucky, that's the size of the FTL window.

I use the KDE options to remove the windows borders altogether, this gives me the best of both world: the game covers the whole screen, and I can very smoothly Alt-Tab to other applications.
If you cannot find a way to pin the FTL window to a particular screen, maybe you can try to set that screen to 1280x720, put the FTL window there, and finally remove the window borders.
Re: Linux fullscreen goes to wrong monitor
Posted: Mon Jan 07, 2013 5:13 pm
by salsadoom
UltraMantis wrote:Odd problem. I don't think the game handles multi screen setups too well. No idea why it chooses the wrong monitor either. What do you get from "Borders" or "Off"?
Borders stretches across both monitors with the game in the middle as well. Off starts normally in windowed mode -- appearing on the correct, primary monitor. It may be relevant somehow, but my two monitors have different resolutions. 1920x1080 and 1280x1024.
Re: Linux fullscreen goes to wrong monitor
Posted: Tue Jan 08, 2013 1:14 am
by Matthew
I can't test this since I don't have you set up, but I believe there's an environment variable you can use for SDL and Linux to make to behave better across two monitors. Type this into your command console before launching FTL (or add it to the FTL launch scripts)
export SDL_VIDEO_FULLSCREEN_DISPLAY=0
Or perhaps the value 1.
Let me know if that helps. Sorry about the problem
