[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#632970: cannot set keyboard layout for vserver



On Sat, Jul 23, 2011 at 09:35:19 +0200, Samuel Thibault wrote:

> Julien Cristau, le Fri 22 Jul 2011 20:21:00 +0200, a écrit :
> > On Fri, Jul 22, 2011 at 15:57:11 +0200, Samuel Thibault wrote:
> > > So it'd be a matter of xserver-xephyr defaulting to the underlying X
> > > server layout,
> > 
> > Maybe.  Except there's no reliable way to do that.
> 
> Actually I don't see why. Doesn't Xephyr use the underlying X server
> keycodes? It'd be a matter of copying the current X layout into the
> Xephyr server.
> 
Right.  But InitKeyboardDeviceStruct takes rmlvo, not a complete map.  I
guess you could run XkbGetMap on the host server and the equivalent of
XkbSetMap on the guest; that might prove messy…

Cheers,
Julien



Reply to: