Virtual Desktop positioning with multiple monitors

Questions about Wine on Linux
Locked
holzbit77
Newbie
Newbie
Posts: 1
Joined: Sat Jan 05, 2019 8:28 am

Virtual Desktop positioning with multiple monitors

Post by holzbit77 »

Is there a configuration option or startup parameter to tell wine where to position its virtual desktop?

I'm using 2 monitors, 1x 1920x1080 setup as main monitor, and a smaller 1280x1024 to the left as secondary.

If I configure wine to use a virtual desktop with the size of 1920x1080 (to match that of the main monitor) I get a borderless non-draggable window on the left screen, with everything beyond the 1280x1024 physical resolution of that monitor being clipped. If I select a smaller resolution like 1920x1079 I get the virtual desktop in a 'normal' draggable resizable window, that opens on the screen that was focused when wine was started.

What I would like to achieve is to run the wine virtual desktop on the main (1920x1080) display in borderless mode, while still being able to use the secondary display for other programs.


More details on my setup:

Running on Ubuntu 18.04 with default desktop. Both monitors are connected to a Nvidia GTX1070 Ti, using proprietary driver version 415.25. Wine-staging from the winehq repository (https://dl.winehq.org/wine-builds/ubuntu/)

$ xrandr --listmonitors
Monitors: 2
0: +*DP-0 1920/531x1080/299+1280+0 DP-0
1: +DVI-D-0 1280/338x1024/270+0+0 DVI-D-0

$ wine --version
wine-4.0-rc4 (Staging)

If I completely disable the second monitor, I am able to run the wine virtual desktop 'fullscreen' borderless on the main display.
Locked