How to Adjust Keyboard Key Repeat Rate and Delay in Ubuntu

When typing in text editors, navigating code with cursor arrows, or playing desktop games in Ubuntu, keyboard responsiveness directly affects productivity. By default, holding down a keyboard key triggers key repetition after a fixed delay. However, fast typists often find the initial delay too sluggish when holding Backspace to delete paragraphs, while users with motor tremors or sensitive mechanical keyboards may suffer from accidental duplicate letters because keys repeat too quickly. Ubuntu GNOME includes dedicated settings to fine-tune both the initial delay and continuous repeat speed.

Understanding Repeat Delay vs Repeat Speed

Ubuntu divides keyboard repetition into two distinct parameters:

  • Delay: The amount of time (in milliseconds) a key must be held down continuously before the system starts repeating the character. Setting a longer delay prevents accidental duplicate letters.
  • Speed: The frequency at which the character repeats once the initial delay has passed. Setting a faster speed allows rapid deletion or cursor traversal across terminal prompts and text files.

Step-by-Step: Adjusting Key Repeat Settings in Ubuntu

To modify keyboard repetition using standard GNOME Settings:

  1. Open the system application launcher and click on Settings (or click the Quick Settings menu in the top-right corner and select the gear icon).
  2. In the left-hand navigation sidebar, click on Accessibility.
  3. Locate the Typing section.
  4. Click on the row labelled Repeat Keys.
  5. Ensure the master toggle switch for Repeat Keys is set to On.
  6. Adjust the Delay slider between Short and Long to calibrate how quickly holding a key begins repeating.
  7. Adjust the Speed slider between Slow and Fast to set the continuous repetition rate.
  8. Click into the test text box beneath the sliders and hold down any key to test the responsiveness in real time.

The adjustments apply immediately without requiring a user logoff or system reboot.

Tip for Gamers and Code Editors: If you navigate extensive terminal output using arrow keys, setting Delay to Short and Speed to Fast provides lightning-fast cursor navigation.

How to Disable Key Repeat Entirely

If you prefer that holding a key never produces multiple characters under any circumstance, simply toggle the master switch for Repeat Keys to the Off position in step 5.

Calibrating these typing settings guarantees your hardware matches your natural hand cadence, eliminating frustrating typos and sluggish cursor movement.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.