Just to riff on this ... I made a bash script called qvm-run-in-focused-vm that accepts one command as parameter and then uses the structure @unman showed to run that command either in dom0 or the VM that has the focus.
Then I hooked up the following XFCE shortcuts: Ctrl+Enter --> qvm-run-in-focused-vm xterm Ctrl+Shift+Enter --> qvm-run-in-focused-vm nautilus Ctrl+Shift+W --> qvm-run-in-focused-vm "sudo poweroff" So much goodness! ;-) -- public key: https://www.svensemmler.org/2A632C537D744BC7.asc fingerprint: DA59 75C9 ABC4 0C83 3B2F 620B 2A63 2C53 7D74 4BC7 -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/65b7dc2d-7b15-971f-06da-86eea6801ea3%40SvenSemmler.org.
OpenPGP_signature
Description: OpenPGP digital signature