I found this QoL post linking to this script:
And I tested that Tor Browser similarly can be exited by way of a local xdotool
invocation:
[app-qube]$ xdotool search --onlyvisible --name 'Tor Browser' key --window '%1' ctrl+q
But I’d still prefer philosophically to leave the Whonix template unmodified, no additional xdotool
package. It’s unfortunate that sending the Ctrl-Q to the remote window on dom0
doesn’t appear to propagate the key to the app qube’s X session.