With cordite in the air, splintered steel, shell casings and powder burns, there’s only one explanation...
If you have any trouble with SG, this is the place to ask.

Moderator: Pardner

Fullscreen i Linux - with two monitors.

Postby Andre-K » Thu Sep 02, 2010 6:30 pm

Smoking Guns 1.1b4
Ubuntu 10.04 , Nvidia GPU, two displays
If I try to run it in fullscreen - it centers in the middle of two displays,
- how do I make it go fullscreen to *one* display only ?
Andre-K
Newcomer
 
Posts: 3
Joined: Wed Sep 01, 2010 10:20 pm



Postby Tequila » Wed Sep 08, 2010 9:42 am

Hi,

this is a post for me, but where was I ? :P

Okay so, you should set in your shell environment the following:
Code: Select all
export SDL_VIDEO_FULLSCREEN_HEAD=0

But you can try to set it to '1' or '2' to select the display you really want.

You should put such setting line in your ~/.bash_profile (if you're using bash as shell) so any SDL game will know your wish.

I just hope you're easy with such linux tuning ;)

8)
User avatar
Tequila
SG Team
 
Posts: 1100
Joined: Thu Nov 15, 2007 11:33 pm
Location: Montpellier, France



Postby Andre-K » Wed Sep 08, 2010 12:39 pm

that was easy, will try this afternoon, if it works I would suggest a GUI option to help out other people.
Andre-K
Newcomer
 
Posts: 3
Joined: Wed Sep 01, 2010 10:20 pm



Postby Andre-K » Wed Sep 08, 2010 3:22 pm

Woohoo ! - it works just great !
thank you, this was not the first game that needed it, nor will it be the last.
Andre-K
Newcomer
 
Posts: 3
Joined: Wed Sep 01, 2010 10:20 pm




Return to Doc's Office

Show Sidebar
Show Sidebar

User Control Panel

cron