Is there a way to configure dom0 to always send a specific key code to a specific qube regardless of focus?
e.g. XF86AudioPlay (so it always goes to the qube that runs my music library / VLC)
Update (12/16/20): based on the answer I did this…
In dom0 XFCE under Settings | Keyboard | Application Shortcuts I added …
qvm-run -a app-library “dbus-send --type=method_call
–dest=org.mpris.MediaPlayer2.vlc /org/mpris/MediaPlayer2
org.mpris.MediaPlayer2.Player.PlayPause”
… and bound it to the XF86AudioPlay.