You are not logged in.

#1 2011-05-13 17:37:16

thoice
Member
Registered: 2008-08-30
Posts: 10

Gnome3 keyboard layout icon disappeared [SOLVED]

Hello guys.

I'm using Gnome3 and have no idea how to edit applets in the panel of gnome-shell.
The problem is that I don't have keyboard layout icon in panel(With or without useFlags option set in gconf-editor). How can i fix it?
And BTW does anyone have problem with switching layout with caps lock key? It just doesn't switch layout.

Sorry for my English.
Thanks in advance.

Last edited by thoice (2011-05-25 19:57:43)

Offline

#2 2011-05-13 17:47:28

Wey
Member
Registered: 2011-04-22
Posts: 217

Re: Gnome3 keyboard layout icon disappeared [SOLVED]

Did you specify a second layout in the region panel of the gnome-control-center? The keyboard applet should appear automatically then.

Offline

#3 2011-05-13 17:53:51

thoice
Member
Registered: 2008-08-30
Posts: 10

Re: Gnome3 keyboard layout icon disappeared [SOLVED]

Wey wrote:

Did you specify a second layout in the region panel of the gnome-control-center? The keyboard applet should appear automatically then.

Yes, I have two languages and two layouts.
When I remove any of the layouts - a placeholder disappears and "accessibility" icon moves to volume icon. When I add new layout - an empty space(placeholder) appears between accessibility and volume icons.

Offline

#4 2011-05-13 18:12:42

Wey
Member
Registered: 2011-04-22
Posts: 217

Re: Gnome3 keyboard layout icon disappeared [SOLVED]

Did you check the session logs? Did you verify that the applet in fact isn't present (and not just lacks an icon)?

edit: for the capslock-issue, go to the region panel in gnome-control-center, switch to the layout-tab and click options. There should be a list with the appropriate preferences. It defaults to shift+capslock by the way, which works fine here.

Last edited by Wey (2011-05-13 18:22:03)

Offline

#5 2011-05-13 18:32:12

thoice
Member
Registered: 2008-08-30
Posts: 10

Re: Gnome3 keyboard layout icon disappeared [SOLVED]

Wey wrote:

Did you check the session logs? Did you verify that the applet in fact isn't present (and not just lacks an icon)?

edit: for the capslock-issue, go to the region panel in gnome-control-center, switch to the layout-tab and click options. There should be a list with the appropriate preferences. It defaults to shift+capslock by the way, which works fine here.

If session logs is in .xsession-errors, then I have this file ending with

[1305307574,000,xklavier.c:xkl_engine_start_listen/]    The backend does not re
quire manual layout management - but it is provided by the application
[1305307574,000,gkbd-status.c:gkbd_status_set_current_page_for_group/]  Page fo
r group 0 is not ready
[1305307574,000,gkbd-status.c:gkbd_status_set_current_page_for_group/]  Page fo
r group 0 is not ready
[1305310904,000,gkbd-status.c:gkbd_status_set_current_page_for_group/]      JS ERROR: !!!   Exception in callback for signal: message-icon-added
    JS ERROR: !!!     message = 'source is null'
    JS ERROR: !!!     lineNumber = '417'
    JS ERROR: !!!     fileName = '/usr/share/gnome-shell/js/ui/notificationDaemon.js'
    JS ERROR: !!!     stack = '([object Object],[object _private_Shell_TrayIcon])@/usr/share/gnome-shell/js/ui/notificationDaemon.js:417
([object Object],[object _private_Shell_TrayIcon])@/usr/share/gjs-1.0/lang.js:110
_emit("message-icon-added",[object _private_Shell_TrayIcon])@/usr/share/gjs-1.0/signals.js:124
([object _private_Shell_TrayManager],[object _private_Shell_TrayIcon])@/usr/share/gnome-shell/js/ui/statusIconDispatcher.js:53
([object _private_Shell_TrayManager],[object _private_Shell_TrayIcon])@/usr/share/gjs-1.0/lang.js:110

PS Caps issue is fixed now. Thanks. Caps Lock itself was disabled in Caps Lock key behaviour branch in Options in keyboard layout panel.

Last edited by thoice (2011-05-13 18:33:42)

Offline

#6 2011-05-13 21:09:31

Wey
Member
Registered: 2011-04-22
Posts: 217

Re: Gnome3 keyboard layout icon disappeared [SOLVED]

In your initial post you are mentioning the useFlags option. As far as i know its called showFlags. Could you further specify where exactly you added this key? Also, showing flags should only work if you have an corresponding set of icons installed. (At least it used to be this way in gnome 2... are flags even supported in gnome-shell?)

Last edited by Wey (2011-05-13 21:27:00)

Offline

#7 2011-05-14 19:12:36

thoice
Member
Registered: 2008-08-30
Posts: 10

Re: Gnome3 keyboard layout icon disappeared [SOLVED]

Wey wrote:

In your initial post you are mentioning the useFlags option. As far as i know its called showFlags. Could you further specify where exactly you added this key? Also, showing flags should only work if you have an corresponding set of icons installed. (At least it used to be this way in gnome 2... are flags even supported in gnome-shell?)

You are right. The checkbox is showFlags. It is in /desktop/gnome/peripherals/keyboard/indicator.
I guess it was enabled from my gnome2 installation. I've removed it now and still no effect(no flags or "language name" in panel).

Offline

#8 2011-05-14 21:27:41

Wey
Member
Registered: 2011-04-22
Posts: 217

Re: Gnome3 keyboard layout icon disappeared [SOLVED]

I found the corresponding bug report here. They suggest issuing

gsettings set org.gnome.libgnomekbd.indicator show-flags false

in a terminal. If that doesn't work, read through the bug for alternative solutions.

Offline

#9 2011-05-25 15:13:18

thoice
Member
Registered: 2008-08-30
Posts: 10

Re: Gnome3 keyboard layout icon disappeared [SOLVED]

Wey wrote:

I found the corresponding bug report here. They suggest issuing

gsettings set org.gnome.libgnomekbd.indicator show-flags false

in a terminal. If that doesn't work, read through the bug for alternative solutions.

Great, thanks!
So the solution was either running in console

gsettings set org.gnome.libgnomekbd.indicator show-flags false

to get layout name instead of flags(didn't test if it works after reboot)

or moving flag icons to /usr/share/pixmaps/flags/us-symbolic.png
and in my case /usr/share/pixmaps/flags/ru-symbolic.png for russian flag

Offline

#10 2011-05-25 15:14:29

thoice
Member
Registered: 2008-08-30
Posts: 10

Re: Gnome3 keyboard layout icon disappeared [SOLVED]

BTW is there a way i can rename this post to [SOLVED] ?

Offline

#11 2011-05-25 15:28:55

Radioactiveman
Member
From: Germany
Registered: 2010-05-13
Posts: 388

Re: Gnome3 keyboard layout icon disappeared [SOLVED]

just edit your first post

Offline

Board footer

Powered by FluxBB