In this situation, I only want to have the game be displayed on my left monitor (1920x1200). But when I launch the game at this resolution, it sits the game's display smack in the center of the intersection of the two displays, making me stare straight at the edges of the two monitors. Why? Because my video card thinks I am using one giant monitor and so it sits the game directly in the center according to that resolution. So how do we fix this? Well, one option is to not make the game full screen and just play the game maximized on the screen we want it to display on. But that's hardly a solution. Let's take a look at our X11 config file (/etc/X11/xorg.conf). If you scroll down to section "Screen", you'll see something that looks like the following:
Option "TwinView" "1"
Option "TwinViewXineramaInfoOrder" "DFP-0"
Option "metamodes" "DFP-0: nvidia-auto-select +0+0,DFP-1: nvidia-auto-select +1920+0"
If it looks a little different, don't worry. These settings are usually automatically created when you use NVIDIA X Server Settings or a similar tool to configure your dual monitors. So the settings of interest here is the metamodes. The format for this option is: "metamodes" "resolution of left most monitor, resolution of right most monitor". In my automatically created settings, my left most monitor has been titled DFP-0 and given an automatic resolution at location (0,0), and my right most monitor has been given an automatic resolution at location (1920,0). To solve our problem, we add two new "metamodes":
Option "metamodes" "DFP-0: nvidia-auto-select +0+0,DFP-1: nvidia-auto-select +1920+0;1920x1200,NULL;NULL,1920x1080"
Each semicolon indicates another "metamode". The "1920x1200,NULL" mode is used when a resolution of 1920x1200 is requested, resulting in the left most monitor only being used. The "NULL,1920x1080" mode is used when a resolution of 1920x1080 is request, resulting in the right most monitor only being used. In the case where both of your monitors are the same resolution, there would only be reason to create one extra mode instead of two since only one other type of resolution would ever be requested besides the default.
Now when I launch Trine at 1920x1200, I don't have to stare at the split between my two monitors! Leave a comment if this helps or you have any questions. Happy gaming Linux fans!