[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: keyboard repeat




export CST_KBD_DELAY=250    # [ms]
export CST_KBD_RATE=30      # [char/s]
export CST_KBD_REPEAT=34    # [ms]

# linux console (needs to be root):
kbdrate -s -r $CST_KBD_RATE -d $CST_KBD_DELAY

# in X
xset r rate $CST_KBD_DELAY $CST_KBD_RATE

# in wayland:
??

----
Please note that those settings are reverted if plugging
a keyboard (USB). Therefore I guess here is another way
using udev rules what I'm too lazy to figure out.

Also, in my use case, different keyboards have different
keys and need to be configured anyway. So I call a script
when switching a keyboard and put the script in .xsessionrc
for X sessions.

Attachment: pgpOlIHTJjHPK.pgp
Description: OpenPGP digital signature


Reply to: