Comment 8 for bug 21767

Revision history for this message
Philipp Schroeder (philipp.schroeder) wrote :

Here are some testing results.

I compare the information of:
[TEST A] # xprop -root | grep XKB
[TEST B] # gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd

Test order in which I proceeded:

STEP 1
------

Freshly installed breezy-preview (amd64)

--> During the installation process, I selected Language = English, Country =
Switzerland and Keyboard = Swiss german.
Unfortunately, the keyboard settings are lost once I login. I get an English
keyboard layout. This fault was found by someone else too, see bug 15142 .

STEP 2
------

I select my keyboard layout/variant ('ch, de_nodeadkeys') in 'preferences >
keyboard' (aka 'gnome-keyboard-properties').
I add the 'keyboard indicator' from the panel utilities.

--> While typing on keyboard works like a Swiss German layout, the keyboard
indicator strangely shows 'USA'

STEP 3
------

I toggle the keyboard indicator from 'USA' to 'Che'

--> To my merriment, while panel keyboard indicator shows 'Che', typing on
keyboard works like US layout.

----------------------
T E S T R E S U L T S
----------------------

Step 1: (freshly installed breezy-preview)
======

TEST A, RESULT:
---------------

$ xprop -root | grep XKB
_XKB_RULES_NAMES_BACKUP(STRING) = "xorg", "pc104", "us", "", ""
_XKB_RULES_NAMES(STRING) = "xorg", "pc104", "us", "", ""

TEST B, RESULT:
--------------

$ gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd
 layouts = []
 model =
 overrideSettings = true
 options = []

Step 2: (I set 'Switzerland, German, eliminate dead keys' in pref > keyboard)
======

TEST A, RESULT:
---------------

$ xprop -root | grep XKB
_XKB_RULES_NAMES_BACKUP(STRING) = "xorg", "pc104", "us", "", ""
_XKB_RULES_NAMES(STRING) = "xorg", "pc105", "ch,us", "de_nodeadkeys,",
"grp:alts_toggle"

TEST B, RESULT:
--------------

$ gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd
 layouts = [ch de_nodeadkeys,us]
 model = pc105
 options = [grp grp:alts_toggle]
 overrideSettings = true

Step 3: (I toggle keyboard indicator from 'USA' to 'Che')
======

TEST A, RESULT:
---------------

$ xprop -root | grep XKB
_XKB_RULES_NAMES_BACKUP(STRING) = "xorg", "pc104", "us", "", ""
_XKB_RULES_NAMES(STRING) = "xorg", "pc105", "ch,us", "de_nodeadkeys,",
"grp:alts_toggle"

TEST B, RESULT:
--------------

$ gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd
 layouts = [ch de_nodeadkeys,us]
 model = pc105
 options = [grp grp:alts_toggle]
 overrideSettings = true

Preliminary conclusions
========================

1.) gnome looses CD installer's keyboard settings
2.) 'gnome-keyboard-properties' doesn't work properly
3.) gnome panel 'keyboard indicator' only works for individual windows, rather
than globally, i.e. the whole desktop

Further questions
=================

Debugging question:
Where are the keyboard indicator's settings stored? How can I provide useful
info about them?

Scope question:
Are these issues related or do they need to be separated out?

Big question:
What's the meaning of life, the universe and the rest?