canonical / ubuntu-desktop-provision

Ubuntu Desktop Provision
GNU General Public License v3.0
65 stars 30 forks source link

Keyboard layout in the installer #408

Open FAlexei opened 7 months ago

FAlexei commented 7 months ago

I'm not sure if this is fixed now, but if you select for example the Russian keyboard layout when installing Ubuntu 23.10, the installation cannot be completed because the username must be typed in Latin letters.

aluyama commented 3 months ago

I got a task to change the OS of 50 devices from windows to ubuntu 24.04 LTS but i couldn't find a way to put computer name and username in same script. So we had to give-up. :(

I also tested ubuntu 24.10. See the attached screenshot. The installer allows adding "your name", "password" in any language but we can't use other scripts for "computer name" and "username".

Language: Sinhala (si) Script: Sinhala

provision-bug-non-latin-scripts

https://bugs.launchpad.net/ubuntu-desktop-provision/+bug/2018943/comments/11

@jpnurmi @d-loose @spydon @matthew-hagemann As far as i can see this is a several years old bug. Can you try to fix this soon? I know you have a lot to do but this is a major installation / set-up bug. We like to use open source operating systems, but sometimes these issues prevent us from switching.

spydon commented 3 months ago

Not a solution to the bug, but it might help you to use an autoinstall script if you want to do 50 installations.

https://canonical-subiquity.readthedocs-hosted.com/en/latest/intro-to-autoinstall.html

aluyama commented 3 months ago

we can't use other scripts for "computer name" and "username".

@spydon My client is already unhappy about this. At least if there is a way to add them manually, i can go on.

d-loose commented 3 months ago

Sorry that this is still an issue. A workaround for this is setting up an additional input source in the live session after leaving the keyboard page. This can be done through the GNOME settings which can always be accessed via the cog wheel in the menu in the top right corner

Screenshot from 2024-06-10 15-40-39

In the live session's keyboard settings, you can then add an additional input method

Screenshot from 2024-06-10 15-41-25

You'll then see a new button in the menu which allows you to switch between the configured input methods

Screenshot from 2024-06-10 15-42-24

I agree that we should support multiple input methods directly through the installer though.

aluyama commented 3 months ago

Sorry that this is still an issue. A workaround for this is setting up an additional input source in the live session after leaving the keyboard page.

I agree that we should support multiple input methods directly through the installer though.

@d-loose Maybe you've misunderstood the bug. I mean e.g. We want to add computer name and username in Sinhala language. Currently the desktop installer doesn't allow to use other scripts and says "computer name / username is incorrect". We have not seen this problem on Windows.

337963956-8c3c24ec-9ba7-4523-b87f-527cff7288a0

Secondary languages ​​are an optional requirement. We can always add additional keyboards after the installation.

I agree that we should support multiple input methods directly through the installer though.

If you mean about switch between multiple keyboards; Yes, that's good but first we need a fix for the bug above.