Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 May 2003 13:41:55 +0930
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        Tom <tsasser@terra.cl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: key repeat rate
Message-ID:  <20030518041155.GB77354@wantadilla.lemis.com>
In-Reply-To: <200305172140.08488.tsasser@terra.cl>
References:  <200305172140.08488.tsasser@terra.cl>

next in thread | previous in thread | raw e-mail | index | archive | help

--RASg3xLB4tUQ4RcS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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

--RASg3xLB4tUQ4RcS
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (FreeBSD)

iD8DBQE+xwgLIubykFB6QiMRAl+LAKCANXLwvsdLMYYm5jMlP+3q3NtH7wCeNzOG
I+SMXFsUr7k0NyaMHXdTONM=
=+wIp
-----END PGP SIGNATURE-----

--RASg3xLB4tUQ4RcS--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030518041155.GB77354>