I know I can change keyboard autorepeat settings with xset r rate <delay> <rate>. Can anyone tell me the default values on Ubuntu? I've checked the man page and tried googling, to no avail.

  • 3
    xset q should display current settings.
    – jimmij
    Commented Jul 17, 2017 at 12:09
  • This link might help: askubuntu.com/questions/140255/… Commented Jul 17, 2017 at 12:33
  • @jimmij thanks! If you post this as an answer, I'll be happy to accept it :-) Commented Jul 17, 2017 at 12:40

1 Answer 1


You can display current settings with

xset -q

where among other useful information one can find:

Keyboard Control:
  auto repeat:  on
  auto repeat delay:  660    repeat rate:  25

Delay is given in milliseconds and rate is the number of repeats per second.

  • 4
    Just a side note: both xset q and xset -q work, the later option (with dash) is more standard in unix world, but the former is given in xset manual.
    – jimmij
    Commented Jul 17, 2017 at 15:07
  • Note that for many arguments (including b (bell), dpms, fp (font path), and r (repeat rate)), xset treats the presence or absence of - differently. @jimmij is correct that both work the same for q, but in general, using - with xset can be surprising.
    – Ben Stern
    Commented May 17, 2020 at 2:20

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .