From: Silvio Rhatto Date: Mon, 1 May 2017 17:10:36 +0000 (-0300) Subject: Xephyr: fix window title X-Git-Tag: 0.1.0~443 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=4cf2f1d7600133fe69d701facc93a3bc61f5646b;p=kvmx.git Xephyr: fix window title --- 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