From owner-freebsd-questions@FreeBSD.ORG Sat May 17 21:12:00 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 799FE37B401 for ; Sat, 17 May 2003 21:12:00 -0700 (PDT) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id D783343F85 for ; Sat, 17 May 2003 21:11:58 -0700 (PDT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id D8FD951A97; Sun, 18 May 2003 13:41:55 +0930 (CST) Date: Sun, 18 May 2003 13:41:55 +0930 From: Greg 'groggy' Lehey To: Tom Message-ID: <20030518041155.GB77354@wantadilla.lemis.com> References: <200305172140.08488.tsasser@terra.cl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RASg3xLB4tUQ4RcS" Content-Disposition: inline In-Reply-To: <200305172140.08488.tsasser@terra.cl> User-Agent: Mutt/1.4i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 cc: freebsd-questions@freebsd.org Subject: Re: key repeat rate X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2003 04:12:00 -0000 --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