linuxmint / linuxmint/cinnamon

gsettings set for org.cinnamon.desktop.peripherals.keyboard repeat/delay/repeat-interval does not take effect

Open
#12,844 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

BUG
Dominant language
JavaScript
Stars
5.6k
Forks
915
Avg merge
5d 22h
Merged PRs (30d)
3

Description

Distribution

Ubuntu 24.04.2 LTS

Package version

Cinnamon 6.0.4

Graphics hardware in use

No response

Frequency

Always

Bug description

I ran my settings:

gsettings set org.cinnamon.desktop.peripherals.keyboard repeat true
gsettings set org.cinnamon.desktop.peripherals.keyboard delay 210
gsettings set org.cinnamon.desktop.peripherals.keyboard repeat-interval 30

Usually they work fine.
When disconnecting and reconnecting external keyboard from laptop, sometimes cinnamon "forgets" the settings.

The problem is, when I run the above gsettings command again, it doesn't apply the settings, as can be seen by "xset q".

Steps to reproduce

run
gsettings set org.cinnamon.desktop.peripherals.keyboard repeat true
gsettings set org.cinnamon.desktop.peripherals.keyboard delay 210
gsettings set org.cinnamon.desktop.peripherals.keyboard repeat-interval 30

you can set them set by "xset q"

disconnect and reconnect external keyboard from laptop.

This step is not the bug I'm reporting. I do not know whether this is a bug or not.
The actual configuration of the keyboard changes, as can be seen by "xset q"

run
gsettings set org.cinnamon.desktop.peripherals.keyboard repeat true
gsettings set org.cinnamon.desktop.peripherals.keyboard delay 210
gsettings set org.cinnamon.desktop.peripherals.keyboard repeat-interval 30

The settings in step 5 does not re-apply the settings as can be seen by "xset q".

Expected behavior

Step 5 should have re-applied the settings.

Additional information

However the following workaround fixes it:
#workaround force cinnamon to apply settings
gsettings set org.cinnamon.desktop.peripherals.keyboard repeat false
gsettings set org.cinnamon.desktop.peripherals.keyboard repeat true
gsettings set org.cinnamon.desktop.peripherals.keyboard delay 210
gsettings set org.cinnamon.desktop.peripherals.keyboard repeat-interval 30

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the keyboard disconnect/reconnect sequence with the listed gsettings commands and xset q. Trace how Cinnamon handles the keyboard settings after reconnection; done means rerunning the commands reapplies repeat, delay, and repeat-interval without toggling repeat off and on.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, linux
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.