Jumpin' Gemini! How I Used Google AI to Fix the Self-Created Problem of Changing my Keyboard repeat delay and rate

(We recommend you bookmark this blog. Trying to find helpful information in forums usually just ends in making you frustrated and angry. This blog does not speculate or guess. If we post it, we've tried it and it works. As with all our posts, if you don't care about the background info, you can head straight to the yellow highlighted sections for the problem and the fix.)

THE SITUATION: For some reason that I actually do not recall, a while back I wanted to change the repeat delay and rate of my keyboard keys. For some other reason, I used the fix which was actually intended for X server and not Wayland, the latter being what I have. As a result, every time I logged out or shut down my computer the keyboard defaulted to the settings that I no longer wanted, which required me to use the command line each session to reset my keyboard to default (xset r rate). After I finally had an unlazy moment, I searched for a way to return to my system's default keyboard setting. The juicy stuff (what I actually did) is highlighted in yellow below. Everything below the line below is copied and pasted from my Google Gemini results for the query: reset keyboard repeat delay and rate wayland linux
Wayland handles keyboard repeat delay and rate differently from X11. The xset r rate command is specific to the X server and will not work directly in a native Wayland session.

In Wayland, keyboard input and settings are managed by the compositor (e.g., GNOME Shell, KDE Plasma, Sway, Hyprland). This means there's no universal command-line tool like xset that works across all Wayland compositors.

Here's how to reset or adjust keyboard repeat delay and rate in common Wayland environments:

1. GNOME (Wayland):

GNOME provides built-in settings for keyboard repeat.

  • GUI:

    1. Open Settings.

    2. Go to Accessibility.

    3. Scroll down to the Typing section and click on Repeat Keys.

    4. Here you'll find sliders for "Delay" (how long you have to hold a key before it starts repeating) and "Speed" (how quickly it repeats). You can also toggle "Repeat Keys" on/off.

  • dconf (command-line): GNOME settings are stored in dconf. You can modify them using the gsettings command. To reset to default:

    Bash
    gsettings reset org.gnome.desktop.peripherals.keyboard delay
    gsettings reset org.gnome.desktop.peripherals.keyboard repeat-interval
    gsettings reset org.gnome.desktop.peripherals.keyboard repeat
    

    To set specific values (e.g., delay of 200ms, interval of 30ms):

    Bash
    gsettings set org.gnome.desktop.peripherals.keyboard delay 200
    gsettings set org.gnome.desktop.peripherals.keyboard repeat-interval 30
    gsettings set org.gnome.desktop.peripherals.keyboard repeat true

Comments

Popular posts from this blog

Installing Donation Version of FreeFileSync to Replace Free Flatpak Version

Using Thorium Reader to Read DRM protected Readium lcpl books from archive.org, Linux Ubuntu

NormCap as Linux Screen Capture and Text OCR Tool, a Windows Power Tools Alternative