cosmic-settings icon indicating copy to clipboard operation
cosmic-settings copied to clipboard

Keyboard repeat rate is painfully slow even at maximum setting

Open Andriamanitra opened this issue 10 months ago • 1 comments

Scrolling through large files using arrow keys / PageUp / PageDown feels very sluggish at repeat rate of only 45. The slider in the settings only goes up to 45 due to this constant:

https://github.com/pop-os/cosmic-settings/blob/9ce8046e8acbd3074696d121c3e8900dd765b229/cosmic-settings/src/pages/input/keyboard/mod.rs#L89

As a workaround it's possible to modify the configuration file at ~/.config/com.system76.CosmicComp/v1/xkb_config directly:

(
    rules: "",
    model: "pc105",
    layout: "fi",
    variant: "",
    options: Some("terminate:ctrl_alt_bksp"),
    repeat_delay: 200,
    repeat_rate: 80,
)

I'm sure some users will prefer even faster repeat rate than I do so it might be good to set the maximum to around 150 or so (assuming there's no good reason behind the low cap).

As a side note it would be nice to be able to see some concrete numbers on the settings page instead of (or in addition to) a subjectively labeled slider from "Slow" to "Fast". If the user could see something like "10/s" they might have some intuition about how fast it is without having to try so many values. Same goes for repeat delay – I know I usually keep it at 200ms, but with a slider going from "Short" to "Long" I didn't even know which side of the slider to start from.

Andriamanitra avatar Jan 20 '25 09:01 Andriamanitra

+1

howesteve avatar Feb 25 '25 23:02 howesteve