You are not logged in.

#1 2018-07-03 14:36:01

irondude
Member
Registered: 2018-06-23
Posts: 12

System doesn't accept values in /etc/vconsole.conf

I freshly installed Arch and so far. I want the system to be in english but use a german keyboard. So I added

KEYMAP=de-latin1
FONT=ter-132n

rebooted and nothing happened. I also noticed when I do

loadkeys de-latin1

Nothing changes as well.

Offline

#2 2018-07-03 17:14:24

fullinator
Member
Registered: 2018-07-01
Posts: 3

Re: System doesn't accept values in /etc/vconsole.conf

Have you tried checking if the locale is even available?

localectl list-keymaps

How about the current locale that's set?

localectl status

/etc/vconsole.conf should be read by systemd on startup. Perhaps the file is formatted wrong? You could always try setting the persistent key map using:

localectl set-keymap --no-convert keymap

Offline

#3 2018-07-03 17:18:39

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: System doesn't accept values in /etc/vconsole.conf

Are we talking about a TTY, X, or Wayland?

It's only the TTY's that are configured using /etc/vconsole.conf.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#4 2018-07-03 21:03:11

irondude
Member
Registered: 2018-06-23
Posts: 12

Re: System doesn't accept values in /etc/vconsole.conf

fullinator wrote:

Have you tried checking if the locale is even available?

localectl list-keymaps

It is there.

fullinator wrote:

How about the current locale that's set?

localectl status

Says:

System Locale: LANG=en_US.UTF-8
VC Keymap: de-latin1
X11 Layout: n/a
fullinator wrote:

/etc/vconsole.conf should be read by systemd on startup. Perhaps the file is formatted wrong? You could always try setting the persistent key map using:

localectl set-keymap --no-convert keymap

done that. Didn't help.


Slithery wrote:

Are we talking about a TTY, X, or Wayland?

It's only the TTY's that are configured using /etc/vconsole.conf.

Its not working in neither. I use X with gdm3. But I get the correct layout (german) if I want. But I need it also in the TTY.
But in the TTY I only have US keymap. Even at the start when I need to give the passphrase for the luks partition. It works but its the "wrong" layout.

Last edited by irondude (2018-07-03 21:06:58)

Offline

#5 2018-07-03 22:20:34

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,843

Re: System doesn't accept values in /etc/vconsole.conf

irondude wrote:

Even Especially at the start when I need to give the passphrase for the luks partition.

cat /etc/mkinitcpio.conf

https://wiki.archlinux.org/index.php/Dm … mkinitcpio

For X11 see https://wiki.archlinux.org/index.php/Ke … on_in_Xorg

Offline

#6 2018-07-13 00:49:36

WalkerTalker
Member
Registered: 2013-06-30
Posts: 1

Re: System doesn't accept values in /etc/vconsole.conf

I also run into the same problem.

After the system boot into TTY

Check status

localectl status

produces

System Locale: LANG=en_US.UTF-8
VC Keymap: jp106
X11 Layout: n/a

Check vconsole.conf

cat /etc/vconsole.conf

produces

KEYMAP=jp106

However, my layout is still US. I have to issue

sudo loadkeys jp106

every time after booting if I want to use Japanese keyboard.

Offline

#7 2018-07-13 06:07:21

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,843

Re: System doesn't accept values in /etc/vconsole.conf

Afaics that's not the same issue, because irondude seems to be concerned about the luks decryption, ie. the initramfs.
For you however either vconsole.conf is either not parsed or at some point overridden or /usr/share/kbd/keymaps is not mounted when the system tries to set the locale.
Please open a new thread and there also paste a complete journal of the current boot.

Offline

Board footer

Powered by FluxBB