Cant set my xkb's xkeymap with xkbcomp
aprekates
aprekates at posteo.net
Fri Dec 18 23:56:29 UTC 2020
$ setxkbmap -layout us,gr,de
$ setxkbmap -print
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete+ledscroll(group_lock)" };
xkb_symbols { include
"pc+us+gr:2+de:3+inet(evdev)+group(ctrl_shift_toggle)"};
xkb_geometry { include "hhk(basic)" };
So setxkbmap does report current xkeymap .
And if i create an xkeymap dump and check it's symbols section:
$ xkbcomp -xkb $DISPLAY xkbmap.out
$ less xkbmap.out
xkb_symbols "pc+us+gr:2+de:3+inet(evdev)+group(ctrl_shift_toggle)" {
name[group1]="English (US)";
name[group2]="Greek";
name[group3]="German";
key <ESC> { [ Escape ] };
key <AE01> {
type[group2]= "FOUR_LEVEL",
type[group3]= "FOUR_LEVEL",
symbols[Group1]= [ 1, exclam ],
symbols[Group2]= [ 1, exclam, NoSymbol, onesuperior ],
symbols[Group3]= [ 1, exclam, onesuperior, exclamdown ]
};
key <AE02> {
type[group2]= "FOUR_LEVEL",
type[group3]= "FOUR_LEVEL",
symbols[Group1]= [ 2, at ],
symbols[Group2]= [ 2, at, onehalf, twosuperior ],
symbols[Group3]= [ 2, quotedbl, twosuperior, oneeighth ]
};
Now lets see what happens if i try to change xkeymap with loading a
Kccgst description to xkbcomp:
$ less mapus
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete+ledscroll(group_lock)" };
xkb_symbols { include
"pc+us+inet(evdev)+group(ctrl_shift_toggle)" };
xkb_geometry { include "hhk(basic)" };
};
$ xkbcomp mapus $DISPLAY
$ xkbcomp -xkb $DISPLAY xkbmap.out
$ less xkbmap.out
xkb_symbols "pc+us+inet(evdev)+group(ctrl_shift_toggle)" {
name[group1]="English (US)";
name[group2]="Greek";
name[group3]="German";
key <ESC> { [ Escape ] };
key <AE01> { [ 1, exclam ] };
key <AE02> { [ 2, at ] };
key <AE03> { [ 3, numbersign ] };
key <AE04> { [ 4, dollar ] };
$ setxkbmap -print // still shows us,gr,de !
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete+ledscroll(group_lock)" };
xkb_symbols { include
"pc+us+gr:2+de:3+inet(evdev)+group(ctrl_shift_toggle)"};
xkb_geometry { include "hhk(basic)" };
};
So is this a bug?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.x.org/archives/xorg/attachments/20201219/a5bde88d/attachment.htm>
More information about the xorg
mailing list