VOGONS


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 2 of 6, by BastetFurry

User metadata
Rank Newbie
Rank
Newbie

Thats unfortunate, then i go and check if i can hack SDL to do my biddings.

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. 😁