I have a few full screen applications that I'd like to run contained in small windows. Currently, in order to run them this way, I have to either open winecfg and set a virtual desktop or launch the application on the terminal with: wine explorer /desktop=name,1024x768 app.exe
What I'd like is something that does this for me similar to app defaults. That way I could run the application by double clicking it (or from the shortcut in the start menu) and have it contained in the window I want.
Ideally I'd be able to enable this setting from a right click->properties menu, however that work isn't necessarily needed within Wine other than support for modifying this new key using something like reg.exe on the terminal.
It seems like it'd be fairly simple to implement, too. Any thoughts?
Thanks, Scott Ritchie
On Mon, Apr 14, 2008 at 3:39 AM, Scott Ritchie scott@open-vote.org wrote:
I have a few full screen applications that I'd like to run contained in small windows. Currently, in order to run them this way, I have to either open winecfg and set a virtual desktop or launch the application on the terminal with: wine explorer /desktop=name,1024x768 app.exe
What I'd like is something that does this for me similar to app defaults. That way I could run the application by double clicking it (or from the shortcut in the start menu) and have it contained in the window I want.
Ideally I'd be able to enable this setting from a right click->properties menu, however that work isn't necessarily needed within Wine other than support for modifying this new key using something like reg.exe on the terminal.
It seems like it'd be fairly simple to implement, too. Any thoughts?
Thanks, Scott Ritchie
There was a similar request in a bug a few weeks ago. Someone made the comment that since Windows's explorer doesn't support this, we can't, even though running it on a per-app basis with the 'wine explorer /desktop=name,1024x768 app.exe" workaround allows it to work. I asked for an explanation in the bug, but received no response (I can't find the bug off hand, I'll keep looking).
On Mon, Apr 14, 2008 at 11:23 AM, Austin English austinenglish@gmail.com wrote:
There was a similar request in a bug a few weeks ago. Someone made the comment that since Windows's explorer doesn't support this, we can't, even though running it on a per-app basis with the 'wine explorer /desktop=name,1024x768 app.exe" workaround allows it to work.
As WINE is not a Windows Emulator, but rather a means to get Windows applications to run in Linux, I see no reason why this shouldn't be allowed in WINE's explorer.
On Monday 14 April 2008 01:39:08 am Scott Ritchie wrote:
I have a few full screen applications that I'd like to run contained in small windows. Currently, in order to run them this way, I have to either open winecfg and set a virtual desktop or launch the application on the terminal with: wine explorer /desktop=name,1024x768 app.exe
What I'd like is something that does this for me similar to app defaults. That way I could run the application by double clicking it (or from the shortcut in the start menu) and have it contained in the window I want.
IIRC, the problem is you can't have two Wine processes using two different desktops. Try this: start an app without virtual desktop and leave it running, run winecfg and turn on virtual desktop (make sure to click Apply), then try to start another app. It won't use a virtual desktop.
I'm also not sure virtual desktop mode should be seen as a way to force fullscreen apps into a windowed mode, because that's not what it does. The app takes up the whole desktop still, it's just contained within a window that Wine controls for better compatibility, like the unmanaged windows setting.
On Mon, Apr 14, 2008 at 7:34 AM, Chris Robinson chris.kcat@gmail.com wrote:
IIRC, the problem is you can't have two Wine processes using two different desktops. Try this: start an app without virtual desktop and leave it running, run winecfg and turn on virtual desktop (make sure to click Apply), then try to start another app. It won't use a virtual desktop.
Terminal one: $ rm -rf ~/.wine $ wine notepad
Terminal two: $ winecfg # enable virtual desktop $ winemine # doesn't go in virtual desktop $ wine explorer /desktop=name,1024x768 winemine # goes in virtual desktop
Now can someone please explain why this is? Is it because using the workaround a second explorer process is started? If so, we can extend the same process and run those apps needing workarounds in a virtual desktop...
Austin English wrote:
On Mon, Apr 14, 2008 at 7:34 AM, Chris Robinson chris.kcat@gmail.com wrote:
IIRC, the problem is you can't have two Wine processes using two different desktops. Try this: start an app without virtual desktop and leave it running, run winecfg and turn on virtual desktop (make sure to click Apply), then try to start another app. It won't use a virtual desktop.
Terminal one: $ rm -rf ~/.wine $ wine notepad
Terminal two: $ winecfg # enable virtual desktop $ winemine # doesn't go in virtual desktop $ wine explorer /desktop=name,1024x768 winemine # goes in virtual desktop
That's by design when you change configuration via winecfg it applies to "default" desktop only. And if it's already active (desktop for your notepad) it won't just become virtual desktop. When you using "name" that creates separate desktop with that name and requested parameters.
Vitaliy
On Mon, Apr 14, 2008 at 9:11 PM, Vitaliy Margolen wine-devel@kievinfo.com wrote:
Austin English wrote:
On Mon, Apr 14, 2008 at 7:34 AM, Chris Robinson chris.kcat@gmail.com wrote:
IIRC, the problem is you can't have two Wine processes using two different desktops. Try this: start an app without virtual desktop and leave it running, run winecfg and turn on virtual desktop (make sure to click Apply), then try to start another app. It won't use a virtual desktop.
Terminal one: $ rm -rf ~/.wine $ wine notepad
Terminal two: $ winecfg # enable virtual desktop $ winemine # doesn't go in virtual desktop $ wine explorer /desktop=name,1024x768 winemine # goes in virtual desktop
That's by design when you change configuration via winecfg it applies to "default" desktop only. And if it's already active (desktop for your notepad) it won't just become virtual desktop. When you using "name" that creates separate desktop with that name and requested parameters.
Vitaliy
What would be lost by having those apps that someone wants to be in their own virtual desktop each having their own (with unique names). I.e., if you choose to give Starcraft and Wow each their own desktop, but not notepad: $ wine notepad #works in regular managed mode $ wine wow.exe # would be equivalent to running wine explorer /desktop=wow,1024x768 wow.exe $ wine starcraft.exe # would be equivalent to running wine explorer /desktop=starcraft,800x600 starcraft.exe
With the desktop names being either assigned by program name, automatically assigned, or chosen by the user. Resolution could default to 800 x 600, but also be customizable in winecfg.
Thoughts?
"Austin English" austinenglish@gmail.com writes:
What would be lost by having those apps that someone wants to be in their own virtual desktop each having their own (with unique names). I.e., if you choose to give Starcraft and Wow each their own desktop, but not notepad: $ wine notepad #works in regular managed mode $ wine wow.exe # would be equivalent to running wine explorer /desktop=wow,1024x768 wow.exe $ wine starcraft.exe # would be equivalent to running wine explorer /desktop=starcraft,800x600 starcraft.exe
With the desktop names being either assigned by program name, automatically assigned, or chosen by the user. Resolution could default to 800 x 600, but also be customizable in winecfg.
Thoughts?
That's clearly something that would be nice to have, but it's not trivial to do; otherwise it would have been done already, it has been requested for a while now. Patches are welcome of course...