From f3ad4e5c300a5ea9d010ee40554f4a641ec9bb87 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 1 May 2017 14:17:03 -0300 Subject: Xephyr: set keyboard layout --- kvmx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/kvmx b/kvmx index 293b469..4509a6d 100755 --- a/kvmx +++ b/kvmx @@ -958,7 +958,11 @@ function kvmx_xephyr { Xephyr :$GUEST_DISPLAY -ac -port $XDMCP_PORT -query 127.0.0.1 $resolution &> $XDMCPLOG < /dev/null & # Give time to connect - sleep 5 + sleep 1 + + # Set keyboard layout + # Thanks https://unix.stackexchange.com/questions/304391/xephyr-keyboard-mapping-not-working-properly + setxkbmap -display :0 -print | xkbcomp - :$GUEST_DISPLAY >> $XDMCPLOG # Fix window titles if which /usr/bin/xdotool &> /dev/null; then -- cgit v1.2.3