keyboard applet doesn't show up and doesn't work - libgnomekbd changed #1337

kiilerix opened this Issue Nov 7, 2012 · 17 comments


None yet
7 participants

kiilerix commented Nov 7, 2012

As requested by the Fedora packager on .

/usr/share/cinnamon/applets/ :

    let groups = this._config.get_group_names();
    if (groups.length > 1) {;
    } else {;;

The idea here is apparently that if only one keyboard layout is configured then the applet should remain invisible.

But something in Gnome / libgnomekbd-3.6.0-1.fc18.x86_64 has apparently changed. get_group_names no longer report the list of available layouts but ... 'something else'.

If the current layout is the default 'us' then groups will contain only that single element - 'English (US)'. The toggler will thus not be shown.

If several (more than two) layouts are configured and a non-us layout is selected then the list will only contain two elements, (for instance) 'Danish' and 'English (US)'.

This change also shows up in the output of 'setxkbmap -print'.

cinnamon needs to adapt to the new behaviour ... or convince libgnomekbd to change.


mtwebster commented Nov 7, 2012

Hmm working ok for me, on Ubuntu 12.10/Mint 14. I'll look at it a bit.


mtwebster commented Nov 8, 2012

I don't even see any significant changes to the library from 3.4 to 3.6, and I can't reproduce this.

I have 3 layouts installed, all 3 show, regardless of which I have selected.


leigh123linux commented Nov 8, 2012

I can reproduce the issue on my F18-TC7 install

kiilerix commented Nov 8, 2012

Probably related to what is hinted at :

... in 3.4.1 was handled in the X server by XKB, while it's handled by gnome-settings-daemon in 3.6.1 ...

kiilerix commented Nov 8, 2012

The change was discussed and reviewed at

My impression and guess is that from GNOME 3.6:

  • XKB should no longer be used.
  • The list of available layouts can be found in org.gnome.desktop.input-sources sources.
  • The index of the current layout can be read/set in org.gnome.desktop.input-sources current.

kiilerix commented Nov 8, 2012

Request for clarification filed on


mtwebster commented Nov 8, 2012

ha "undefined" :)

A patch that seems to work for me can currently be found at .

It is pure hacking - I don't know javascript. It is heavily inspired by /usr/share/gnome-shell/js/ui/status/keyboard.js from gnome-shell-3.6.1-3.fc18.x86_64 and based on cinnamon-1.6.4-1.fc18.x86_64 .


leigh123linux commented Nov 13, 2012

Thank you, your patch works well on F18

raqua commented Jan 9, 2013

I have the same issue on Archlinux.

If this is no longer an issue, can this be closed? Thanks.

This is an issue for me on Korora 23 (Cinnamon). The keyboard doesn't show up in the panel on any of the three systems I have. If I click on "show" in the configuration menu a small rectangle shows up in the panel but it is hidden behind other apps and cant be clicked. The reason that I'm concerned about this (where I normally wouldn't care or notice) is that one of my machines is a HP x360 Spectre and I'd like to be able to access an on screen keyboard if I go into tablet mode.


leigh123linux commented May 24, 2016

@pwil3058 you need to have more than one keyboard layout defined for the keyboard applet to show.

surely if you want on-screen keyboard you would use the 'on-screen keyboard' applet instead?

Have I misunderstood what the keyboard applet does? I assumed (in the absence of documentation) that it was there to pop up the on screen keyboard.

I tried enabling the on screen keyboard in the accessibility options and, although this works OK, having to go through that procedure every time I want to go into tablet mode is less than ideal. Leaving it enabled all the time isn't an option as it just gets in the way when not in tablet mode whenever you go into a window where a keyboard is needed. A button in the panel to enable/disable it would be handy.

When Windows was installed, it just enabled/disabled the on screen keyboard when the computer was folded into tablet mode but I guess that's a bit hard to emulate without knowledge of how the computer tells Windows that it's been folded?


JosephMcc commented May 24, 2016

The accessibility applet allow access to the on screen keyboard option.



JosephMcc commented Sep 10, 2016

Closing this since there hasn't been any feedback on the original issue in over 3 years.

@JosephMcc JosephMcc closed this Sep 10, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment