On Wed, Nov 27, 2019 at 08:16:28AM -0500, Steve Coleman wrote:
You can try this trick when starting your app/vm:

dom0> qvm-run -a AppVM "resource-heavy-app;shutdown -h now"

When the application closes the next command in line is the shutdown command, and the VM will simply exit. As long as the app does not background itself by forking a new process to demonize this will likely work.

If in testing that command works for you, then you can create a specialized AppVM.desktop file, and set the Exec= entry to "resource-heavy-app;shutdown -h now". Once that is done then add that custom desktop file to your template VM in /usr/share/applications and you should then be able to add the application directly to your qubes menu for that specific VM.

Thanks!

--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20191128020742.GA1253%40danwin1210.me.

Reply via email to