setting multiple layout variants with setxkbmap

Ernest Adrogué nfdisco at gmail.com
Fri Dec 27 06:33:59 PST 2013


Hi there,

According to setxkbmap's man page, I should be able to select multiple
layout variants by giving setxkbmap a comma-separated list of variants.
However when I do that, it doesn't seem to work.

With '-variant cat', it uses the specified layout variant:

ernest at doriath:~$ setxkbmap -variant cat -print
xkb_keymap {
	   xkb_keycodes  { include "evdev+aliases(qwerty)"	};
	   xkb_types     { include "complete"			};
	   xkb_compat    { include "complete"			};
	   xkb_symbols   { include "pc+es(cat)+inet(evdev)+ctrl(nocaps)+compose(rwin)"	};
	   xkb_geometry  { include "pc(pc105)"						};
};

So does '-variant nodeadkeys':

ernest at doriath:~$ setxkbmap -variant nodeadkeys -print
xkb_keymap {
	   xkb_keycodes  { include "evdev+aliases(qwerty)"	};
	   xkb_types     { include "complete"			};
	   xkb_compat    { include "complete"			};
	   xkb_symbols   { include "pc+es(nodeadkeys)+inet(evdev)+ctrl(nocaps)+compose(rwin)"	};
	   xkb_geometry  { include "pc(pc105)"							};
};

However, with '-variant cat,nodeadkeys' none of the variants is used:

ernest at doriath:~$ setxkbmap -variant cat,nodeadkeys -print
xkb_keymap {
	   xkb_keycodes  { include "evdev+aliases(qwerty)"	};
	   xkb_types     { include "complete"			};
	   xkb_compat    { include "complete"			};
	   xkb_symbols   { include "pc+es+inet(evdev)+ctrl(nocaps)+compose(rwin)"	};
	   xkb_geometry  { include "pc(pc105)"						};
};

Am I doing something wrong?

Cheers.

PS. Please CC me in replies.


More information about the xorg mailing list