linuxmint / linuxmint/cinnamon
gsettings set for org.cinnamon.desktop.peripherals.keyboard repeat/delay/repeat-interval does not take effect
Nobody has claimed this yet.
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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