diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-05-01 14:17:03 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-05-01 14:17:03 -0300 |
commit | f3ad4e5c300a5ea9d010ee40554f4a641ec9bb87 (patch) | |
tree | 29149f3a75802919608adef0c86b998a0e11c9ba | |
parent | 4cf2f1d7600133fe69d701facc93a3bc61f5646b (diff) | |
download | kvmx-f3ad4e5c300a5ea9d010ee40554f4a641ec9bb87.tar.gz kvmx-f3ad4e5c300a5ea9d010ee40554f4a641ec9bb87.tar.bz2 |
Xephyr: set keyboard layout
-rwxr-xr-x | kvmx | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |