I want to set a global keyboard rate for both the X session and the console that persists for external keyboards, across plug-ins and removals. To my understanding, Xorg and console settings have to be configured independently.
Ideally, I'd like to disable repeat rate entirely, which is why the delays in my snippets are so long.
I seem to have a working solution for the X session, but not for the console. The X session solution does not actually disable the keyboard repeat; I'd like it to.
I have a
service for setting the keyboard rate in the
console, which I have enabled:
Description=Keyboard repeat rate in tty.
ExecStart=/usr/bin/kbdrate -d 1000 -r 2
This works, until I unplug and replug the keyboard.
I set this in my
xset r off
which works, until I unplug and replug the keyboard.
The persistent method seems to be:
Option "AutoRepeat" "5000 5000"
I am not aware of how to actually disable repeat rate from this config, so I am using a long delay and interval. I would love a solution to this.