How do I disable other monitors while running games in Wine?

Posted by Michael Cheng on Super User See other posts from Super User or by Michael Cheng
Published on 2011-02-24T18:07:47Z Indexed on 2011/02/26 7:27 UTC
Read the original article Hit count: 471

My current setup is:
* Dual GTS 250 video cards
* 3 Monitors
* Used nvidia-settings to run each monitor as a separate x session
* This is all running on Linux Mint Debian Edition

When running games (Starcraft II) in Wine via PlayOnLinux, I've found that the mouse does not get locked. I already tried various solutions littered across the web and none work so I'd rather just disable my other two monitors while playing. Does anyone know of a method where I can turn off my other two monitors (not my primary monitor) while running Wine and then turn then back on afterwards? I don't mind having to manually run a script before and after gaming. Thanks.

© Super User or respective owner

Related posts about linux

Related posts about multiple-monitors