Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 May 2012 13:46:03 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: keyboard latency from time to time
Message-ID:  <20120510114602.GA1643@tiny>
In-Reply-To: <20120409170659.GA4608@tinyCurrent>
References:  <20110725151047.GA8701@sh4-5.1blu.de> <20120409170659.GA4608@tinyCurrent>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <guru@unixarea.de> - 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



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