Xvfb and xkb

Peter Hutterer peter.hutterer at who-t.net
Wed Aug 15 22:12:08 PDT 2012


On Fri, Aug 10, 2012 at 08:42:51AM -0700, Ashwin Chandra wrote:
> I am using Xvfb to render an X session in memory. I am trying to use
> setxkbmap to change the key layouts. I seem to have difficulty doing this
> other than US key layout. There are no errors when calling “setxkbmap de”
> (german language) however the keymap looks all wrong and certain modifier
> keys like alt-gr don’t seem to work. I thought maybe I don’t have the right
> keymaps compiled in but I did a diff of /usr/share/X11/xkb with a working
> machine and it is the same. So I need some help figuring out how to debug
> this problem. Setxkbmap doesn’t seem to have much info except the verbose
> options telling me what it is setting.

stab in the dark: you're not by any chance calling setxkbmap first and then
other clients. If so, this would cause server regeneration and re-set
anything done before.

Cheers,
   Peter




More information about the xorg mailing list