Window Mode for an Application - not the Prefix

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Post Reply
meyer
Level 2
Level 2
Posts: 28
Joined: Sat Jul 15, 2017 2:38 am

Window Mode for an Application - not the Prefix

Post by meyer » Fri Oct 02, 2020 12:31 am

Hi,

i know i can run all installed windows application with a virtual desktop using winecfg. I have installed a lot of old games and the most of them don't have there own wine prefix. They are working really good installed in the same prefix. But they are running with different resolutions. Can i run only the specific application windowed? Or can i enable the virtual desktop using a single shell command? So i could write a little script that first enabled the virtual desktop and then starts the game.

meyer

jkfloris
Level 8
Level 8
Posts: 1158
Joined: Thu Aug 14, 2014 10:10 am

Re: Window Mode for an Application - not the Prefix

Post by jkfloris » Fri Oct 02, 2020 1:13 pm

You can use winecfg to set the virtual desktop for each application.
winecfg → "Applictions" tab → "Add application..." → Select the program executable.
With the program selected choose the "Graphics" tab → Select and set "Emulate a virtual desktop" → Apply
Repeat for every application.

Or if you want to write a script you can use winetricks

Code: Select all

# Set the Virtual Desktop to 1024x768:
winetricks vd=1024x768
# Run program:
wine program.exe
# Disable the Virtual Desktop
winetricks vd=off

Post Reply