I just installed Wine and was able to play a Windows (.exe file) game (nothing big). When I exited the game, I found that the desktop resolution had changed (would have been good had I been 50 feet away

) and I couldn't access the taskbar. I had to reboot to get back to normal. What would have caused this and how can I avoid it in the future? I have a few things I'd like to run using Wine.
Thanks!
(08-31-2014, 05:20 AM)Monkeyman link Wrote: [ -> ]I just installed Wine and was able to play a Windows (.exe file) game (nothing big). When I exited the game, I found that the desktop resolution had changed (would have been good had I been 50 feet away
) and I couldn't access the taskbar. I had to reboot to get back to normal. What would have caused this and how can I avoid it in the future? I have a few things I'd like to run using Wine.
Thanks!
Hi Monkeyman,
You can make a keyboard shortcut to change resolution.
Whisker Menu > Settings Manager > Keyboard > Application Shortcuts
When you get there click on
Add button.
As the command type
Change it to your screen resolution. e.g. If your default screen resolution is 1024x768 type
Click on OK and you will be promted to setup a key combination for that shortcut.
For example you can use Ctrl+Shift+R.
Now when your screen resolution changes you can use a keyboard shortcut to change it back.
I haven't tested this with wine but there is an application which can execute commands automatically whenewer you close or resize a window. You will have to setup the same command xrandr -s
I figure you will have to run the game in windowed mode.
https://launchpad.net/dontwaitup
I didn't know there was a keystroke short cut to change rez. That might work and I'll try it although I'd like to know what causes it. Might be something I can change in the settings somewhere to keep it from happening in the first place. Thanks.
Hi Monkeyman,
You can make a keyboard shortcut to change resolution.
[/quote]
That worked...sort of. I could restore the original resolution but then had to reset all of the display settings. Not really worth it although I suppose it's a little better than having to reboot if I have other things open (like my browser or email).
I got things to work but I want to know why. If I uncheck the "full screen" box in the game before I close it, my desktop stays normal. This is an easy solution (I'll mark the topic "solved" in a minute) but I'd really like to know why it does that. Is it just an oddity with Wine? Is there some sort of command I can use to keep this from happening again without the workaround? I have other games I plan to load using Wine so, if there's a permanent solution, that would be nice to know.
Thanks to all who replied.
(09-02-2014, 11:06 AM)Monkeyman link Wrote: [ -> ]I got things to work but I want to know why. If I uncheck the "full screen" box in the game before I close it, my desktop stays normal. This is an easy solution (I'll mark the topic "solved" in a minute) but I'd really like to know why it does that. Is it just an oddity with Wine? Is there some sort of command I can use to keep this from happening again without the workaround? I have other games I plan to load using Wine so, if there's a permanent solution, that would be nice to know.
Thanks to all who replied.
Hit Alt+F2 an type in winecfg
![[Image: a1tRAQR.png]](http://i.imgur.com/a1tRAQR.png)
Change the Graphics settings. Set virtual desktop size, and if that doesn't work, try unchecking other options.
Thanks but all that does is slightly (very slightly) adjust the size of the game window. It won't make it full screen and less than that is too small for me to see.