Description of problem: Gnome-shell panel's keyboard layout indicator shows no icon, no text Version-Release number of selected component (if applicable): gnome-shell-3.0.1-1 How reproducible: always Steps to Reproduce: I have two keyboard layouts. Actual results: The keyboard indicator button is blank. Expected results: Keyboard indicator should show flag (preferable) or text which is corresponding to current keyboard layout.
Please attach a screenshot.
Created attachment 496074 [details] Screenshot with blank keyboard indicator Computer Accessibility icon is removed deliberately.
Have you edited gnome-shell files to make that change? if so, yum reinstall gnome-shell will probably fix your problem.
I have not edited any gnome-shell files, it is an extension. Keyboard indicator was blank after installation and consecutive updates and before I installed any extension.
Are the layouts shown properly in "System Settings"?
Yes, they are shown properly. And also in drop down menu of keyboard indicator.
Please remove the extension and retest. If the problem is reproducible without the extension, please tell us what keyboard layouts you have installed.
Created attachment 496296 [details] Screenshot with blank keyboard indicator and removed extensions I have Russian and English (US) layouts.
Well... The default value of showFlags key in keyboard.js is true. Where is that key in GConf tree now? Gnome-shell does not find flag icons for the indicator. Previously they were in /usr/share/pixmaps/flags. Where are they placed now? What is the package which contains them? When I've patched keyboard.js as follow: _sync_config: function() { this._showFlags = this._config.if_flags_shown(); this._showFlags = false; // ADDED THIS LINE if (this._showFlags) { this._container.set_skip_paint(this._iconActor, false); } else { this._container.set_skip_paint(this._iconActor, true); } I can see text indicator.
gnome-shell doesn't use gconf, see http://live.gnome.org/GnomeGoals/GSettingsMigration
OK! 'gsettings set org.gnome.libgnomekbd.indicator show-flags false' did the trick. What about icons? Where should I place them to gnome-shell find them?
Correct names for flag icons aren't us, ru and so on, but us-symbolic, ru-symbolic, etc. Works with png and svg icons.
Keyboard Indicator is working fine in F17.