aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-05-01 14:10:36 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-05-01 14:10:36 -0300
commit4cf2f1d7600133fe69d701facc93a3bc61f5646b (patch)
treea1df77496784702a0680d9d62d8d4400398eabcb
parentb333a9022f1dc511e3196688c59f3db54bcfa697 (diff)
downloadkvmx-4cf2f1d7600133fe69d701facc93a3bc61f5646b.tar.gz
kvmx-4cf2f1d7600133fe69d701facc93a3bc61f5646b.tar.bz2
Xephyr: fix window title
-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