You are not logged in.

#1 2017-08-13 22:32:43

tyrann
Member
Registered: 2016-05-25
Posts: 13

[Solved] Keyboard layout broken after update

Hello,

My swiss-french keyboard layout keeps resetting to US since the last major update I did on my system. This happens only with  Xorg. I have tried to look into different places but I don't manage to make it permanent as it was before.

Here is the output of localectl:

   System Locale: LANG=en_US.UTF-8
       VC Keymap: sg
      X11 Layout: ch
       X11 Model: fr

Here is the content of /etc/X11/xorg.conf.d/00-keyboard.conf :

# Written by systemd-localed(8), read by systemd-localed and Xorg. It's
# probably wise not to edit this file manually. Use localectl(1) to
# instruct systemd-localed to update it.
Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbLayout" "fr_CH"
EndSection

The command: localectl set-x11-keymap fr_CH and localectl set-keymap fr_CH do not seem to have an impact.

The only command that work is the setxkbmap ch fr but that only changes temporary for the current session.

Any idea?

Thanks

Last edited by tyrann (2017-08-13 22:43:43)

Offline

#2 2017-08-13 22:43:23

tyrann
Member
Registered: 2016-05-25
Posts: 13

Re: [Solved] Keyboard layout broken after update

I found that for some reason, something changed my /etc/vconsole.conf to

KEYMAP=sg

Which I had to correct to KEYMAP=ch. It is weird because I have never edited this file myself. Anyway it is solved now

Offline

Board footer

Powered by FluxBB