[Pkg-libvirt-maintainers] Bug#583534: virt-manager: Seriously fucked up keyboard layout in VNC

Cole Robinson crobinso at redhat.com
Fri May 28 14:25:16 UTC 2010


On 05/28/2010 03:52 AM, Adrian 'Dagurashibanipal' von Bidder wrote:
> Package: virt-manager
> Version: 0.8.4-2
> Severity: important
> Justification: essential characters may be unavailable
> 
> Heyho!
> 
> The host system has a swiss german keyboard.  On the guest, I tested
> both specifying us or also sg keyboard.  Either way, the result is
> nothing like it should, which is extremely annoying since several
> essential keys (slash, backslash, ...) are either not mapped anywhere I
> could find them or in completely unexpected places.  I guess the
> keycodes are remapped twice or sometihng like that.
> 
> Specifying us in the vm is closer to correct, but:
>  -> / becomes ?
>  -> $ becomes 4
>  -> ^, ~, ` are unavailable (key does nothing)
> 
> All characters that need AltGr are unavailable.
> 
> This means for example that I can't enter an URL to a local Debian
> mirror.  And during the installation there's no ssh yet ...
> 

virt-manager is buggy with trying to set the keymap. This commit should
fix it with reasonably new qemu:

http://hg.fedorahosted.org/hg/virt-manager/rev/99cf13a133f3

You can probably fix your issue by removing the keymap= piece from the
<graphics> device using 'virsh edit VMNAME' and restarting your guest.





More information about the Pkg-libvirt-maintainers mailing list