13

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.

jimmij
  • 46,064
  • 19
  • 123
  • 136
Jan Warchoł
  • 2,881
  • 3
  • 16
  • 28

1 Answers1

13

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.

jimmij
  • 46,064
  • 19
  • 123
  • 136
  • 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 Jul 17 '17 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 May 17 '20 at 02:20