Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [Solved] Unable to change keyboard layout for installation. (Read 74 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[Solved] Unable to change keyboard layout for installation.

Hello, I am new here.

I have just flashed a new flash drive with the latest runnit artix linux installation file. No problem booting (UEFI mode). Everything seems fine, I cannot see any errors.

But when I try to change the keyboard layout, I am greeted with the error message:

$ sudo loadkeys fr-bepo
unknown keysym 'endash'

lk_add_key called with bad keycode -1
$


The prospect of going through the entire installation without using the keyboard layout I am used to is far from ideal. I have never seen this error in the many archlinux installations I have done.

Also, a couple of weeks ago I installed artix linux without this problem, on the exact same rig.

Thank you in advance.

P.S. I can provide more information on my system but I'm not sure what is relevant so please ask.

Re: Unable to change keyboard layout for installation.

Reply #1
Hi,

Try set the locale in your rc (.zshrc or .bashrc) dot file, my case I'm using .zshenv:

### locale
export LANG="en_US.UTF-8"
export LC_COLLATE="C"

Regards,

Colpshift

Re: Unable to change keyboard layout for installation.

Reply #2
Thank you for your reply, exporting the variables changed nothing. Same error.

If it helps to know, using loadkeys works with some layouts. e.g. fr and us

Re: Unable to change keyboard layout for installation.

Reply #3
I've managed to solve the problem by using

sudo loadkeys -u fr-bepo

I still get a warning but it seems to work, it seems to be a problem with unicode characters on the b├ępo keyboard layout.