LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 03-18-2021, 05:53 AM   #1
Basher52
Member
 
Registered: Mar 2004
Location: .SE
Distribution: Arch
Posts: 401

Rep: Reputation: 22
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.

Last edited by Basher52; 03-18-2021 at 06:43 AM.
 
  


Reply

Tags
arch, keyboard layout, script, vconsole



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Canonical are now saying Ubuntu's 32bit is not being entirely dropped, 32bit libraries will be "frozen" LXer Syndicated Linux News 0 06-23-2019 03:40 PM
Linux Lite 2.8 32bit and my 2.6 32bit on another PC not updating anymore, can not FETCH depository, need help! FiFi R Linux - Newbie 13 03-13-2016 03:51 PM
"vconsole.conf" show unicode Andy_Crowd Linux - Newbie 1 05-17-2015 11:45 AM
Fedora 13 32bit and then Linux Mint 32bit and then Ubuntu 10.04 32bit ciao303 Linux - Newbie 3 08-09-2010 11:03 PM
Changing Linux keymap to reflect dual-booted WinXP keymap AbuKaidman Linux - Newbie 2 07-18-2009 03:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration