The forum

Same Game, Seperate window with title

Set /desktop=

Author Replies
kkatz Wednesday 29 January 2014 at 8:09
kkatzAnonymous

I used to use wineprefixes manually, I must say, this POL is some fun and very sweet.

I used to have a properties shortcut command like this: env WINEPREFIX="/home/bunbox/.wine" WINEDEBUG="-all" wine explorer "/desktop=EVE1,1500x876" "C:\Program Files\CCP\EVE\bin\ExeFile.exe"

I prefer the desktop size and title as I have two games open sometimes, and the other properties shortcut reads: ... "/desktop=EVE2,1500x876" ...

I do realize that I could just copy the folder and/or install the game again. Its big and isnt necessary as you can have many instances of this game running under the same prefix.

I configure the "configure wine" graphics as "Emulate a virtual desktop as 1500x876.
I have created 2 shortcuts and they work, however one window is burried. and I like to slide it over just a bit as I was previously able to do. It looks as though they are sharing the same window.

How can I add this "/desktop=" command to POL? Perhaps a line that steals my shortcut name created in POL and uses that to set the /desktop= is all thats needed?

I am using ubuntu and it has installed POL v.4.0.14, It tells me theres an update to 4.2.2, but ubuntu is not aware of it. So, im not sure if this functionality is available at all yet.

Thanks for your time.
petch Wednesday 29 January 2014 at 19:02
petch

I used to have a properties shortcut command like this: env WINEPREFIX="/home/bunbox/.wine" WINEDEBUG="-all" wine explorer "/desktop=EVE1,1500x876" "C:Program FilesCCPEVEbinExeFile.exe"

I prefer the desktop size and title as I have two games open sometimes, and the other properties shortcut reads: ... "/desktop=EVE2,1500x876" ...

Quote from kkatz

Shortcuts are small bash scripts under ~/.PlayOnLinux/shortcuts/, so it may be possible to modify them to run above commands

I am using ubuntu and it has installed POL v.4.0.14, It tells me theres an update to 4.2.2, but ubuntu is not aware of it. So, im not sure if this functionality is available at all yet.

Quote from kkatz

4.0.14 is outdated (Nov 2011). You're not restricted to installing only packages from Ubuntu repositories, as long as you tell your system where to find packages!
See on the download page here how to proceed.
http://www.playonmac.com/en/download.html
kkatz Wednesday 29 January 2014 at 20:31
kkatzAnonymous

Thank you, that link helped me update. Now running most current.

I now see two possible places i might be able to add the /desktop= command, however my attempts so far are unsucesful. "command to exec before running the program" & "General" -> "Arguments".

I did try to modify the scripts as you say, but they revert back if I attempt pol configurations. I Was hoping for a cleaner option as POl has cleaned up installing exe's for me so far.

Thanks
petch Wednesday 29 January 2014 at 22:24
petch

Created a shorcut to notepad.exe and replaced the
POL_Wine "notepad.exe" $@"

with
POL_Wine explorer /desktop=EVE1,1024x768 "notepad.exe" $@"

Seems to work for me.
kkatz Thursday 30 January 2014 at 7:36
kkatzAnonymous

Nope not for me, still only runs one instance.
kkatz Thursday 30 January 2014 at 7:36
kkatzAnonymous

Nope not for me, still only runs one instance.

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com