Nitpick: Live system overrides keyboard setting

Message
Author
User avatar
dreamer
Posts: 953
Joined: Sun Oct 15, 2017 11:34 am

Nitpick: Live system overrides keyboard setting

#1 Post by dreamer »

In Europe it's pretty common (for geeks) to use English system language (easier troubleshooting) and localized keyboards (easier typing in native language).

This doesn't work in the live system, because there is no setting for keyboard on the live boot screen. If you choose English (US) language you'll end up with US keyboard at LightDM login screen.

And that LightDM keyboard list is loooong...

I thought I would mention this, because it works in the installer, but not live (persistence-static).
Note to self and others: SysVinit is a good option. However if you run into problems try with systemd first. This applies to AppImages, Flatpaks, GitHub packages and even some Debian packages.

User avatar
dolphin_oracle
Developer
Posts: 22717
Joined: Sun Dec 16, 2007 12:17 pm

Re: Nitpick: Live system overrides keyboard setting

#2 Post by dolphin_oracle »

dreamer wrote: Mon Apr 22, 2019 10:30 am In Europe it's pretty common (for geeks) to use English system language (easier troubleshooting) and localized keyboards (easier typing in native language).

This doesn't work in the live system, because there is no setting for keyboard on the live boot screen. If you choose English (US) language you'll end up with US keyboard at LightDM login screen.

And that LightDM keyboard list is loooong...

I thought I would mention this, because it works in the installer, but not live (persistence-static).
there should be a keyboard chooser on the lightdm login screen (language too). Upper right, although on live autologin would normally bypass it, you could logout and login .
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

User avatar
dreamer
Posts: 953
Joined: Sun Oct 15, 2017 11:34 am

Re: Nitpick: Live system overrides keyboard setting

#3 Post by dreamer »

dolphin_oracle wrote: Mon Apr 22, 2019 10:33 am
dreamer wrote: Mon Apr 22, 2019 10:30 am In Europe it's pretty common (for geeks) to use English system language (easier troubleshooting) and localized keyboards (easier typing in native language).

This doesn't work in the live system, because there is no setting for keyboard on the live boot screen. If you choose English (US) language you'll end up with US keyboard at LightDM login screen.

And that LightDM keyboard list is loooong...

I thought I would mention this, because it works in the installer, but not live (persistence-static).
there should be a keyboard chooser on the lightdm login screen (language too). Upper right, although on live autologin would normally bypass it, you could logout and login .
Yes, but this was a nitpick. ;) I want the keyboard setting to stick in persistence-static mode.
Note to self and others: SysVinit is a good option. However if you run into problems try with systemd first. This applies to AppImages, Flatpaks, GitHub packages and even some Debian packages.

User avatar
dolphin_oracle
Developer
Posts: 22717
Joined: Sun Dec 16, 2007 12:17 pm

Re: Nitpick: Live system overrides keyboard setting

#4 Post by dolphin_oracle »

Ok, gotcha!

after you have the stick set up the way you want, reboot, do the customize live boot menus again, and for language select "default". It think that will not change your language or keyboard, going with whatever is configured on your persistent system.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

User avatar
fehlix
Developer
Posts: 12904
Joined: Wed Apr 11, 2018 5:09 pm

Re: Nitpick: Live system overrides keyboard setting

#5 Post by fehlix »

dreamer wrote: Mon Apr 22, 2019 10:30 am In Europe it's pretty common (for geeks) to use English system language (easier troubleshooting) and localized keyboards (easier typing in native language).
This doesn't work in the live system, because there is no setting for keyboard on the live boot screen. If you choose English (US) language you'll end up with US keyboard at LightDM login screen.
In both variants UEFI- or BIOS-booting, you can boot into a live system with having chosen a language, keyboard and a timezone. If those combinations are not available from the selection menu, you can simply at those boot options manually:
E.g I do often boot with lang=en_US and keyboard as "de" and timezone as "Europe/Berlin".
Just add to the boot-options parameter this:

Code: Select all

lang=en_US kbd=de tz=Europe/Berlin
Or you choose F2/F3 language and timezone and just add:

Code: Select all

