Keyboard Layout indicator doesn't display current layout in Ubuntu 18.04 (empty drop down box)
I see an empty drop down box where the language code of the current keyboard layout should be.
To reproduce the bug: Lock screen or log out and log in again.
I also get the same behavior on the lock screen at the time when I try to log in with my password:
After I tried the workaround (below) the language code on the login screen disappeared as soon as I typed the first character of my password.
Workaround (not permanent): Switching with keyboard (Super+space) or mouse.
System info: Ubuntu 18.04.1 LTS, GNOME 3.28.2.
Please indicate in the bug report if also affects you.
A fix was released, already verified on Cosmic and Bionic.
EnableProposed
Until is added to normal repos, to enable them on Bionic (18.04) as said here, follow these instructions to enable the proposed archive, which basically say:
- Enable pre-release updates:
-
Add to
/etc/apt/preferences.d/proposed-updates
Package: * Pin: release a=bionic-proposed Pin-Priority: 400
If
sudo apt-get upgrade -s
return any package, something went wrong. - Run
sudo aptitude -t bionic-proposed
- Update with u
- Select the proposed related packages:
- gnome-shell-common 3.28.3+git20190124-0ubuntu18.04.1
- gnome-shell 3.28.3+git20190124-0ubuntu18.04.1
- Upgrade with g
- Restart GNOME.
Please test it and eventually suggest changes to this post. If everything went OK upvote and share your love with the developers.
After some January updates got the same problem, but on Ubuntu 18.10. Reinstalling appindicator packages (see commands below), somehow partially fixed the problem: lang indicator stop disappearing in gnome-shell, but still do in gdm.
apt install --reinstall gir1.2-appindicator3-0.1
apt install --reinstall gnome-shell-extension-appindicator
Update 2019-01-20
the commands above didn't work. worked solution, at least for ubuntu 18.10 (Cosmic), is rollback to previous version of gnome-shell
and gnome-shell-common
packages:
sudo apt install --reinstall gnome-shell=3.30.1-2ubuntu1 gnome-shell-common=3.30.1-2ubuntu1
and perform the reboot
optionally, but highly recommend - prevent update on those packages, like these:
sudo apt-mark hold gnome-shell gnome-shell-common
and wait for fix. after fix will be released - just unhold
those packages and run update\upgrade command.
for ubuntu 18.04 (Bionic)
you should try rollback those packages to 3.28.1-0ubuntu2
version.
possible origin of the problem
the only difference between old version and version at January update is in this bugfix; he also relate to ibus, so that fix may be the cause of the "disappearing lang indicator" problem