Comment 12 for bug 283128

Revision history for this message
Thomas Fritzsche (tf-noto) wrote :

Here some observations and I'm wondering you guys have the same:

* Even I get these strange layouts with "??" I can still switch the keyboard via keyboard (in my case ALT-SHIFT)
* In the first seconds after start I have sometimes sometimes everything seems to be fine (no "??" and short time later I suddenly have "??" in the keyboard indicator.
* If I use the command:
    setxkbmap de,jp -variant nodeadkeys -option "grp:alt_shift_toggle"
(my setting is for German/Japanese keyboard)
I can restore the settings (means "??" layout disappears.
* If I add this comment in "System->Settings->Sessions" it does not help (after restart I get "??" layout. If I start terminal and issue this command manual it work.

My impression:
--> This event causing "??" layout happens a view seconds after gnome start. That's why the session setxkbmod is not effective.
If could be these new HAL hardware detection is responsible, but I'm not sure how to turn this off... using a keyboad section in xorg.conf file was not helpful.
But it looks like a kind of overwriting situation.

I checked a little the program source and it looks like:
* gnome-applets: package contains this keyboard indicator
* libgnomekbd: is called by "gnome-applets"
* libxklavier-3.7: is called by "libgnomekbd"
and in libxklavier are the direct calls to get keyboad information.