Check the 'if idle 15min, shutdown' by dom0 script


I am looking for a command to set this check box (set it on / off) by a dom0 script. I expected this setting in qvm-prefs but I guess it is not accessible here since it is running as a service.

At the moment, only checking for visible windows is supported - when a VM has no visible windows for more than 15 minutes, it’s going to be shut down. The mechanism is opt-in - enable shutdown-idle service in qube settings to use it.

Could someone paste me the line to change this idle setting?

$ qvm-service --enable VMNAME shutdown-idle
$ qvm-service --unset  VMNAME shutdown-idle

@rustybird thank you. :heart_hands:
… again one step further in my Debian minimal script.