diff --git a/Makefile b/Makefile index 5fe4645..d072e92 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,7 @@ install: install -m 0644 etc/qvm-start-daemon-kde.desktop $(DESTDIR)/etc/xdg/autostart/ install -d $(DESTDIR)/usr/bin ln -sf qvm-start-daemon $(DESTDIR)/usr/bin/qvm-start-gui + install -m 0755 scripts/qubes-guivm-session $(DESTDIR)/usr/bin/ clean: rm -rf test-packages/__pycache__ qubesadmin/__pycache__ diff --git a/qubesadmin/tools/qvm_start_daemon.py b/qubesadmin/tools/qvm_start_daemon.py index 0c5d908..62f6ae1 100644 --- a/qubesadmin/tools/qvm_start_daemon.py +++ b/qubesadmin/tools/qvm_start_daemon.py @@ -634,7 +634,7 @@ class DAEMONLauncher: continue if not self.is_watched(vm): - return + continue power_state = vm.get_power_state() if power_state == 'Running': diff --git a/scripts/qubes-guivm-session b/scripts/qubes-guivm-session new file mode 100755 index 0000000..a507338 --- /dev/null +++ b/scripts/qubes-guivm-session @@ -0,0 +1,21 @@ +#!/bin/bash -e + +print_usage() { +cat >&2 <