VOGONS

Common searches


First post, by BastetFurry

User metadata
Rank Newbie
Rank
Newbie

Hey 😀

Having a two screen setup on my Linux box, how do i tell Dosbox to use the left screen when going fullscreen and not the right(wrong 😉 ) screen?

EDIT for those who don't want to dig trough the thread:

Put

export SDL_VIDEO_FULLSCREEN_DISPLAY=0

into .bashrc, your number might differ.

Set your screen resolution in dosbox.conf:

fullresolution=1920x1200
Last edited by BastetFurry on 2017-12-23, 10:04. Edited 1 time in total.

Reply 1 of 6, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

I think you can’t. It’s an SDL problem

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

Reply 3 of 6, by BastetFurry

User metadata
Rank Newbie
Rank
Newbie

I am onto something:

export SDL_VIDEO_FULLSCREEN_DISPLAY=0

But now i don't get a streched image anymore.

EDIT:
Setting

fullresolution=1920x1200

did the trick.
Off to place that export into .bashrc 😁

Reply 4 of 6, by Serious Callers Only

User metadata
Rank Member
Rank
Member

The xrandr driver controls if the image gets stretched in linux fullscreen or not. The default is actually to stretch but you can set it to 'full aspect' which stretches preserving aspect ratio.

https://www.reddit.com/r/emulation/comments/7 … leased/drewr16/

I find it highly strange you want to 'stretch' the image, and it should happen by default anyway.

Reply 5 of 6, by BastetFurry

User metadata
Rank Newbie
Rank
Newbie
Serious Callers Only wrote:

I find it highly strange you want to 'stretch' the image, and it should happen by default anyway.

Nope, i was getting a pixel perfect DOS shell on my screen, was almost ready to deploy the magnification glasses.
Strangely the Dosbox window stays open, just without content, by the way.
But yeah, works for me now and when someone else looks for a solution it now stands there. 😁

Reply 6 of 6, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

Great work 😉

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper