Should default keyboard be based on location?

Colin Watson cjwatson at
Tue May 27 00:05:03 UTC 2008

On Sat, May 24, 2008 at 10:57:48AM -0400, Yannick Gingras wrote:
>   I just installed Kubuntu Hardy.  I selected my location, Montreal,
> and only a few clicks later I had to pick a keyboard which defaulted
> to US.  Since it knows where I live at this point, shouldn't the
> installer default to Canadian layout?  I think that this is related
> to ticked 37138 but I'm not sure because it seem to focus on locales
> while the keymap is mostly locale independent.

The keymap *is* selected based on location. However, a compatriot of
yours requested that we should select a US keyboard by default for
English-speaking Canadians, and a Canadian keyboard by default for
French-speaking Canadians. That's what the installer implements.

> I tried to see if I could come up with a patch but I'm really not sure
> which is the several installer sub-modules is the one responsible for
> the keyboard selection and which branch I should clone from.
> To summarize:
>  * Should the keymap default to the location's main keymap?

Incorrect assumption detected. :-)

>  * If so, where is the relevant code?

console-setup/debian/config.proto. Search for _CA.


Colin Watson                                       [cjwatson at]

More information about the Ubuntu-devel-discuss mailing list