LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Arch (https://www.linuxquestions.org/questions/arch-29/)
-   -   Arch 32bit not setting KEYMAP from vconsole so not correct language (https://www.linuxquestions.org/questions/arch-29/arch-32bit-not-setting-keymap-from-vconsole-so-not-correct-language-4175692236/)

Basher52 03-18-2021 05:53 AM

Arch 32bit not setting KEYMAP from vconsole so not correct language
 
To try to let you know my problem this might be long.

I started some months ago with a script to install pure Arch instead of doing the same thing every time.
It still has some flaws and practically no error handling but it works so I can use it.
It installs almost everything I did manually before, Arch, config VIM addons, installs yay and some yay-packages, installs my chose of WM and configs that, clones my gitlab repo and 'installs' that (dotfiles)

I usually use 64bit but I found a very old laptop: Dell Latitude D610(I think it is) at work that ran XP but is now just laying there for no reason.

I got myself the 32bit version as this laptop only can handle that.
Used my script but changing the partition size, network name.
Everything gets installed and seems to work EXCEPT setting my KEYMAP to sv-latin1. I use en_US for system language.

I checked vconsole.conf and yes it has the setting but the variable is empty.
I tried this exact copy of the script in a VM for my 64bit and there the keyboard is Swedish, yet the variable KEYMAP is empty but it is set in vconsole

As I've understood it, the setting in vconsole is permanent instead of setting KEYMAP for every session, the settings in vconsole is read by systemd and therefor it should work, the problem is that the variable is empty both in the 32bit version as in the 64bit, but the 64bit has the correct keyboard language.
I can say that I don't use localectl as this can't be run in arch-chroot, I just 'echo' it in this file, well it works for 64bit so...

I've been searching for a solution for about a week now and the only thing I found was to change mkinitcpio and add 'systemd sd-vconsole' to HOOKS. I did that and it worked.
I then checked this in the 64bit version and those settings are not present there.

Now to my questions

- Any help where to look will be great.
- Can anyone help me found out why I need this setting in the 32bit version and not the other?
- Is this a bug? not found a report on this.
- If systemd reads the vconsole-settings why is the KEYMAP-variable empty even in the 64bit version? as it seems it won't set it but still work.


All times are GMT -5. The time now is 06:04 PM.