Auto Shutdown VM when app is closed

Disposable VMs shut down after their application is closed, is there a way to make a regular VM have the same behavior?

Basically after i’ve closed an app in a regular VM i want that VM to shut down automatically. I suspect i can insert code used in disposable VMs into my regular VM? But which code and where do i put it?

1 Like

thanks. installed

sudo apt install qubes-app-shutdown-idle

15 minutes was too long to wait so i edited


Qube now shutsdown after 6 seconds. Thanks.


Thanks for this.

In my case, customization path is