Bug in setting keyboard in Beaglebone Scripts

The bug about the keyboard is not just with BBA64

The script to setup booting on SD card or Internal flash has a bug as far as the keyboard is concerned when you choose a different language than us for several languages.

For French Canadian for instance the command line keyboard is cf which is what the script would want.

It sets it correctly for the command line access. For the xorg setting it screws up, it uses the same setting which doesn’t exist so it defaults to english.

At least it doesn’t do like SuSE installed used to do until I finally convinced them that they were screwing up.

During installation I would choose French and the French Canadian keyboard. On boot I couldn’t login because they had it set to the AZERTY keyboard. Login and password entries were done using the QWERTY keyboard during the installation. The French Canadian keyboard is QWERTY with added keys so we can write easily in French, Spanish, Catalan or Portuguese without having to use some strange app to add special characters.

AZERTY is used in France and Belgium for French but in Canada and the US, the French support is either the French Canadian keyboard or the Canadian bilingual keyboard. We had a joke about that last keyboard as it being meant to English people try to write French. You cannot write Spanish or Catalan accented characters as easily as with the French Canadian keyboard.

It is listed as French and Canada. There are other keyboards meant for French in US and Canada but almost no one uses those. The keyboard setting is easy to spot, it is the one with | # and \ on the top left under the esc key.

This should be taken care of by the bb-imager?

Imager: BeagleBoard Imager

That sets sysconf.txt in the boot partition: Making sure you're not a bot!

Which sets teh keymap on bootup: Making sure you're not a bot!

Regards,

For French Canadian keyboard it is cf for command line and ca for xorg

I don’t have that problem with Catalan since both are the same which is cat

For spanish with a latin American keyboard :

command line : la-latin1 and xorg : latam

So French is not the only one with the problem

In Canada there are several possibilities for the keyboard

In the Americas we use the latin keyboard for Spanish.

Europeans may use a different one.

I think that in the US most Spanish speaking people might use the US Keyboard with some added stickers.

There is an option for a keyboard that adds the third option with Alt Car for accents

Basically what happens is the configuration assumes that the code is the same for both command line and xorg.

I haven’t check with wayland.

So is it a problem with Debian? Or what can we do to make it easier in the tool to make it work?

That would be the same with any Linux system. The difference is the code used for the command line vs xorg.

Languages like French, Spanish and Portuguese have different types of keyboards

The US is not the only one where both are the same. When I set the system for Catalan I don’t have any issue.