Bug#1130250: cinnamon: Keyboard repeat settings ignored when USB keyboard attached
Package: cinnamon
Version: 6.4.10-2
Severity: normal
X-Debbugs-Cc: vincent1999@live.com.au
Dear Maintainer,
When a USB keyboard is disconnected and reconnected, it will 'forget' my key
repeat settings (repeat, delay, repeat-interval) and use the default settings
instead.
This persists until any of the key repeat options are changed - either with the
graphical menu, or using CLI commands e.g. :
gsettings set org.cinnamon.desktop.peripherals.keyboard repeat false
gsettings set org.cinnamon.desktop.peripherals.keyboard repeat true
running the commands above will restore the delay and delay-interval settings.
Steps to reproduce:
1. Plug in the USB keyboard.
2. Hold down a key on the keyboard, and observe how fast the key repeats.
3. Change the repeat 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 20
4. Hold down a key on the keyboard. The keys should repeat much faster.
5. Unplug the USB keyboard.
6. Plug in the USB keyboard.
7. Hold down a key on the keyboard. Observe the same speed as in step 2.
8. Change repeat settings to the same value
gsettings set org.cinnamon.desktop.peripherals.keyboard delay 210
9. Hold down a key on the keyboard. Observe the same speed as in step 7.
10. Change repeat settings to a different value.
gsettings set org.cinnamon.desktop.peripherals.keyboard delay 211
11. Hold down a key on the keyboard. Observe the same speed as in step 4.
Expected behaviour:
Key repeat behaviour should persist when a keyboard is unplugged, and then
plugged back in again.
Additional information:
This was initially reported to the upstream project by other people over 3
years ago.
https://github.com/linuxmint/cinnamon/issues/11198
After some investigation, I figured out that it may be a problem with the
muffin package, so I reported it there as well
https://github.com/linuxmint/muffin/issues/808#issuecomment-4029940708
However, the bug seems to have been fixed in more recent versions - a
maintainer was not able to reproduce it. So I ran a Live USB with Linux Mint
(Cinnamon 6.6.4, muffin 6.6.1) and the issue does not occur.
My guess is that muffin is the package with the issue, but I can't be sure of
that.
-- System Information:
Debian Release: 13.3
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.69+deb13-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages cinnamon depends on:
ii cinnamon-common 6.4.10-2
ii cinnamon-control-center 6.4.1-1
ii cinnamon-desktop-data 6.4.1-1
ii cinnamon-l10n 6.4.2-1
ii cinnamon-screensaver 6.4.0-1
ii cinnamon-session 6.4.0-1
ii cinnamon-settings-daemon 6.4.3-1
ii cjs 128.0-1
ii cups-pk-helper 0.2.6-2.1
ii dbus 1.16.2-2
ii dconf-gsettings-backend [gsettings-ba 0.40.0-5
ckend]
ii gir1.2-accountsservice-1.0 23.13.9-7
ii gir1.2-caribou-1.0 0.4.21-10
ii gir1.2-cmenu-3.0 6.4.0-1
ii gir1.2-cvc-1.0 6.4.1-1
ii gir1.2-ecal-2.0 3.56.2-0+deb13u1
ii gir1.2-edataserver-1.2 3.56.2-0+deb13u1
ii gir1.2-gcr-3 3.41.2-3
ii gir1.2-gdkpixbuf-2.0 2.42.12+dfsg-4
ii gir1.2-gkbd-3.0 3.28.1-2
ii gir1.2-glib-2.0 2.84.4-3~deb13u2
ii gir1.2-gsound-1.0 1.0.3-3.2+b4
ii gir1.2-gtk-3.0 3.24.49-3
ii gir1.2-ical-3.0 3.0.20-1+b1
ii gir1.2-keybinder-3.0 0.3.2-1.1+b3
ii gir1.2-nemo-3.0 6.4.5-1
ii gir1.2-nm-1.0 1.52.1-1
ii gir1.2-nma-1.0 1.10.6-5
ii gir1.2-notify-0.7 0.8.6-1
ii gir1.2-pango-1.0 1.56.3-1
ii gir1.2-polkit-1.0 126-2
ii gir1.2-soup-3.0 3.6.5-3
ii gir1.2-timezonemap-1.0 0.4.6-7+b1
ii gir1.2-upowerglib-1.0 1.90.9-1
ii gir1.2-xapp-1.0 2.8.8-1
ii gkbd-capplet 3.28.1-2
ii gnome-backgrounds 48.2.1-1
ii gnome-icon-theme 3.12.0-6
ii gnome-themes-extra 3.28-4
ii gsettings-desktop-schemas 48.0-1
ii iso-flags-png-320x240 1.0.2-2
ii libatk-bridge2.0-0t64 2.56.2-1+deb13u1
ii libatk1.0-0t64 2.56.2-1+deb13u1
ii libc6 2.41-12+deb13u1
ii libcairo2 1.18.4-1+b1
ii libcinnamon-desktop4t64 6.4.1-1
ii libcinnamon-menu-3-0 6.4.0-1
ii libcjs0 128.0-1
ii libgcr-base-3-1 3.41.2-3
ii libgdk-pixbuf-2.0-0 2.42.12+dfsg-4
ii libgirepository-1.0-1 1.84.0-1
ii libgles2 1.7.0-1+b2
ii libglib2.0-0t64 2.84.4-3~deb13u2
ii libglib2.0-bin 2.84.4-3~deb13u2
ii libgstreamer1.0-0 1.26.2-2
ii libgtk-3-0t64 3.24.49-3
ii libjxl-gdk-pixbuf 0.11.1-4
ii libmuffin0t64 6.4.1-1
ii libnm0 1.52.1-1
ii libpango-1.0-0 1.56.3-1
ii libpolkit-agent-1-0 126-2
ii libpolkit-gobject-1-0 126-2
ii libsecret-1-0 0.21.7-1
ii libx11-6 2:1.8.12-1
ii libxapp1 2.8.8-1
ii libxfixes3 1:6.0.0-2+b4
ii libxml2 2.12.7+dfsg+really2.9.14-2.1+deb13u2
ii mesa-utils 9.0.0-2+b2
ii muffin 6.4.1-1
ii nemo 6.4.5-1
ii nm-connection-editor 1.36.0-3+b1
ii pkexec 126-2
ii psmisc 23.7-2
ii python3 3.13.5-1
ii python3-dbus 1.4.0-1
ii python3-distro 1.9.0-1
ii python3-gi 3.50.0-4+b1
ii python3-gi-cairo 3.50.0-4+b1
ii python3-pampy 2.0.2-3
ii python3-pexpect 4.9-3
ii python3-pil 11.1.0-5+b1
ii python3-pyinotify 0.9.6-5
ii python3-requests 2.32.3+dfsg-5
ii python3-setproctitle 1.3.6-2
ii python3-tinycss2 1.4.0-2
ii python3-tz 2025.2-3
Versions of packages cinnamon recommends:
ii blueman 2.4.4-1
ii cinnamon-core 6.4.1
ii gnome-online-accounts-gtk 3.50.6-1
ii gnome-terminal 3.56.2-2
ii inxi 3.3.38-1-1
ii libcanberra-pulse 0.30-18
ii libxapp-gtk3-module 2.8.8-1
ii metacity-common 1:3.56.0-1
pn touchegg <none>
ii xapp-sn-watcher 2.8.8-1
ii xdg-desktop-portal-gtk 1.15.3-1
ii xdg-desktop-portal-xapp 1.1.0-1
Versions of packages cinnamon suggests:
ii cinnamon-desktop-environment 6.4.1
pn cinnamon-doc <none>
pn python3-opencv <none>
-- no debconf information
Reply to: