You are not logged in.

#1 2022-04-07 08:34:53

Bestinbest
Member
Registered: 2020-11-28
Posts: 35

[Solved] Wrong keyboard language

Hello everyone,

I was recently checking what are the modified settings on my computer, and I saw that my keyboard model was modified from the normal settings. I then decided to change it back to normal settings thinking I had made a mistake changing it previously. (I went from generic 86 keys to generic 104, even though my keyboard only has 81 keys)
But I am now locked in qwerty with no way to change back to azerty.
Here are some outputs I got by executing some commands, but it appears as if everything is normal :

Gperdu% localectl             
   System Locale: LANG=fr_FR.UTF-8
       VC Keymap: fr-latin9
      X11 Layout: n/a

Here is the vconsole.conf file :

 KEYMAP=fr-latin9

I tried

sudo loadkeys fr

but nothing changes.

In fact, if I make ctrl+alt+f2, to run with no gui, I can type in azerty. So, to what level is the error and how can I fix it ?

Edit :
I have a HP Probook x360 11FTEE, and the good keyboard model is not available in the keyboard model list.

Last edited by Bestinbest (2022-04-07 09:06:48)

Offline

#2 2022-04-07 08:44:27

Manix
Member
Registered: 2021-04-17
Posts: 81

Re: [Solved] Wrong keyboard language


I don't love rosbeef

Offline

#3 2022-04-07 08:44:57

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

Re: [Solved] Wrong keyboard language

In fact, if I make ctrl+alt+f2, to run with no gui, I can type in azerty.

'cause that's what vconsole.conf and loadkeys control…

https://wiki.archlinux.org/title/Xorg/K … figuration

Offline

#4 2022-04-07 09:06:03

Bestinbest
Member
Registered: 2020-11-28
Posts: 35

Re: [Solved] Wrong keyboard language

Thanks a lot for your answers !
So I have to create a file in /etc/X11/xorg.conf.d now, to make the change persistent. But how did it work without it before I messed up ?

Offline

#5 2022-04-07 11:36:42

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

Re: [Solved] Wrong keyboard language

Either your session sets a keyboard layout at runtime or you had created a config via "localectl set-[x11-]keymap fr" (following the installation guide)

Offline

Board footer

Powered by FluxBB