[Pkg-libvirt-maintainers] Bug#701097: virt-manager: No keyboard with Spice
Alexey Feldgendler
alexey at feldgendler.ru
Wed Nov 19 12:50:55 UTC 2014
Here are my XKB config files, so that full reproduction should be
possible. Hope this helps!
=== .xkb/keymap ===
xkb_keymap
{
xkb_keycodes
{
include "evdev"
};
xkb_types
{
include "default"
};
xkb_compatibility
{
include "complete"
include "ledscroll(group_lock)"
};
xkb_symbols
{
include "pc(pc105)"
include "terminate"
include "capslock(grouplock)"
include "level3(ralt_switch)"
include "inet(evdev)"
include "nbsp(level3n)"
include "x-no"
include "x-ru:2"
replace "x-mods"
};
xkb_geometry
{
include "pc(pc104)"
};
};
=== .xkb/symbols/x-no ===
partial alphanumeric_keys
xkb_symbols {
include "us(basic)"
key <AE01> { [ 1, exclam, exclamdown, onesuperior ] };
key <AE02> { [ 2, at, 2, twosuperior ] };
key <AE03> { [ 3, numbersign, section, threesuperior ] };
key <AE04> { [ 4, dollar, currency, sterling ] };
key <AE05> { [ 5, percent, EuroSign, yen ] };
key <AE06> { [ 6,asciicircum, 6, onequarter ] };
key <AE07> { [ 7, ampersand, 7, onehalf ] };
key <AE08> { [ 8, asterisk, multiply, threequarters ] };
key <AE09> { [ 9, parenleft, leftdoublequotemark,
leftsinglequotemark ] };
key <AE10> { [ 0, parenright, rightdoublequotemark,
rightsinglequotemark ] };
key <AE11> { [ minus, underscore, U2014, U2013 ] };
key <AD03> { [ e, E, ae, AE ] };
key <AD04> { [ r, R, registered, registered ] };
key <AD05> { [ t, T, U2122, U2122 ] };
key <AD09> { [ o, O, oslash, Ooblique ] };
key <AD10> { [ p, P, paragraph, degree ] };
key <AD11> { [ bracketleft, braceleft, guillemotleft, U201E ] };
key <AD12> { [bracketright, braceright, guillemotright, U201C ] };
key <AC01> { [ a, A, aring, Aring ] };
key <AB03> { [ c, C, copyright, cent ] };
key <AB09> { [ period, greater, U2026, U2026 ] };
key <AB10> { [ slash, question, questiondown, questiondown ] };
key <BKSL> { [ backslash, bar, notsign, brokenbar ] };
};
=== .xkb/symbols/x-ru ===
partial alphanumeric_keys
xkb_symbols {
include "ru(winkeys)"
key <AE09> { [ 9, parenleft, guillemotleft, U201E ] };
key <AE10> { [ 0, parenright,guillemotright, U201C ] };
key <AE11> { [ minus, underscore, U2014, U2013 ] };
key <AB10> { [ period, comma, U2026, U2026 ] };
};
=== .xkb/symbols/x-mods ===
partial xkb_symbols {
key <MENU> { type[Group1]="FOUR_LEVEL", [ Menu, Menu, Multi_key,
Multi_key ] };
key <I149> { [ XF86Launch1 ] };
key <FK22> { [ XF86KbdLightOnOff ] };
};
On Wed, Nov 19, 2014 at 10:48 AM, intrigeri <intrigeri at debian.org> wrote:
> Control: retitle -1 No keyboard with Spice when using some hand-crafted keyboard layout on the host
>
> Hi,
>
> Alexey Feldgendler wrote (24 Oct 2014 19:13:39 GMT) :
>> You are absolutely right: my custom XKB configuration is causing the
>> bug. I tried starting without it, and keyboard worked.
>
> OK, thanks. Retitling accordingly.
>
>> xkbcomp -I$HOME/.xkb $HOME/.xkb/keymap $DISPLAY
>
> I do something similar here (using xmodmap, though), and it works for
> me. So, to see this bug fixed, it would be good to pinpoint what exact
> part of your setup breaks the detection logic.
>
>> How does the layout detection work?
>
> I'm no C programmer, so I'm afraid I can't help on that one.
>
> Cheers,
> --
> intrigeri
--
--
Alexey Feldgendler <alexey at feldgendler.ru>
More information about the Pkg-libvirt-maintainers
mailing list