aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkvmx8
1 files changed, 8 insertions, 0 deletions
diff --git a/kvmx b/kvmx
index 2814780..293b469 100755
--- a/kvmx
+++ b/kvmx
@@ -956,6 +956,14 @@ function kvmx_xephyr {
fi
Xephyr :$GUEST_DISPLAY -ac -port $XDMCP_PORT -query 127.0.0.1 $resolution &> $XDMCPLOG < /dev/null &
+
+ # Give time to connect
+ sleep 5
+
+ # Fix window titles
+ if which /usr/bin/xdotool &> /dev/null; then
+ xdotool search --name "Xephyr on :" set_window --name $VM
+ fi
}
# Dispatch