LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
desktop rez changes/can't access taskbar after playing game w/Wine
#1
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 Smile ) 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!
Reply
#2
Might help, might not.

Quote:Fullscreen issues with overlapping Panel
Sometimes the Panel overlaps your fullscreen application you're running in wine. If you are running Visual Effects, the first solution you should try is to turn those off: Go to System -> Preferences -> Appearance, and click the Visual Effects tab. Select None, and your screen will flash. Try your full-screen application again. You may re-enable Visual Effects afterwards - just don't forget to turn them back off when you want to run that application again!

from

https://help.ubuntu.com/community/Wine
LL 3.6,2.8
Dell XT2 > Touchscreen Laptop
Dell 755 > Desktop
Acer 150 > Desktop
I am who I am. Your approval is not needed.
Reply
#3
(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 Smile ) 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
Code:
xrandr -s 1920x1080
Change it to your screen resolution. e.g. If your default screen resolution is 1024x768 type
Code:
xrandr -s 1024x768
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
Reply
#4
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.
Reply
#5
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).
Reply
#6
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.
Reply
#7
(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]
Change the Graphics settings. Set virtual desktop size, and if that doesn't work, try unchecking other options.
Reply
#8
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)