Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 May 2003 03:17:09 -0400
From:      parv <parv_fm@emailgroups.net>
To:        Tom <tsasser@terra.cl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: key repeat rate
Message-ID:  <20030518071709.GB45509@moo.holy.cow>
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
in message <200305172140.08488.tsasser@terra.cl>,
wrote Tom thusly...
>
> i'm having difficulty with key repeat rates in X windows

Okay then; use xset(1) (somewhere in your xinitrc or equivalent)...

  r       The r option controls the autorepeat.  If a preceding  dash  or
          the  'off'  flag  is  used, autorepeat will be disabled.  If no
          parameters or  the  'on'  flag  is  used,  autorepeat  will  be
          enabled.   If  a  specific keycode is specified as a parameter,
          autorepeat for that keycode is enabled  or  disabled.   If  the
          server  supports  the XFree86-Misc extension, or the XKB exten-
          sion, then a parameter of 'rate' is accepted and should be fol-
          lowed  by  zero, one or two numeric values. The first specifies
          the delay before autorepeat starts and the second specifies the
          repeat  rate.   In  the  case  that the server supports the XKB
          extension, the delay  is  the  number  of  milliseconds  before
          autorepeat  starts,  and  the rate is the number of repeats per
          second.  If the rate or delay is not given, it will be  set  to
          the default value.


...so delay of 350 ms & 30 repeats/s, for all the keys, will be set as...

  xset r rate 350 30



  - parv

-- 



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