Setting/correcting keymap in Virt-Manager

The keymap is part of the VNC configuration.
Can be set manually or through virt-manager.

Set it from Virt-Manager

Details → Display VNC 1) → Remove
Add hardware → Graphics → Keymap = Same as host

Set it manually

Edit XML config for guest

e.g. /etc/libvirt/qemu/GuestOS.xml and add/change keymap field in graphics element, i.e.:


<graphics type='vnc' port='-1' autoport='yes' listen='' keymap='en-us'/>


<graphics type='vnc' port='-1' autoport='yes' listen='' keymap='es'/>

Reload libvirt service configuration, e.g. on debian:

# /etc/init.d/libvirt-bin force-reload
1) See keymap field
virt-manager/keymap.txt · Last modified: 2010/03/02 16:47 by Toni Corvera
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki