GNOME Bugzilla – Bug 694149
keyboard indicator uses long multiline string for layout shortname
Last modified: 2013-03-16 18:21:10 UTC
Created attachment 236729 [details] overlong string in keyboard indicator See attached screenshot My system (including gnome-shell) is in French, I tried adding an "English (programmer's dvorak)" layout in addition to the French layout in system settings, and I got what is shown on the screenshot when selecting this new layout. This multiline string is the header of xkeyboard-config's fr.po, which makes me think that the keyboard indicator is trying to translate an empty string "" ( http://cgit.freedesktop.org/xkeyboard-config/tree/po/fr.po ). I can experiment further if pointed at things to try to figure this out :)
I have now verified that with LC_ALL=C gnome-shell --replace, I get an empty string in the keyboard indicator where other keyboard have a few characters describing the keyboard language (eg 'fr' for the 'French' keyboard). What I forgot to mention is that in addition to this cosmetic issue, the keyboard isn't switched to dvorak layout even if it's selected. This used to work with older 3.6 versions, iirc 'en' was shown as the short keyboard name.
Pretty sure this should is fixed in master with the patch from bug 692219. *** This bug has been marked as a duplicate of bug 692219 ***
I tried to rebuild gnome-desktop 3.6.2 with the patch from bug #692219 applied, but this causes gnome-shell to crash at startup, I guess backporting this is more involved ;)
Created attachment 237420 [details] [review] gnome-xkb-info: Handle duplicated layouts -- Here's the backported patch. Didn't test it much though. If it works I'll release a 3.6.4 with it.
*** Bug 695113 has been marked as a duplicate of this bug. ***
*** Bug 691143 has been marked as a duplicate of this bug. ***
*** Bug 695723 has been marked as a duplicate of this bug. ***
Comment on attachment 237420 [details] [review] gnome-xkb-info: Handle duplicated layouts I pushed this and did a new 3.6 gnome-desktop release with it.