Your command xdotool search --name QUBE key ctrl+alt+F2
results in sending the ctrl+alt+F2
keystroke to dom0
.
After exploring xdotool
, I found that these steps result in reproducible success:
-
Use
xdotool
to find the ID of the desired window:xdotool selectwindow
The cursor will change into a target selector, proceed to click on the target window. In my case, this was the open StandaloneVM Qubes OS installer window. xdotool selectwindow
then outputs an 8 digit number string (Ex: 27831926) that is the ID of the target window.
-
Using the output from
xdotool selectwindow
, proceed to inject the TTY2 keystroke commandxdotool key --window 27831926 ctrl+alt+F2