[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

IMPORTANT : Re: List of possible XkbModel entries per locale



(en anglais, by courtesy to Konstantinos who is CC'ed to this mail. If
answering, please keep markos@debian.org CC'ed and possibly answer in
English : if you can't do it in French, I'll deal with it with Kostas)

Folks from -user-french, below is a message from my friend
Konstantinos Margaritis who recently, built a package named
localization-config aimed at automatically configure several stuff
depending on the general system locale.

This utility will be probably adopted by next generations of Debian
Installer (for sarge release, the delay will probably be too short
unfortunately....but we're trying anyway).

Among several things, the utility pre-seeds settings for X keyboard
configuration.

One of the major problems of a French install (with a French
keyboard...a normal install...not an install by a geek who thinks you
not a man if you don't use a US keyboard) is getting X installed with
a default US keyboard mapping.

Localization-config will prevent this. It is not perfect, for sure :
choosing the keyboard layout depending on the locale may lead to
errors when people do NOT use their language/country usual keyboard.

But, at the minimum, this will choose quite sane defaults.

I need help from french-speaking users from OTHER COUNTRIES THAN
FRANCE.

Can you please complete the following with the appropriate X keyboard
settigns for your keyboards ?


'ca_ES@euro'  => { LAYOUT => 'es', XKBOPTIONS => '' },
'da_DK'       => { LAYOUT => 'dk', XKBOPTIONS => '' },
'de_BE@euro'  => { LAYOUT => 'de', XKBOPTIONS => '' },
'de_DE@euro'  => { LAYOUT => 'de', XKBOPTIONS => 'nodeadkeys', XKBMODEL => 'pc105' },
'el_GR.UTF-8' => { LAYOUT => 'us,el', XKBOPTIONS => 'grp:ctrl_shift_toggle', XKBMODEL => 'pc105' },
'en_AU'       => { LAYOUT => 'us', XKBOPTIONS => '' },
'en_CA'       => { LAYOUT => 'us', XKBOPTIONS => '' },
'en_IE@euro'  => { LAYOUT => 'us', XKBOPTIONS => '' },
'en_US'       => { LAYOUT => 'us', XKBOPTIONS => '' },
'es_AR'       => { LAYOUT => 'es', XKBOPTIONS => '' },
'es_ES@euro'  => { LAYOUT => 'es', XKBOPTIONS => '' },
'es_MX'       => { LAYOUT => 'la', XKBOPTIONS => '' },
'es_PE'       => { LAYOUT => 'es_la', XKBOPTIONS => '' },
'fi_FI@euro'  => { LAYOUT => 'fi', XKBOPTIONS => '' },
'fr_BE@euro'  => { LAYOUT => 'be', XKBOPTIONS => '' },
'fr_CA'       => { LAYOUT => 'us', XKBOPTIONS => '' },
'fr_FR@euro'  => { LAYOUT => 'fr', XKBOPTIONS => '' },
'it_IT@euro'  => { LAYOUT => 'it', XKBOPTIONS => '' },
'ja_JP.eucJP' => { LAYOUT => 'jp', XKBOPTIONS => '', XKBMODEL => 'jp106' },
'ko_KR'       => { LAYOUT => 'us', XKBOPTIONS => '' },
'lv_LV'       => { LAYOUT => 'lv', XKBOPTIONS => '' },
'nb_NO'       => { LAYOUT => 'no', XKBOPTIONS => '' }, # Same as no_NO
'nds_DE'      => { LAYOUT => 'de', XKBOPTIONS => '' },
'nl_BE@euro'  => { LAYOUT => 'be', XKBOPTIONS => '' },
'nl_NL@euro'  => { LAYOUT => 'us', XKBOPTIONS => '' },
'nn_NO'       => { LAYOUT => 'no', XKBOPTIONS => '' },
'no_NO'       => { LAYOUT => 'no', XKBOPTIONS => '' }, # Same as nb_NO
'pt_BR'       => { LAYOUT => 'br', XKBOPTIONS => '' },
'se_NO'       => { LAYOUT => 'sapmi', XKBOPTIONS => '' },
'sv_SE'       => { LAYOUT => 'se', XKBOPTIONS => '' },
'tr_TR'       => { LAYOUT => 'tr', XKBOPTIONS => 'grp_led:caps' },

Konstantinos

I already wrote :


> 'fr_CA'       => { LAYOUT => 'us', XKBOPTIONS => '' },

Probably wrong. There is a Canadian keyboard, different from US. I'm
not sure of the exact layout. Maybe 'ca' but IIRC the console keyboard
map is "cf.kmap".

> 'fr_FR@euro'  => { LAYOUT => 'fr', XKBOPTIONS => '', XKBMODEL='pc105' },

Correct, but also add fr_FR to the list if you can. As I mentioned
you, several users still use this locale. This is probably the same
for all Euro countries (except Greece?).

There is also a different keyboard for French Switzerland

'fr_CH'  => { LAYOUT => 'fr_CH', XKBOPTIONS => '', XKBMODEL='pc105' },

For fr_BE this is MAYBE:

'fr_BE'  => { LAYOUT => 'be', XKBOPTIONS => '', XKBMODEL='pc105' },
'fr_BE@euro'  => { LAYOUT => 'be', XKBOPTIONS => '', XKBMODEL='pc105' },

> 'it_IT@euro'  => { LAYOUT => 'it', XKBOPTIONS => '' },
> 'ja_JP.eucJP' => { LAYOUT => 'jp', XKBOPTIONS => '', XKBMODEL => 'jp106' },


You seem to support XKBMODEL, so  I suggest you add it for fr_FR
locales and set it to 'pc105'. Same for most european locales, I guess.





Reply to: