📖 ~1 min read
Table of contents
Symptom & Impact
Keyboard input switches to the wrong layout after login, reboot, or app focus change.
Environment & Reproduction
Language indicator changes unexpectedly and key mapping no longer matches physical keyboard.
Root Cause Analysis
Conflicting input methods, GNOME source ordering, or stale user locale settings.
Quick Triage
Set a single default layout first and temporarily remove extra input sources.
Step-by-Step Diagnosis
Inspect gsettings for input sources, locale output, and active ibus/fcitx service state.

Solution – Primary Fix
Normalize input source configuration, reset user keyboard settings, and relogin to apply.
Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.

Solution – Alternative Approaches
Pin preferred layout using startup scripts if desktop components keep overriding defaults.
Verification & Acceptance Criteria
Chosen keyboard layout remains persistent across sessions, apps, and reboot cycles.
Rollback Plan
Restore previous locale and input source backup if custom changes break typing behavior.
Prevention & Hardening
Avoid multiple overlapping input frameworks unless required by multilingual workflows.
Related Errors & Cross-Refs
Can overlap with login profile corruption, language pack issues, and desktop settings resets.
Related tutorial: View the step-by-step tutorial for Ubuntu 20.04 LTS.
View all Ubuntu 20.04 LTS tutorials on the Tutorials Hub →
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
See Ubuntu input source configuration docs and GNOME keyboard preference references.
Need Expert Help?
If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today — we respond within one business day.