From d9d48e89480805ccf4cf67c6d59a92552002c970 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sat, 26 Dec 2015 02:09:06 +0100 Subject: [PATCH] qrexec: use tray notification when VM needs to be started For both successful start and the failed one Fixes QubesOS/qubes-issues#1446 --- qrexec/qrexec-policy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qrexec/qrexec-policy b/qrexec/qrexec-policy index b900b72..ee65c12 100755 --- a/qrexec/qrexec-policy +++ b/qrexec/qrexec-policy @@ -102,7 +102,7 @@ def spawn_target_if_necessary(vm): # use qvm-run instead of vm.start() to make sure that nothing is written # to stdout and nothing is read from stdin null = open("/dev/null", "r+") - subprocess.call(["qvm-run", "-a", "-q", vm.name, "true"], + subprocess.call(["qvm-run", "-a", "-tray", "-q", vm.name, "true"], stdin=null, stdout=null) null.close()