xorg virtual screen resolution problem

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
snils55
Newbie
Newbie
Posts: 2
Joined: Thu Apr 04, 2013 1:53 pm

xorg virtual screen resolution problem

Post by snils55 »

greetings! how can i make a windows application take advantage of an xorg virtual screen resolution? if i maximize the window it's resized to the screen resolution and if i resize a window manually the part of the window that falls outside of the screen resolution never gets updated (like the window is not visible).

is there a way to make wine "pretend" like the actual screen resolution is my xorg virtual screen resolution?
ZombieRedShirt
Level 3
Level 3
Posts: 86
Joined: Fri Oct 07, 2011 6:25 am

Re: xorg virtual screen resolution problem

Post by ZombieRedShirt »

Hello snils55. If you mean what I think you mean, then what you want is a Wine virtual desktop. What you need to do is run winecfg in a terminal, then go to the graphics tab, then put a tick in the box that says "emulate a virtual desktop". Then in desktop size, add the width and height you want. IE, 1920x1080. Also, make sure that "allow the window manager to decorate the windows" is disabled.
snils55
Newbie
Newbie
Posts: 2
Joined: Thu Apr 04, 2013 1:53 pm

Re: xorg virtual screen resolution problem

Post by snils55 »

Hey ZombieRed, thank u for your reply. a wine virtual desktop doesn't work unfortunately. I'm looking for a way to use an xorg virtual screen resolution. eg my xorg.conf looks like this:

Section "Device"
Identifier "Default Device"
Option "NoLogo" "True"
EndSection

Section "Screen"
Identifier "screen1"
Device "Default Device"
DefaultColorDepth 24

Subsection "Display"
Depth 24
Virtual 1600 1200
EndSubsection
EndSection

this gives me a screen res larger than my actual screen resolution. Unfortunately tho anything outside of my actual screen resolution of say 1280x1024 doesnt get updated like the wine app thinks its not visible, even if it actually is.
Locked