Package: xkb-data
Version: 2.42-1
Distribution: Debian 13 (Trixie)
Severity: normal

---

Description
After upgrading to Debian 13 (Trixie) with xkb-data 2.42-1, the X server automatically adds the British layout (“gb”) as the first layout in the XKB configuration even if it’s not specified in /etc/default/keyboard, localectl, or XFCE settings.

Result:
  layout: gb,us,ru
Expected:
  layout: us,ru

---

Steps to Reproduce
1. Install Debian 13 (Trixie).
2. Ensure /etc/default/keyboard contains:
   XKBLAYOUT="us,ru"
   XKBOPTIONS="grp:alt_shift_toggle,grp_led:scroll"
3. Run localectl status → correct output (us,ru).
4. Start an X session (XFCE, LightDM, etc.).
5. Run setxkbmap -query → output shows gb,us,ru.

---

Environment
- Debian 13 (Trixie)
- xkb-data 2.42-1
- XFCE 4.18 / LightDM
- Keyboard model: pc105
- Hardware: AT Translated Set 2 keyboard

---

Additional Info
- localectl status shows correct layouts (us,ru)
- No XKB environment variables
- udev and XFCE configs clean
- Downgrading to xkb-data 2.38-1 restores correct behavior
- Reproducible on fresh installs and VMs

---

Workarounds
- Comment out the <layout><name>gb</name> block in /etc/X11/xkb/rules/evdev.xml
- Downgrade xkb-data to 2.38-1 (Bookworm)

---

Suggested Fix
Review rule generation in 2.42: prevent forced fallback of “gb” layout when other layouts are explicitly configured.

--
*Kind regards,*
*Artem Gatchenko*
Email: [email protected]
Phone: +224 628 86 33 46
Website: mining-engineer.com <https://mining-engineer.com>

This email and any attachments are confidential. If you are not the intended recipient,
please notify the sender and delete this email immediately.

🌿 Please consider the environment before printing this email.
🌿 Protect our seas, save water, and reduce your carbon footprint.
🌿 Protégez nos mers, économisez l'eau et réduisez votre empreinte carbone.
🌿 Schützen Sie unsere Meere, sparen Sie Wasser und reduzieren Sie Ihren CO₂-Fußabdruck.
🌿 Protege nuestros mares, ahorra agua y reduce tu huella de carbono.
🌿 Proteja nossos mares, economize água e reduza sua pegada de carbono.
🌿 Proteggi i nostri mari, risparmia acqua e riduci la tua impronta di carbonio.
🌿 保护我们的海洋,节约用水,减少您的碳足迹。

Reply via email to