Set fixed screen resolution for application in Wine
5
votes
2
answers
13490
views
For example, I've application (game) that has only 640x480 resolution. Now I've 2 options: launch it in window-mode, and will has 640x480 size or enable fullscreen and will fill all screen.
What I want is to resize application without going fullscreen (e.g. to 1024x768).
As for now I've tried 2 solutions:
1. Enable 'Emulate a virtual desktop' in
winecfg
. At first it will launch desktop with that resolution, but when I enable fullscreen in application it will shrink that desktop to 640x480.
2. Start Wine in inner X-server:
Xephyr -ac -br -noreset -screen 1024x768 :1.0 &
ZEPHYR_PID=$!
sleep 1
DISPLAY=:1.0 wine game.exe
kill $ZEPHYR_PID
Same problem here, it will resize window when I enable fullscreen.
Asked by anlar
(4357 rep)
Nov 23, 2014, 02:20 PM
Last activity: Feb 2, 2025, 11:29 AM
Last activity: Feb 2, 2025, 11:29 AM