Setting keyboard autorepeat rate with xkb?
Peter Hutterer
peter.hutterer at who-t.net
Mon Apr 1 19:43:00 PDT 2013
On Mon, Apr 01, 2013 at 01:27:49PM -0700, Alan Coopersmith wrote:
> On 04/ 1/13 01:05 PM, Tony Bones wrote:
> > But I have two keyboards and need to set different auto repeat rates for each independently. Currently I'm still using the kbd driver and can certainly switch over to evdev and InputClass. I didn't see a way xset would target a specific keyboard / input device.
>
> The xinput command provides per-device settings, but I don't see auto
> repeat rates in the properties the kbd driver exposes. I don't have
> an evdev machine booted at the moment to check if it has an auto-repeat
> rate property.
it doesn't. autorepeat is handled by XKB and xinput doesn't expose xkb
settings. You really need something like xkbctrl which, on a quick glance,
supports a device ID:
ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/xkbctrl/xkbctrl.c
Cheers,
Peter
More information about the xorg
mailing list