Keyboard layouts switch with delay

Bug #1388770 reported by Dmitry Mukha on 2014-11-03
This bug report is a duplicate of:  Bug #1370953: layout switch is delayed. Edit Remove
This bug affects 14 people
Affects Status Importance Assigned to Milestone

Bug Description

Impact: when typing and switching to another keyboard layout there is a delay from 1 to 2 seconds.

Test Case:
1. Set keyboard layout to EN
2. Start typing
3. Switch to another layout by pressing the hot-key (e.g. to RU)
4. Continue typing right after the switch - the first 1-3 characters are still in EN keyboard layout

This happens from time to time. It feel like the layout is cached or something and when switching HDD indicator sometimes lights up.

Output of xev when the switch hotkey is pressed once (Alt+Shift):

keycode 64 = (keysym 0xffe9, Alt_L), state = 0x0
keycode 50 = (keysym 0xffe1, Shift_L), state = 0x8
keycode 50 = (keysym 0xffe1, Shift_L), state = 0x9
keycode 64 = (keysym 0xffe9, Alt_L), state = 0x8

DistroRelease: Ubuntu 14.04
Architecture: amd64
Machine: Asus u38n C4010H

Dmitry Mukha (muhhmail) on 2014-11-03
affects: gnome-screensaver (Ubuntu) → ubuntu
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu:
status: New → Confirmed
Guria (guria) wrote :

DistroRelease: Ubuntu 15.04
Architecture: amd64

Sometimes have the same issue.

Ubuntu 15.04 x64

The issue is still present.

Maxim Kravets (zeelax) wrote :

Ubuntu 14.04.03 x64.
Every layout change alternates ~/.config/dconf/user file. Layout change is slow when disk is busy. If you use SSD or your disk is idle, change happens very fast.

Dmitry Mukha (muhhmail) wrote :


Thanks, that's what I thought(connection to slow hdd). Strangely enough I have never had this issue on 12.04, 12.10, 13.04, 13.10. Wonder if the process changed since 14.04?

Maxim Kravets (zeelax) wrote :


I don't which version have started it. I've noticed it a few times about 2-3 years ago, but that's all. After a while SSD came to my laptop and there were no problem any more.

By the way, /usr/lib/dconf/dconf-service is the guy. Some sophisticated layout change method comes to mind :)

Alex (topic001) wrote :

what the f*cking bullshit???? 21st century and you can't solve this annoying bug during several years??? F*ck your bloody UNITY and solve this simplest and most important problem!!!
how to use the system if not possible to switch layout normally???
shit! shit! shit!

Ubuntu 17.04

uname -a
Linux 4.10.0-33-generic #37-Ubuntu SMP Fri Aug 11 10:53:59 UTC 2017 i686 i686 i686 GNU/Linux

prohfesor (prohfesor) wrote :

For the Ubuntu 18, this solution seems simple and good: (use `gnome-tweak-tool`)
For some reason, gnome settings tool showed different keyboard combinations than console command
`gsettings get org.gnome.desktop.wm.keybindings switch-input-source`

Dmitriy Zhilyaev (diamn) wrote :

Did you find resolve it?

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers