Individual keyboard remapping (again)

Julien Cristau jcristau at debian.org
Wed Oct 20 12:06:00 PDT 2010


On Wed, Oct 20, 2010 at 20:25:51 +0200, Florian Echtler wrote:

> $ setxkbmap -device 9 -print
> xkb_keymap {
> 	xkb_keycodes  { include "evdev+aliases(qwertz)"	};
> 	xkb_types     { include "complete"	};
> 	xkb_compat    { include "complete"	};
> 	xkb_symbols   { include "pc+de+inet(evdev)"	};
> 	xkb_geometry  { include "pc(pc105)"	};
> };
> $ setxkbmap -device 8 -print
> xkb_keymap {
> 	xkb_keycodes  { include "evdev+aliases(qwertz)"	};
> 	xkb_types     { include "complete"	};
> 	xkb_compat    { include "complete"	};
> 	xkb_symbols   { include "pc+de+inet(evdev)"	};
> 	xkb_geometry  { include "pc(pc105)"	};
> };
> 
> AFAICT, the output should be different? What am I doing wrong?
> 
setxkbmap -print is probably not what you want.  It uses the
_XKB_RULES_NAMES root window property to figure out the
rules/model/layout/variant/options, not the actually set keymap.  That
property is not multi-device aware.  Use 'xkbcomp -i <device> :0 -'
instead.

Cheers,
Julien



More information about the xorg mailing list