wine explorer /desktop doesn't work the first time

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Benjamin M. Schwartz

wine explorer /desktop doesn't work the first time

Post by Benjamin M. Schwartz »

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

If I do:

rm -r ~/.wine/
wineprefixcreate
wine explorer /desktop=default,1200x900 winemine

Then winemine opens in its own window. It does not open inside a fake
desktop, which is what explorer /desktop is supposed to do. However, if I
close winemine and run the same command again

wine explorer /desktop=default,1200x900 winemine

I get the correct behavior the second time, and winemine appears inside a
desktop window provided by explorer.

Can anyone else confirm this behavior? Am I doing something wrong?

The only noninteractive workaround I can think of is to have a script to
run after wineprefixcreate that opens wine and immediately closes. How
can I make wine start and immediately close, noninteractively? Is there a
better solution?

- --Ben
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD4DBQFH/sYgUJT6e6HFtqQRArOrAJ9k4WVm0K5a653yNTi67Tba4RUcQgCWPRUK
16NemFJOwEEQBlB3EvVWgw==
=WILf
-----END PGP SIGNATURE-----
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

wine explorer /desktop doesn't work the first time

Post by austin987 »

On Thu, Apr 10, 2008 at 9:00 PM, Benjamin M. Schwartz
<[email protected]> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

If I do:

rm -r ~/.wine/
wineprefixcreate
wine explorer /desktop=default,1200x900 winemine

Then winemine opens in its own window. It does not open inside a fake
desktop, which is what explorer /desktop is supposed to do. However, if I
close winemine and run the same command again

wine explorer /desktop=default,1200x900 winemine

I get the correct behavior the second time, and winemine appears inside a
desktop window provided by explorer.

Can anyone else confirm this behavior? Am I doing something wrong?

The only noninteractive workaround I can think of is to have a script to
run after wineprefixcreate that opens wine and immediately closes. How
can I make wine start and immediately close, noninteractively? Is there a
better solution?

- --Ben
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD4DBQFH/sYgUJT6e6HFtqQRArOrAJ9k4WVm0K5a653yNTi67Tba4RUcQgCWPRUK
16NemFJOwEEQBlB3EvVWgw==
=WILf
-----END PGP SIGNATURE-----

Works fine for me in wine 0.9.59 and in git.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: wine explorer /desktop doesn't work the first time

Post by vitamin »

Benjamin M. Schwartz wrote:Then winemine opens in its own window. It does not open inside a fake
desktop, which is what explorer /desktop is supposed to do. However, if I
close winemine and run the same command again

wine explorer /desktop=default,1200x900 winemine
The only reason this can happen is when Wine was still running. You specifying the default desktop so if Wine was already running there was already "default" desktop.
Benjamin M. Schwartz

wine explorer /desktop doesn't work the first time

Post by Benjamin M. Schwartz »

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

vitamin wrote:
| Benjamin M. Schwartz wrote:
|> Then winemine opens in its own window. It does not open inside a fake
|> desktop, which is what explorer /desktop is supposed to do. However, if I
|> close winemine and run the same command again
|>
|> wine explorer /desktop=default,1200x900 winemine
|
| The only reason this can happen is when Wine was still running. You
specifying the default desktop so if Wine was already running there was
already "default" desktop.
|

I can reproduce this behavior even immediately following a reboot, so it's
slightly weirder than that. However, changing "default" to some other
string does solve the problem.

Thank you.
- --Ben
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH/tfpUJT6e6HFtqQRAq3WAJ0QtCn38DkVUfQiasGDtXp/urjTsACeOwiq
DpVmndmZdAYWz4hIYmLB7WI=
=lpdJ
-----END PGP SIGNATURE-----
Locked