EASY SOLUTION TO MULTI MONITOR DISPLAY
For those of you, like me, that use Multiple monitors, an easy solution is to just disable the secondary monitor before playing games. Here's how:
Code:
$ xrandr --output DFP2 --off
Obviously, you'll need to change 'DFP2' to whatever your second monitor is (which can be found bye simply typing '$ xrandr').
However, if you second monitor is a different size, you may end up needing to adjusts the size of the primary when disabling the second monitor. For example:
Code:
$ xrandr --output DFP2 --off --output DFP1 --mode 1920x1080
To enable the second monitor, simply set it's mode and position:
Code:
$ xrandr --output DFP2 --mode 1280x800 --pos 304x1080
Here I'm setting the position (--pos) manually, but there are simple commands (--left, --bottom) that make it easier.
GNOME-SHELL USERS
I recommend installing the MyLauncher Extension and setting up a couple 'Turn Monitor Off/On' menu options for convenience.
I hope this helps anyone browsing for solutions to this in the future.