Faulty german keyboard on Macbook

I’ve installed EOS 21.4 on my MacBook (Intel, 2015) and I have a faulty keyboard layout. The keys “< >” and “^ °” have mutually changed their positions.
strange was: in a terminal at the installation process these keys were at the correct position.
And strange is also that Manjaro doesn’t have this problem.
However for several reasons I prefer EndeavourOS to Manjaro.
Does someone know how to fix this?
and btw the OS is up to date (i did pacman -Syu)
Hans

Could you post the output of

setxkbmap -print -verbose 10

here, please?

here is the output as requested:
$ setxkbmap -print -verbose 10
Setting verbose level to 10
locale is C
Trying to load rules file ./rules/evdev…
Trying to load rules file /usr/share/X11/xkb/rules/evdev…
Success.
Applied rules from evdev:
rules: evdev
model: pc105
layout: de,de
variant: mac_nodeadkeys,mac
options: grp:shift_caps_toggle
Trying to build keymap using the following components:
keycodes: evdev+aliases(qwertz)
types: complete
compat: complete
symbols: pc+de(mac_nodeadkeys)+de(mac):2+inet(evdev)+group(shift_caps_toggle)
geometry: pc(pc105)
xkb_keymap {
xkb_keycodes { include “evdev+aliases(qwertz)” };
xkb_types { include “complete” };
xkb_compat { include “complete” };
xkb_symbols { include “pc+de(mac_nodeadkeys)+de(mac):2+inet(evdev)+group(shift_caps_toggle)” };
xkb_geometry { include “pc(pc105)” };
};

and here my locale settings:
$ 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=

Hans

I am pretty sure the issue lies with the identification of the keyboard model at installation time.
You can try to experiment with different Apple keyboard models- no idea where to find that in Cinnamon, in Plasma it is Sytsem Settings>Hardware>Input devices>Keyboard>Hardware>Keyboard Model. You should see three different models for Apple laptops there.
In case the Manjaro installation you mentioned is still available on your Mac, look there for comparison.

Did you see this section of the Arch Wiki?

1 Like

thanks for the link; ist was very helpful for me.
now my kbd layout is as it should be.
Hans