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

Cole Robinson crobinso at redhat.com
Wed Jun 9 14:01:23 UTC 2010


On 06/04/2010 05:41 AM, Guido Günther wrote:
> Hi Cole,
> On Fri, May 28, 2010 at 10:25:16AM -0400, Cole Robinson wrote:
>> 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
> That one adds the conn info to VirtualGraphics. How would this affect
> the keyboard handling?
> 

Sorry, I should have provided more info. It will only fix the issue for
new guests: we use the connection instance to detect the qemu version,
so we can decide whether to specify a keymap or not. Newer qemu and
gtk-vnc can transparently handle it for us.

To fix existing guests, see:

https://bugzilla.redhat.com/show_bug.cgi?id=586201#c5

> There seem to be heeps of fixes in HG, would it make sense to release a
> new minor versions to reduce the number of reports about things fixed
> upstream?

Yeah it's getting to that point :)





More information about the Pkg-libvirt-maintainers mailing list