-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make it easier to open other apps and files in a running DisposableVM #5557
Comments
You can open terminal using domains widget (Q icon). But generally using multiple applications in a single DisposableVM may be confusing, as DisposableVM is destroyed as soon as you close the "primary" application (the one started initially) - regardless of what else is running there. |
If I want to use a disposable VM for more than just a one-time task like opening a PDF of unknown providence (the intended purpose), I usually just start the disposableVM via the "Xfce Terminal" (whonix) or Xterm (fedora). I then open another terminal window from that "original" terminal window and minimize it to reduce the chances of shutdown without intention. Then use the secondary terminal window to execute commands/applications. B |
Ohboyy I did not know this is how things work today. Will give this some thought in the updated AppMenu design. |
There is a way to currently do this, but it takes some configuration. I should make a guide about it as now all that exists are a documentation page on something related and a discussion on the forum. The solution is to have a named dispVM and configuring the
One thing the user would also need to do is to have the qubes-app-shutdown-idle package installed because now the qube doesn't shut down as soon as the user closes the viewing application (because there may be multiple). (slightly more) User-friendly implementationIn a qube's settings under The user would still need to create said Named DisposableVM via the terminal and install the qubes-app-shutdown-idle package. But it would avoid having to mess with Qubes RPC configurations. |
the qube doesn't shut down as soon as the user closes the viewing
application (because there may be multiple).
Are you sure?
If I start a DispVM with let's say Firefox and then I also open an
XTerm. As soon as I close the Firefox window the qube shutsdown with
XTerm and all.
It's easy to imagine a user losing hours of work that way if unaware.
|
Yes, some more thought will need to be given to the shut down behavior in a way that does not surprise the user. I mention here another possible solution: shutting down the VM when all windows are closed. |
This mockup is one of the leading candidate solutions for a new appmenu (for the first 2 releases, based on survey feedback thus far). It demonstrates the disp-vm functionality suggested in this issue. This feels like the most intuitive way to reflect this functionality in the appmenu. The ability to shut down VMs within the appmenu will likely be included in the forthcoming appmenu redesign (yep, that has been responded to quite favorably in the survey). Thoughts (on just the disp-vm part of this, relevant to this issue)? I am not comfortable with shutting down the VM by default, if any files have been saved to its File Manager in the use of another app—but if nothing has been downloaded or created/saved, then it makes sense to shut down the disp-vm with the closure of the last application open in it. |
Where? I'm not seeing any DisposableVMs in the menu. |
@andrewdavidwong What are you "seeing" instead? |
Oh, I was looking for an entry like |
Nit: That is how automatically created DisposableVMs are named. Manually-created DisposableVMs (often called “named DispVMs”) can be named anything the user wishes. |
Sure, but then I would have expected something like, "In this screenshot, we've created a static DisposableVM named X." At first, I thought So, one important takeaway is to indicate to the user which of these VMs are disposable and which are not. |
Quite an interesting approach. I like it 👍 |
All of the above, needs to be self-evident when looking at a UI at first glance (with familiar semiotics—which the qute qubes are not, just yet). Hence, why this will take some iteration. :) Alrightee... it sounds like there are some conversations that need to happen, around all the incarnation options for disposable VMs. That can happen, and I'll put it on my "to do" list for an async workshop. One other issue, is that the new icons system has not yet rolled-out... and I don't even have I will work on procuring a laptop to run test builds on, as I probably should have that, anyway. I cannot unfortunately run 4.1 on my SecureDrop Workstation laptop, which thus far is my only Qubes machine. |
Functionality shown in #6665 |
Implementing this will possibly have to change behavior of when a disposable qube shuts down. Current BehaviorShut down as soon as the first program opened there is closed. Example:
Future BehaviorShuts down only when all the processes associated with open applications close.
|
@marmarta Has this been done or is it being worked on? |
The problem you're addressing (if any)
If I open a new DispVM, I cannot (easily) open other apps in the same DispVM. If I do through the qubes menu, it opens a new DispVM with the new App.
Describe the solution you'd like
It'd be better if, when I opened, for example, Firefox in a DispVm called DispVM 3412, then DispVM 3412 appears in the Qubes menu just as other VMs do, so I can launch other apps other than Firefox inside it, not in a new one.
Where is the value to a user, and who might that user be?
In my case I want to test random github projects that require, for example, installing through terminal, browsing files, opening vscode, all inside one VM. Then I want everything to go away with the click of a button (shutdown VM). It's much better than creating a VM just for that and then erasing it.
But I see people using this for any kind of problems
The text was updated successfully, but these errors were encountered: