aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkvmx8
1 files changed, 7 insertions, 1 deletions
diff --git a/kvmx b/kvmx
index 432ae40..f83fecc 100755
--- a/kvmx
+++ b/kvmx
@@ -29,4 +29,10 @@ kvm -m 2048 -name $VM -drive file=$STORAGE/$VM.img,if=virtio -vga qxl \
-fsdev local,id=$VM,path=$SHARED,security_model=none -device virtio-9p-pci,fsdev=$VM,mount_tag=$VM &
# Run spice client
-spicec --host localhost --port $PORT
+spicec --host localhost --port $PORT &
+
+# Give time to boot
+sleep 5
+
+# Fix window titles
+xdotool search --name "SPICEc:0" set_window --name $VM