kbd=de
In bios-booting you can re-view your current boot parameter by pressing F12.
Here you can see at the login screen booting from LiveISO, that my boot-parameter
will have the pre-selected language and keyboard:
keyboard_login.png
You do not have the required permissions to view the files attached to this post.

User avatar
dreamer
Posts: 953
Joined: Sun Oct 15, 2017 11:34 am

Re: Nitpick: Live system overrides keyboard setting

#6 Post by dreamer »

dolphin_oracle wrote: Mon Apr 22, 2019 10:43 am Ok, gotcha!
after you have the stick set up the way you want, reboot, do the customize live boot menus again, and for language select "default".
There is no default in that menu. ;)
fehlix wrote: Mon Apr 22, 2019 11:03 am In both variants UEFI- or BIOS-booting, you can boot into a live system with having chosen a language, keyboard and a timezone. If those combinations are not available from the selection menu, you can simply at those boot options manually:
E.g I do often boot with lang=en_US and keyboard as "de" and timezone as "Europe/Berlin".
Just add to the boot-options parameter this:

Code: Select all

lang=en_US kbd=de tz=Europe/Berlin
Or you choose F2/F3 language and timezone and just add:

Code: Select all

kbd=de
In bios-booting you can re-view your current boot parameter by pressing F12.
Here you can see at the login screen booting from LiveISO, that my boot-parameter
will have the pre-selected language and keyboard:
keyboard_login.png
Thanks, fehlix. I did what you described. It worked. Only odd thing is that a custom boot entry was created on the live boot screen with my boot parameters. I think a keyboard option is needed here. Not every keyboard layout. Just copy language menu and attach the standard keyboard layout for those countries and the live boot screen would be more complete. It's difficult to type boot parameters when language setting hijacks keyboard layout so I needed to switch between languages to type correctly on the boot screen.

Just my 2 cents. Thanks for your help. :number1:
Note to self and others: SysVinit is a good option. However if you run into problems try with systemd first. This applies to AppImages, Flatpaks, GitHub packages and even some Debian packages.

User avatar
BitJam
Developer
Posts: 2303
Joined: Sat Aug 22, 2009 11:36 pm

Re: Nitpick: Live system overrides keyboard setting

#7 Post by BitJam »

dreamer wrote: Mon Apr 22, 2019 5:43 pm I think a keyboard option is needed here. Not every keyboard layout. Just copy language menu and attach the standard keyboard layout for those countries and the live boot screen would be more complete. It's difficult to type boot parameters when language setting hijacks keyboard layout so I needed to switch between languages to type correctly on the boot screen.
We don't have room for another menu. We worked hard to squeeze in all the menus we already have. The menus we do have were created with a Lisp-like language used by gfxboot. You can see our source code and the documentation for the language in my Gfxboot repo.
"The first principle is that you must not fool yourself -- and you are the easiest person to fool."

-- Richard Feynman

User avatar
dreamer
Posts: 953
Joined: Sun Oct 15, 2017 11:34 am

Re: Nitpick: Live system overrides keyboard setting

#8 Post by dreamer »

BitJam wrote: Mon Apr 22, 2019 5:53 pm We don't have room for another menu. We worked hard to squeeze in all the menus we already have. The menus we do have were created with a Lisp-like language used by gfxboot. You can see our source code and the documentation for the language in my Gfxboot repo.
Yeah, I thought it was because of space constraints. It's a nice looking boot screen. I haven't seen the UEFI boot screen. Maybe more room there? Don't worry, just kidding... ;) I just wanted to promote the idea of a keyboard menu, because I think it belongs there if it is possible to implement and if you/devs think it should be there and want to implement it. If it's just extra work, it shouldn't be there.
Note to self and others: SysVinit is a good option. However if you run into problems try with systemd first. This applies to AppImages, Flatpaks, GitHub packages and even some Debian packages.

User avatar
dolphin_oracle
Developer
Posts: 22717
Joined: Sun Dec 16, 2007 12:17 pm

Re: Nitpick: Live system overrides keyboard setting

#9 Post by dolphin_oracle »

the UEFI live boot does have a "default" under the language entry, but you're right, I don't see one on legacy bios boot.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

Post Reply

Return to “Software / Configuration”