This is qubes-i3-sensible-terminal but support for any DE.
Known to work in XFCE.
-
Copy the script below to DOM0 and make it executable
In a networked VM:
curl -o /home/user/sensible-terminal.sh TODO
In DOM0:
qvm-run --pass-io your-vm "cat /home/user/sensible-terminal.sh" > /home/user/sensible-terminal.sh chmod +x /home/user/sensible-terminal.sh
Make sure to review the script and make sure it's safe.
cat /home/user/sensible-terminal.sh
-
Add a keybind to run this script when a key is pressed
Qubes by default comes with XFCE which you can configure keyboard shortcuts on.
In DOM0:
xfce4-keyboard-settings
Go to "Application Shortcuts", click on "Add"
Command:
sensible-terminal.sh
Press "Ok", then press the key you want to bind it to, eg CTRL + ALT + T
You should now be able to press your keybind that you set, then a terminal will open in either in a VM or DOM0 depending on the window you have focused.