DOS BOX Screen resolution problem
Andrew Henderson
I am using Ubuntu 12.04 LTS and I installed DOSBOX using apt-get install doxboxcommand and configured TC in DOSBOX properly. Everything is working fine, but when we it goes to full screen mode of DOSBOX then it changes the resolution of the screen and it may happen, that DOXBOX is closed unexpectedly, because I can't see its process on the launcher after going to full screen mode.
After trying 2-3 times DOSBOX is going to FULL SCREEN mode properly, but on exiting same problem is remaining.
I am using Alt+Enter to switch the full Screen mode in DOSBOX
12 Answers
You can edit and then adjust the screen resolution for DosBox window in:
/home/username/.dosbox/dosbox-0.7x.confPlease see Line 27 windowresolution=value - simple change the value as suggested from 320x240 to whatever you want, then save the .conf-file. (Please make a backup copy of the original .conf, before changing anything, just in case!!)
See list of possible value options available:
- Use
fullscreen=truefor full screen - Use
fullscreen=falsefor DOSBox in a window - Change
fullresolution=originaltofullresolution=desktop - When using a window, change
windowresolution=originaltowindowresolution=1280x1024(or use 1024x768 for a smaller window) - Change
output=surfacetooutput=openglnb(uses graphics hardware and maintains crisp image with scaling). - You might try
output=ddraw, which in some cases has a lower CPU load. Scroll down to the [render] section - Change
aspect=falsetoaspect=true(maintains 4:3 aspect ratio, otherwise keep on false if you like the aspect ratio of your screen, mostly 16:9 or 16:10 nowadays) - Save the configuration file with Ctrl+s (or File - Save) (Re)start DOSBox.
For more detail please refer to: dosboxWiki | dosboxScreen-resolution | Manual Instructions
After using Alt+Enter, the only way to restore your initial resolution is to open the Displays properties (Open first System Settings).
After closing Dosbox, my display resolution was 1152x864, I just had to select 1920x1200 to recover my initial resolution.
Depending on how Dosbox lower your resolution, you could open the Displays settings before starting Dosbox.