El Foro

desktop messed up after POL

icons moved

Autor Respuestas
dougmack Friday 20 December 2013 at 1:21
dougmackAnonymous

I first sent the problem to the Wine forum, and got an answer I'm not sure how to implement, and then I wondered if POL had a forum, which I found here. I did not find this using your search box, so I will repeat the problem:
I like the Microsoft Pinball game, but after I play it, which works perfectly , I log off it and all my desktop icons are sent higgledy-piggledy into one part of the screen. I see this in both 32-bit and 64-bit versions of PCLinuxOS KDE.
Is there a script or something to avoid this?
(The same happens without POL--i.e., just try to play the game on Wine directly.)
Their answer:
Assuming you start your play-on-linux thingy with POL write a little script (I assume you call it POL.sh) with this content:

Code:
#!/bin/bash
openbox &
OPENBOX="$!"
POL "$@"
kill -2 "$OPENBOX"

make it executable with chmod 755 POL.sh.

And finally start it with:
xinit "`readlink -e POL.sh`" -- :1

Ensure you have openbox installed. The idea is to start a new X server that executes only your play-on-linux thingy and a minimal window manager (openbox). The execution should be completely separated from your original X server and so your icons should not get moved. (I have installed openbox.)

So, if this IS the answer, where would I put the script? If it is not the answer, then what is?

Thanx--doug