windows icon indicating copy to clipboard operation
windows copied to clipboard

VNC keyboard mapping - Possible solution

Open avoiceofreason opened this issue 2 years ago • 0 comments

RDP tends to get keyboard mapping correct

VNC on QEMU probably just takes some default (en-us ?)

Anyway you can force a different keyboard mapping using the -k "{keymap}" ARGUMENTS env variable using any of the following {keymap} codes:

ar cz de en-gb es fi fr fr-ca hr is ja lv nl pl pt-br sl th bepo da de-ch en-us et fo fr-be fr-ch hu it lt mk no pt ru sv tr

So in my case I am passing through a USB device and forcing a UK keyboard with this docker run line:

-e ARGUMENTS="-device usb-host,vendorid=0x1234,productid=0x5678 -k en-gb"

I've tested and is working for me on VNC browser access and a UK keyboard. Welcome back: | \ " @

avoiceofreason avatar Mar 13 '24 13:03 avoiceofreason