I recently installed the DosBox emulator to play some retro games (mostly Zork). Every time I open it, I move to fullscreen by pressing Alt+Enter and play some of a game. Whenever I exit the game afterwards, the following display settings have been corrupted:
1: The two monitors I have are now detected as one monitor, therefore it is permanently set to mirror displays, though I had it set to joining the displays previously.
2: The enire screen is zoomed in severely, making it hard to navigate through anything.
3: It appears I can't type anything while this is going on?
The only way for me to fix this issue is to reboot the computer, which is not nice considering how long it takes for my computer to boot. Can anyone help me with this?
That's because DOSBox uses SDL 1.2 - old, unmaintained library which does not work well on modern Linux. To prevent this problem, use version of DOSBox ported to SDL2, e.g. DOSBox Staging.
Available via PPA or Snap Store.