Bug#673028: xkbcomp doesn't install key repeat state
Package: x11-xkb-utils
Version: 7.5+5
Severity: important
Whether a key is eligible to auto-repeat can be specified in XKB source,
using the key.repeat property. xkbcomp processes this, preserving it in
a compiled .xkm file and regurgitating it when decompiling a .xkm back to
.xkb source. However, when it's asked to install a keymap, by giving it
a display as a target, it doesn't install the per-key repeat property.
Instead, the keys retain the repeat state that they previously had.
Working around this requires use of "xset r" and "xset -r" to separately
set the repeat flag for each keycode.
When xkbcomp is asked to read the keymap state back from a display,
it correctly reflects the effective per-key repeat state. So "xkbcomp
t0.xkb $DISPLAY; xkbcomp $DISPLAY t1.xkb" yields t1.xkb showing repeat
states unrelated to those in t0.xkb, while in other respects showing
equivalent settings.
-zefram
Reply to: