Comment 4 for bug 1225514

Marc Deslauriers (mdeslaur) wrote :

Things are definitely still pretty weird.

In a fresh installed saucy image, the system keyboard is set to "ca" in /etc/default/keyboard.
If I boot into the user:

- there is no input source icon displayed in the indicators, as is expected,
- xkl_config_rec_get_from_server() only returns 'ca' as expected,
- xkl_engine_get_num_groups() returns '1', as expected,
- and gnome-screensaver doesn't display the language selector, as expected.

If I simply add "French (Canada)" to the list of input sources using the "Text Entry" applet and reboot, I now:

- have an input source icon displayed in the indicators, even though there is only one input source configured
- xkl_config_rec_get_from_server() returns 'ca' and 'us' which is incorrect...not sure where it's getting 'us' from
- xkl_engine_get_num_groups() returns '2', even though it shouldn't
- gnome-screensaver displays the language selector and allows selecting between "en" and "fr".

I'm not sure where it's getting "en" (us) from.

If I then click on the language indicator, and click on "French (Canada)" (the only one listed):

- there is no input source icon displayed in the indicators, as is expected,
- xkl_config_rec_get_from_server() only returns 'ca' as expected,
- xkl_engine_get_num_groups() returns '1', as expected,
- and gnome-screensaver doesn't display the language selector, as expected.