You are not logged in.

#1 2021-01-07 16:24:35

tazinblack
Member
Registered: 2021-01-07
Posts: 13

[solved]Issues with keymap in plasma

Hi everyone,

I have a newly installed box and cannot manage to set the keymap right under plasma.

According to the wiki I have the following things set:

locale
LANG=de_DE.UTF-8
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=
locale -a
C
de_DE
de_DE@euro
de_DE.iso88591
de_DE.iso885915@euro
de_DE.utf8
deutsch
german
POSIX
localectl status
   System Locale: LANG=de_DE.UTF-8
       VC Keymap: de-latin1-nodeadkeys
      X11 Layout: de
       X11 Model: pc105
     X11 Variant: deadgraveacute
     X11 Options: terminate:ctrl_alt_bksp
cat /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" "de"
        Option "XkbModel" "pc105"
        Option "XkbVariant" "deadgraveacute"
        Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection

When I use setxkbmap to query the setting in a konsole, I see this

setxkbmap -print -query
xkb_keymap {
        xkb_keycodes  { include "evdev+aliases(qwerty)" };
        xkb_types     { include "complete"      };
        xkb_compat    { include "complete"      };
        xkb_symbols   { include "pc+us+inet(evdev)"     };
        xkb_geometry  { include "pc(pc105)"     };
};
rules:      evdev
model:      pc105
layout:     us

I use sddm to start plasma.

If I set it with setxkbd it looks better, but the keymap is still wrong in the konsole

setxkbmap -layout de; setxkbmap -print -query
xkb_keymap {
        xkb_keycodes  { include "evdev+aliases(qwertz)" };
        xkb_types     { include "complete"      };
        xkb_compat    { include "complete"      };
        xkb_symbols   { include "pc+de+inet(evdev)"     };
        xkb_geometry  { include "pc(pc105)"     };
};
rules:      evdev
model:      pc105
layout:     de

So what am I missing?
Help is very welcome!

Regards
tazinblack

Last edited by tazinblack (2021-01-09 12:06:08)

Offline

#2 2021-01-08 09:22:20

tazinblack
Member
Registered: 2021-01-07
Posts: 13

Re: [solved]Issues with keymap in plasma

Maybe it would have been better, to put this in the Applications & Desktop Environments forum?

Offline

#3 2021-01-08 09:39:28

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,354

Re: [solved]Issues with keymap in plasma

Either configure the mapping properly in KDE's system settings

kcmshell5 kcm_keyboard

or disable KDE's keyboard daemon in

kcmshell5 kcmkded

so it doesn't apply it's own mapping

Offline

#4 2021-01-09 12:05:44

tazinblack
Member
Registered: 2021-01-07
Posts: 13

Re: [solved]Issues with keymap in plasma

Thanks for the hint. That solved my problem.
But would also be good to know what is causing this, since on two other boxes I don't have this problem hmm

Offline

#5 2021-01-09 13:18:56

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,354

Re: [solved]Issues with keymap in plasma

What is causing what? I'm assuming you started KDE in some form before having the locale properly set up and it will by default fall back to defaults which will be an US keyboard in most circumstances. When then fixing the keymap on your own the generated default data still points to an US keyboard. Could also be BIOS/UEFI defaults being propagated unless explicitly overwritten or so.

Last edited by V1del (2021-01-09 13:19:35)

Offline

Board footer

Powered by FluxBB