From owner-freebsd-questions@FreeBSD.ORG Thu May 10 12:26:54 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 624C7106564A for ; Thu, 10 May 2012 12:26:54 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 1B91A8FC0C for ; Thu, 10 May 2012 12:26:54 +0000 (UTC) Received: from [82.113.98.52] (helo=tiny.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1SSRos-0000PO-CA for freebsd-questions@freebsd.org; Thu, 10 May 2012 13:46:06 +0200 Received: from tiny.Sisis.de (localhost [127.0.0.1]) by tiny.Sisis.de (8.14.5/8.14.3) with ESMTP id q4ABk4nD001667 for ; Thu, 10 May 2012 13:46:04 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by tiny.Sisis.de (8.14.5/8.14.3/Submit) id q4ABk34q001666 for freebsd-questions@freebsd.org; Thu, 10 May 2012 13:46:03 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: tiny.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Thu, 10 May 2012 13:46:03 +0200 From: Matthias Apitz To: freebsd-questions@freebsd.org Message-ID: <20120510114602.GA1643@tiny> References: <20110725151047.GA8701@sh4-5.1blu.de> <20120409170659.GA4608@tinyCurrent> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20120409170659.GA4608@tinyCurrent> X-Operating-System: FreeBSD 10.0-CURRENT r226986 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 82.113.98.52 Subject: Re: keyboard latency from time to time X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 May 2012 12:26:54 -0000 El día Monday, April 09, 2012 a las 07:06:59PM +0200, Matthias Apitz escribió: > Months later, in some other issue, I learned about the feature of KDE > "slow keys" and what I have described is exactly the same behaviour and > I can now even reproduce this with just pressing and holding down the > Shift-key for around 8 secs; when it happens one must go to the KDE > Control Center and activate 'slow keys' (yes, they are not shown as > activated in this moment) and deactivate 'slow keys' again, and all is > fine. I was curious and digged deeper into this... "slow keys" is part of the X11 XKB-protocol (details in XKBproto.pdf or XkbGetSlowKeysDelay(3) man page; in the ports there is ports/x11/xkbset utility and with this one can set the "Slowkeys acceptance delay" (time in ms the X server awaits a key is hold down before sending out the keypress event) or to switch it off again: $ xkbset slowkeys 500 # to switch in on and set 500ms delay $ xkbset -slowkeys # to switch it off again HIH matthias -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5