First post, by CJEC
Apologies if this has been addressed before. I did search the forums, but didn't find anything, and I wanted to get this posted before I head off to work.
I'm using DOSBox 0.74 for Linux, installed from repositories.
My host system is running Linux Mint 17 KDE version (KDE version 4.13.3). I have dual monitors, and normally run a single desktop spanning the two monitors.
$ lspci | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 210] (rev a2)
$ xrandr | grep connect
DVI-I-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 521mm x 293mm
HDMI-1 disconnected (normal left inverted right x axis y axis)
VGA-1 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 477mm x 268mm
KDE System Settings > Display Configuration has the DVI-I-1 to the left of the VGA-1.
The following is reproducible:
1. Launch DOSBox in windowed mode.
2. Press Alt-Enter to switch to full screen. At this point I get a fullscreen DOSBox mirrored to both monitors.
3. Press Alt-Enter to switch back to windowed mode.
My system is still in mirrored mode, with one desktop mirrored on both monitors. System Settings > Display Configuration now shows only the VGA-1 monitor. xrandr still reports the three monitors as above.
This:
xrandr --output VGA-1 --mode 1920x1080 --pos 1920x0 --output DVI-I-1 --mode 1920x1080 --pos 0x0
puts me back to where I want to be (until the next time I run DOSBox fullscreen), and the HDMI now shows up in Display Configuration again.
Looks like a DOSBox bug, but what do I know?