Keyboard layout doesn't show in GNOME Shell session (again)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNOME Shell |
Unknown
|
Medium
|
|||
gnome-shell (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Since I upgrade GNOME Shell from 3.4 to 3.6, the keyboard indicator is blank
and doesn't display the codename for the active keyboard layout.
I have enabled english & arabic keyboard layouts. I have the following
settings:
$ gsettings list-recursively org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
I checked the code in /usr/share/
reached the '_inputSourcesC
program does run the following code:
let [type, id] = sources.
if (type == INPUT_SOURCE_
I checked the 'id' variable, and its value was 'xkb_layout' (as per the
settings).
Yet the output of the last statement { this._xkbInfo.
[ false, null, null, , ]
Can anyone help with this issue ? I'm not sure if its a bug in GNOME Shell, or
something wrong with my system or settings.
Note: This issue has been in Ubuntu precise & it is still happening in raring, that I am running right now
Changed in gnome-shell: | |
importance: | Unknown → Medium |
status: | Unknown → Invalid |
Changed in gnome-shell: | |
status: | Invalid → Unknown |
I found out that I done a mistake of setting the second string 'sources' key to the literal string 'xkb_layout' instead of the layout codename. desktop. input-sources sources
So, I changed the setting as follows:
$ gsettings get org.gnome.
[('xkb', 'us'), ('xkb', 'ara')]
Now, the keyboard indicator does show the different layouts, and defaults to
the english 'en' layout. Yet, if I select the arabic layout, it doesn't
actually change the layout, yet it does update the indicator to display 'ar'
instead of 'en' (even though the active layout is arabic 'ar').
Also if I actually changed the layout using a hotkey, the keyboard indicator
doesn't update to reflect the currently active layout.