On Tue, 2012-09-04 at 16:34 -0400, Doug wrote:> Running PCLOS, KDE desktop, everything latest version.
> Under certain conditions--one I can 100% repeat is Wine (Microsoft)
> Pinball--when I shut it down, by any means (escape key is straight-forward)
> the desktop will come back up with the widgets scattered all over the
> place, most of them moved towards the top left of the display.
> This happens in spite of the fact that the widgets were locked beforehand.
> I have been advised that wine (or at least Pinball) changes the screen
> resolution, which is what louses up the display when the KDE desktop
> comes back.
>
> Looking for a solution that will automatically restore the screen to
> what it was before activating Wine Pinball.
> (I found a similar situation with DOSBox. Would like a solution for that
> also.)
>
Run the Wine app from a small (5 line) shell script:
#!/bin/bash
export WINEPREFIX=$HOME/.wine_prefix_name
cd $WINEPREFIX/path_to/app?install_dir
wine appname
xrandr --size "1280x800"
This assumes that 1280x800 is your normal screen size - use
"xrandr --current" to check that. You can point a launcher at the
script
if you want to run it by clicking an icon.
This approach should work for DosBox as well, though I've never seen any
problems like you describe from running it.
Martin
> --doug
>