You are not logged in.

#1 2021-11-24 19:40:20

Session
Member
Registered: 2008-06-23
Posts: 37

[Solved] Wrong keyboard layout in terminal emulator

Hi.

Just installed Arch after using Debian based distro for many years. Been a long time since I have been using Arch so I'm realy rusty.

My problem is:
I have correct locale set. Keyboard language and setup works perfect in tty.
Installed xorg and xfce.
Turned out that the keyboard was not correct in the terminal emulator. I forgot to test if this was in XFCE or just the emulator before I added:

Section "InputClass"
             Identifier "system-keyboard"
             Option "XkbLayout" "no"  #I'm from Norway.
EndSection

to /etc/X11/xorg.conf.d/00-keyboard.conf

Still not correct in terminal emulator.

So where does terminal emulator get the keyboard config from? And from a learning perspective; how come system locale is not used as default thoughout the system?

Last edited by Session (2021-11-25 19:54:22)

Offline

#2 2021-11-24 20:14:29

seth
Member
Registered: 2012-09-03
Posts: 25,134

Re: [Solved] Wrong keyboard layout in terminal emulator

"Terminal emulator" is *not* the linux console?

What's the output of "setxkbmap -print -query" and "localectl"?

Online

#3 2021-11-24 20:18:49

Session
Member
Registered: 2008-06-23
Posts: 37

Re: [Solved] Wrong keyboard layout in terminal emulator

Found my mistake.

In /etc/locale.conf I have:
nn_NO.UTF-8

correct should be:

nb_NO.UTF-8

Offline

#4 2021-11-24 20:21:44

Session
Member
Registered: 2008-06-23
Posts: 37

Re: [Solved] Wrong keyboard layout in terminal emulator

seth wrote:

"Terminal emulator" is *not* the linux console?

What's the output of "setxkbmap -print -query" and "localectl"?

Figured it out. Thanks for your time.

Does this forum have a "Solved" feature I should use?

Offline

#5 2021-11-24 21:18:16

seth
Member
Registered: 2012-09-03
Posts: 25,134

Re: [Solved] Wrong keyboard layout in terminal emulator

Mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Online

Board footer

Powered by FluxBB