Page MenuHomeVyOS Platform

Supporting AZERTY keyboards
Closed, ResolvedPublicFEATURE REQUEST

Description

From time to time we receive requests from France and it will be helpful to have some switch to AZERTY keyboards type if it required, because of this real discomfort for the first configuration time in console.
Proposed command:

set system keyboard-layout azerty

Required additional packages: console-data

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Feature (new functionality)

Event Timeline

Dmitry changed the task status from Open to In progress.Nov 2 2020, 11:37 AM
Dmitry claimed this task.
Dmitry created this task.
Dmitry updated the task description. (Show Details)

I don't understand. Do you mean that users should be allowed to set keyboard layout?

To add the possibility to switch from default QWERTY keyboard type to AZERTY.

I think the default keyboard layout should be based on the American layout, and allow switching between custom keyboard layouts (in Debian, it should be possible to use dpkg-reconfigure for configuration)

The default selection of keyboard layout is complicated, because different countries may use different keyboard layouts. A good solution is to automatically prompt for the selection of the required keyboard layout (similar to the general Linux distribution installers) when the livecd is booted and enters the installation process

If the keyboard layout does not conform to the local keyboard operating habits, this will become the first major obstacle for them to operate vyos (the process of modifying the keyboard layout will become very troublesome)

Ok, let's review the situation when you install VyOS on bare metal and you have an only AZERTY keyboard. You press key A but in console, you see Q, you press Z on the console you see W.
Debian way, install console-data from https://packages.debian.org/sid/console-data and run sudo loadkeys fr

Note: The default behavior should not be changed.

The support of keyboard layout has always been a relatively complex and user experience issue. I am in China, so I can only say that the country where I am is usually using American keyboard, while other countries such as Korea, Japan and so on, their keyboard layout is.... Keyboard layout should not be a major obstacle in most countries

When the automatic keyboard layout setting takes effect, if users want to modify the layout, the process will become more complicated (because they don't know the mapping relationship between key values, they usually need to spend a lot of time guessing how to input the correct command in the layout of keys)

If you just want to add a specific keyboard layout option, then I agree that if you want to modify the current vyos implementation of the default keyboard layout, then I suggest that you should think about it (this is directly related to the user experience)

PR https://github.com/vyos/vyos-1x/pull/590
I hope it will be helpful for many people from France. As for me it better solution then glue stickers with QWERTY keys =)

It turns out that you know that a separate command is set to execute this layout setting, but I think the setting of your command is unreasonable because the user will mistakenly think that the following command can be used to set a specific layout:

set system keyboard-type <layout>

To set a layout, users would not think that this command only supports a specific keyboard layout

Although I am not an official reviewer, I think your implementation is not complete in the cli design

erkin set Issue type to Feature (new functionality).Aug 29 2021, 12:23 PM
erkin removed a subscriber: Active contributors.