How do I prevent wine virtual desktop shell from automatically closing?
-
- Level 2
- Posts: 22
- Joined: Sat Jan 08, 2022 3:07 pm
How do I prevent wine virtual desktop shell from automatically closing?
When I run wine in virtual desktop shell (wine explorer /desktop=shell) and I run an application and close the program after I finish testing on it, the virtual desktop shell closes by itself automatically and I want to find a way of how can I prevent wine virtual desktop shell from automatically closing by itself without using wine task manager.
Re: How do I prevent wine virtual desktop shell from automatically closing?
As you have noticed, the virtual desktop will close when the last program is shut down. You can leave a program running in the background to keep the window open.
For example:
I leave it up to you how you want to close Wine.
For example:
Code: Select all
wine explorer /desktop=shell start /b /min cmd /c pause
-
- Level 2
- Posts: 22
- Joined: Sat Jan 08, 2022 3:07 pm
Re: How do I prevent wine virtual desktop shell from automatically closing?
I want to do it without leaving the program running in the background, if it's possible.jkfloris wrote: ↑Fri Apr 14, 2023 11:40 am As you have noticed, the virtual desktop will close when the last program is shut down. You can leave a program running in the background to keep the window open.
For example:I leave it up to you how you want to close Wine.Code: Select all
wine explorer /desktop=shell start /b /min cmd /c pause
-
- Level 4
- Posts: 143
- Joined: Mon Jun 02, 2008 5:03 pm
Re: How do I prevent wine virtual desktop shell from automatically closing?
This behavior is hard-coded and would have to be changed in the source code.
-
- Level 2
- Posts: 22
- Joined: Sat Jan 08, 2022 3:07 pm
Re: How do I prevent wine virtual desktop shell from automatically closing?
Is there a way that I can prevent wine virtual desktop shell from automatically closing?madewokherd wrote: ↑Fri Apr 14, 2023 3:54 pm This behavior is hard-coded and would have to be changed in the source code.
Like some user.reg code or system.reg code?
Also where can I find the source code?