two separate icons for keyboard layout switcher

Bug #892237 reported by gorgekara
64
This bug affects 11 people
Affects Status Importance Assigned to Milestone
Linux Mint
New
Undecided
Unassigned

Bug Description

On Linux Mint 12 RC Lisa two separate icons for keyboard layout switcher always appear on the top bar in GNOME 3 shell. One is the default icon for GNOME 3 shell English 'en' and the default from the Gnome 2 panel - the keyboard icon. They both pop-out the same menu.

Here is img of the panel with both switchers: http://min.us/l4H010icjGoX6

Revision history for this message
Gwendal LE BIHAN (gwendal-lebihan-dev) wrote :

Do you have any extension installed apart from the MGSE ones ?
Unless I've missed something, there isn't any keyboard layout switcher by default on the panel in gnome-shell.

Changed in linuxmint:
status: New → Incomplete
Revision history for this message
gorgekara (gorgekara) wrote :

I installed the default Linux Mint 12 RC DVD x64 edition. The second icon appeared right after install. During installation i selected keyboard layout language. When i delete the second keyboard layout language both of the icons disappear.

Revision history for this message
Gwendal LE BIHAN (gwendal-lebihan-dev) wrote :

Could you check in your startup applications whether there is something related to keyboard (it would probably be the one which is the same as in gnome2).
If so, try to remove it and see if it works.

Revision history for this message
gorgekara (gorgekara) wrote :

These are my startup applications at the moment - no keyboard related apps are present.

Dropbox
Evolution Alarm Notify
Gnome Login Sound
mintUpdate
mintUpload
mintWelcome

Now i'm searching for something with the dconf-editor. Nothing so far.

Revision history for this message
gorgekara (gorgekara) wrote :

Forgot to mention this but at first i installed Mint 12 RC in VirtualBox - that was the 32bit cd version without codecs. Same problem appeared there. I'll download Lisa again and try it in VirtualBox to see if the keyboard appears again..

Changed in linuxmint:
status: Incomplete → New
Revision history for this message
John M (jwmwalrus) wrote :

It seems to be caused by a unity-related patch in the gnome-settings-daemon ---i.e., the duplicated icon issue doesn't occur when using the gnome-shell along with the Stracciatella GNOME session. packages ( https://launchpad.net/~janvitus/+archive/gnomestracciatella )

Since Linux Mint is not using the unity shell, shouldn't all the unity-related patches have been removed?

Revision history for this message
Avi (avi-j) wrote :

Same issue here. 64-bit, final release version.

Revision history for this message
Rastko (rastko) wrote :

Same issue here... Linux MInt 12 32bit

Revision history for this message
NasserAlshammari (designernasser) wrote :

I have the same issue too.
Linux mint 12 32bit

Revision history for this message
Joe (j-b-shirk) wrote :

I have this issue also.

To my knowledge, I did not install anything to add one or the other keyboard switcher, although admittedly, I stumbled around in the dark for days trying to figure out how to configure maté.

The widget that indicates the two-letter code is preferable because it matches the style of the other widgets on the maté notification area. I hope there is a way to get rid of the other that is supposed to look like a keyboard (but doesn't really - on a netbook screen anyway).

Mostly the issue matters because too many widgets in the area squeeze the time to the right until it displays as '...'.

Revision history for this message
Shalom Ben-Zvi Kazaz (shalom) wrote :

Same thing here. appeared just after installation.

Revision history for this message
Đuro Kliček (duroklicek) wrote :
Revision history for this message
John M (jwmwalrus) wrote :

@duroklicek: That issue, which appearead around Ubuntu 10.04, is about an icon nobody likes, whereas this bug is about the fact that, when the desktop session is gnome-shell and you have multiple keyboard layouts, you'll have both a layout item in the (top) panel and a keyboard indicator in the (bottom) notification area.

With the stracciatella ppa (which contains the gnome packages without any Ubuntu-related patch), there's no indicator in the notification area, which probably means the issue was introduced through a patch to the gnome-settings ---so the patch needs to be fixed in relation to non-Unity desktop sessions.

Since there are some other issues like this (i.e., Unity-related patches affecting the gnome-shell session, like Bug #878941 and so on), it seems like Linux Mint should include an "unpatch for unity-related stuff" step in the todo list for future releases... Or maybe using LMDE as the starting point instead?

Revision history for this message
gorgekara (gorgekara) wrote :

The first solution (marked [solved]) from the link provided by Duro Klicek in which modifications are made to this file: /usr/lib/gnome-settings-daemon-2.0/libkeyboard.so with some hex editor (GHex for example) WORKS!

[link: http://askubuntu.com/questions/69720/how-to-remove-keyboard-indicator]

Thank you Duro for the fix.

Revision history for this message
sk8erbender (damnus) wrote :

The solution with hex editor is not working. Im on Lisa atm and there is no such folder as gnome-settings-daemon-2.0 there is only gnome-settings-daemon-3.0 + there are no such strings in file libkeyboard.so

I cant fix it with method provided,plz I need help to remove this ugly keyboard icon :CRY:

Revision history for this message
sk8erbender (damnus) wrote :

no if (g_slist_length (current_kbd_config.layouts_variants) > 1) in new libkeyboard.so

Revision history for this message
gorgekara (gorgekara) wrote :

Well I'm using Lisa x64 and I found the file libkeyboard.so in the folder: gnome-settings-daemon-3.0.

Revision history for this message
sk8erbender (damnus) wrote :

yes file is in there! but there are no such strings!!!!

Revision history for this message
sk8erbender (damnus) wrote :
Revision history for this message
Stefan Ivanovic (joemaster986) wrote :

THIS IS NOT A BUG! Believe it or not. If fount this is a problem of Notification Extension when enabled, because it's purpose is:

"description": "Places important notifications in the top panel"

as found in /<email address hidden>/metadata.json The simplest solution is to just turn this extension off, since I haven't found a way to exclude Keyboard Layout from this extension actions. There is also extension.js file in same folder mentioned above, but that something I am not familiar with, so maybe someone can find a way to do something batter than just turning extension off, like leaving Tray icons on top panel (like Opera icon visible when extension is on).

Revision history for this message
Stefan Ivanovic (joemaster986) wrote :

It seems multiple screenshots is not possible, or I couldn't figured it out, so there is second screenshot with notification Extension enabled

Revision history for this message
Avi (avi-j) wrote :

Yes, that gets rid of the Keyboard Layout, but it also gets rid of the other notifications, including the Software Update Manager and the clock.

Revision history for this message
Stefan Ivanovic (joemaster986) wrote :

Clock is still there, in my case, anyway (see screenshots). Btw, all notifications all pushed down in notification area, it pops-up under ! menu just left of window switcher. So, noting is gone, just a little rearranged, and a little less annoying in my opinion. There is no Software Update Manager on my icon tray, i disabled it, if you meant that by "...also gets rid of the other notifications, including the Software Update Manager and the clock", because the ! area cannot be disabled (as far as I know), though you can prevent it from poping-up by editing it's .config file and setting hight from 16px to 1px, thats only way I can think of how you had lost those notifications... I'll look into it, if I find solution i'll post it here

Revision history for this message
Simon Qee (grants8811) wrote :

After I remove some input table which was not needed anymore, this bug appeared. My keyboard tray icon disappeared. Finally I found a solution to make it show in right bottom panel area.

I reinstalled fcitx. And use this script when Linux mint reboot:

#!/usr/bin/env bash
pkill fcitx # kill all fcitx processed
fcitx -d # restart it in daemon

And the keyword tray icon now show up again. Problem solved.

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.