]> gitweb.fluxo.info Git - vbox.git/commitdiff
Fix window title on kvmx
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 28 Dec 2016 13:59:23 +0000 (11:59 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 28 Dec 2016 13:59:23 +0000 (11:59 -0200)
kvmx

diff --git a/kvmx b/kvmx
index 432ae40454ef37e6f700f1a24bb7801eedea5dd6..f83fecca027bdb1cacdd0a2f917a2fe647b878cd 100755 (executable)
--- 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