So... I have two monitors on my Ubuntu machine. And every time I launch some Windows OpenGL application under Wine it turns off the second monitor. And leaves it turned off when the application exits. I wonder, is there a shell command which will instantly turn the second monitor on?
Use xrandr command without args for view your output names and the supported resolutions.
Once you have this informations, you can setup a screen like this (this is an example, there is a lot of others options):
**xrandr --output <output> --mode <resolution> --right-of/--left-of <output>**
You can also just reactivate your screen with:
**xrandr --output <output> --auto**