You are not logged in.
I just recently decided to get some of the indie games i got on my windows partition working on my Arch partition. I tried to fire them up like i would any other game i have on here, but when i fullscreen it centers the picture between my two monitors because i have twinview going. I've tried to get an sh script that runs the game in a new x server but i have to physically have 2 10-monitor.conf files and rename one to my normal config and 1 to my game config and rename it back and forth depending on what i want to do, is there a way then when i run the xinit command to use a different monitor config file then 10-monitor.conf?
Current Script:
xinit /home/jordan/games/gamefolder/voxatron/vox -- :1 -xf86config /etc/X11/xorg-game.conf
and the xorg-game.conf is the correct settings for just one monitor, but it then just goes to my 10-monitor.conf file for the actual configuration
Last edited by jojo6311 (2011-11-14 13:53:40)
Offline
Have you tried using a subdirectory, like /etc/X11/games/xorg.conf for games and /etc/X11/standard/xorg.conf for the usual setup?
Offline
when i run the xinit, it immediately goes to the 10-monitor.conf, and i have tried to have it go to the 10-monitorGame.conf i made but it says its an invalid file path. If i move anywhere outside my /X11 directory it says its an invalid directory
Offline
Hello jojo6311,
I am getting desired efect with just 1 10-monitor.conf file on XFCE4, exception for urbanterror witch start on just 1st monitor but second stays on... everything else just suspend my 2-nd monitor and use 1-st in fullscreen and when i quit the game i got my dualscreen up and running
here is my conf file
cat /etc/X11/xorg.conf.d/10-monitor.conf
#10-monitor.conf
Section "ServerLayout"
Identifier "DualSreen"
Screen 0 "Screen0"
Screen 1 "Screen1" RightOf "Screen0" #Screen1 at the right of Screen0
Option "Xinerama" "0" #To move windows between screens
EndSection
Section "Monitor"
Identifier "Monitor0"
Option "Enable" "true"
#Option "DPI" "96 x 96"
EndSection
Section "Monitor"
Identifier "Monitor1"
Option "Enable" "true"
#Option "DPI" "96 x 96"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
Screen 0
EndSection
Section "Device"
Identifier "Device1"
Driver "nvidia"
Screen 1
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "1"
SubSection "Display"
Depth 24
EndSubSection
Option "metamodes" "CRT-0: 1920x1080_60 +0+0, CRT-1: 1280x1024_60 +1920+0; CRT-0: 1920x1080 +0+0, CRT-1: NULL"
EndSection
Section "Screen"
Identifier "Screen1"
Device "Device1"
Monitor "Monitor1"
DefaultDepth 24
Option "TwinView" "1"
SubSection "Display"
Depth 24
EndSubSection
Option "metamodes" "CRT-0: 1920x1080_60 +0+0, CRT-1: 1280x1024_60 +1920+0; CRT-0: 1920x1080 +0+0, CRT-1: NULL"
EndSection
i m unsure if screen1 - metamodes section is needed but it works
i m having only 1 thing in my env
SDL_VIDEO_FULLSCREEN_HEAD=0
Hope this will help you
O' rly ? Ya rly Oo
Offline
That made it work great! thank you so very much!
Offline
Please remember to mark the thread as solved.
Offline