key repeat rate
Greg 'groggy' Lehey
grog at FreeBSD.org
Sat May 17 21:12:00 PDT 2003
On Saturday, 17 May 2003 at 21:40:08 -0600, Tom wrote:
> hi all,
>
> i'm having difficulty with key repeat rates in X windows. kde allows some
> configuration of this; however, i use windowmaker. how do i adjust the key
> repeat rate in windowmaker? googling for "key" and "windowmaker", "key
> repeat" and "windowmaker" did not return anything useful.
The key repeat rates shouldn't be a function of Windowmaker. You
should use the system's function, which is called kbdcontrol. The
system sets the values for you automatically if you specify it in
/etc/rc.conf. For example, I have:
keyrate=250.46
This means "wait 250 milliseconds before starting the repeat, then
repeat every 46 ms". The man page gives a list of the possible rates
you can set:
-r delay.repeat | speed
Set keyboard delay (250, 500, 750, 1000) and repeat (34, 38, 42,
46, 50, 55, 59, 63, 68, 76, 84, 92, 100, 110, 118, 126, 136, 152,
168, 184, 200, 220, 236, 252, 272, 304, 336, 368, 400, 440, 472,
504) rates, or if a speed argument is specified, it may be one of
slow (1000.504), fast (250.34) or normal (500.126).
If you want to change the speed from an xterm, you need to be root,
and the input file should be /dev/console. For example:
# kbdcontrol </dev/console -r fast
Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030518/7b9417ad/attachment.bin
More information about the freebsd-questions
mailing list