Wine doesn't fix resolution changes.
Wine doesn't fix resolution changes.
When I play various games that change the display, in most cases it doesn't return back to normal after the program exits. This can be a pain when it makes the images to huge I can't click the apply button to fix the resolution problem. My idea is to implement a check/revert to previous resolution to the wine project.
Yeah, I'm having this problem too. Hopefully this gets fixed soon. In the meantime, let me share some tips to make life a little bit easier. Firstly, I create a shortcut that I place on the top left hand corner of my desktop that runs this:
This command resets the resolution to the default. Because it's in the top left corner of the screen, you should always be able to see it, no matter what the resolution is. Whenever the screen resolution gets screwed up, I just click the shortcut and the screen gets fixed.
I also modify shortcuts of wine applications that trigger this problem by adding && xrandr -s 0 to the end. This will cause the screen resolution to be reset after the application ends. E.g.
Hope this helps.
Code: Select all
xrandr -s 0
I also modify shortcuts of wine applications that trigger this problem by adding && xrandr -s 0 to the end. This will cause the screen resolution to be reset after the application ends. E.g.
Code: Select all
wine 'C:\Program Files\AppDir\game.exe' && xrandr -s 0
Thank you
Oh, thank you very much. This is a great alternative for now. You've helped me a lotaidfarh wrote:Yeah, I'm having this problem too. Hopefully this gets fixed soon. In the meantime, let me share some tips to make life a little bit easier. Firstly, I create a shortcut that I place on the top left hand corner of my desktop that runs this:This command resets the resolution to the default. Because it's in the top left corner of the screen, you should always be able to see it, no matter what the resolution is. Whenever the screen resolution gets screwed up, I just click the shortcut and the screen gets fixed.Code: Select all
xrandr -s 0
I also modify shortcuts of wine applications that trigger this problem by adding && xrandr -s 0 to the end. This will cause the screen resolution to be reset after the application ends. E.g.Hope this helps.Code: Select all
wine 'C:\Program Files\AppDir\game.exe' && xrandr -s 0
