Setting keyboard autorepeat rate with xkb?

Chris Frey cdfrey at foursquare.net
Tue May 31 14:49:29 PDT 2011


On Tue, May 31, 2011 at 05:26:26PM -0400, Marty Jack wrote:
> XkbGetControls( , XkbRepeatKeysMask, );
> xkb_desc->ctrls->repeat_interval = ;
> XkbSetControls( , XkbRepeatKeysMask,)
> 
> Advice to use xset is a big hint because you can look at its code to find the programmatic way.


Thanks.  I wasn't looking for the programmatic way, though.  I assumed
that if a config-file based autorepeat option was taken away, then there
would be a config-file based option available in xkb.

Maybe I'm misunderstanding the role of xkb.  There appears to be lots of
config file support for multiple keyboard layouts, etc, but none for
autorepeat.

But from the above answer, it would appear that from the admin's point
of view, xset is the only way?  I find this so stunning that I'm
apparently asking dumb questions on the mailing list. :-)

Is xset really the only way?

Thanks,
- Chris




More information about the xorg mailing list