2

When using a TTY login shell by entering e.g. Ctrl-Alt-F1 on Debian Jessie. There is inhuman fast delay, specifically I think these values are correct (250ms)

root@VB-NB-Debian:~# kbdrate
Typematic Rate set to 10.9 cps (delay = 250 ms)

vlastimil@VB-NB-Debian:~$ sudo kbdrate
Typematic Rate set to 10.9 cps (delay = 250 ms)

Which I don't understand anyway, I have a "normal" 810ms set in my KDE system. Still in Xterm the kbdrate says I have a delay of 250ms set.

Anyway this is not the point. I need to permanently change the delay for all TTYs. Can you help me with that?

I found this Adjusting keyboard sensitivity in a command line terminal? but it doesn't guide me. What exactly shall I do?

EDIT1: So, the question is, how to set the delay (not interested in the rate) once and for all.

  • On Debian, man kbdrate lists /etc/rc.local in the FILES section, so this is probably where you want to put your command. But I'm not sure if you're asking for the right place to set the rate once and for all, or if you're asking help because kbdrate doesn't work on your system. – user2718996 Oct 29 '15 at 18:35
  • @user2718996 the question is, how to set the delay (not interested in the rate) once and for all for all TTYs – LinuxSecurityFreak Oct 30 '15 at 3:41
  • According to the manpage, kbdrate -d 250 should set the delay to 250 ms. The manpage says that for Intel-based systems, the allowable range is from 250 to 1000 ms, in 250 ms steps. So if you use such a system, only use 250, 500, 750 or 1000. Other values are not valid. If it works, then put the command into /etc/rc.local – user2718996 Oct 30 '15 at 22:31
  • By the way, add atkbd.softrepeat=1 on the kernel command line if you need fast repeat rate and low delay. Hardware delay is limited by 250ms, and repeat rate is nothing more than 30, so for most people preferring arrows navigation, this will not work. Even Visual Assist plugin in Visual Studio doubles keyboard repeat rate with a reason. I'm working on my laptop without X installed to avoid procrastination. I've spend a working day googling how to make kbdrate using slower delay than 250. – Brian Haak Aug 4 '17 at 21:17
3

I think the kbdrate program only affects the rate in the Linux console outside of X windows and I think has to do with the bios keyboard repeat rate. The program you can use from a terminal in X windows to set the one that will control X windows terminals like Xterm is called xset. Use it like this:

xset r rate 810 30

I don't use KDE so I'm not sure if this really works in KDE, but it works in XFCE. Interestingly enough, when I went to go search for "X keyboard rate" on Google to confirm it, the first result was my own webpage from 14 years ago complaining about this. ;-)

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.