DOSBox cannot be centered in full screen mode

I installed the DOSBox(version 0.74-2) in CM3 DevTerm, but it does not work well in fullscreen mode. I’have tried to modify ~/.dosbox/dosbox-0.74-2.conf, but it doesn’t work.

I modified these lines in ~/.dosbox/dosbox-0.74-2.conf

fullscreen=true
fulldouble=true
fullresolution=1280x480
windowresolution=1280x480
#output=surface
output=opengl

But it is still not in the center:

Maybe you should play around with the width?

I’ve noticed this with a few other applications, notably Yamagi Quake 2. I think it’s related to the fact that the panel is implicitly rotated (as reported by Display settings and xrandr).

Yamagi had a dedicated video option to “keep resolution” of the desktop, which solved the problem there. I can’t find a similar solution for DosBox (even fullresolution=desktop doesn’t help). At least it’s fully visible and playable windowed.

1 Like