>Synopsis: Patch to make the German T3 keyboard layout functional in
>xenocara
>Category: system
>Environment:
System : OpenBSD 6.8
Details : OpenBSD 6.8-stable (GENERIC.MP) #31: Sat Dec 19 09:24:41
CET 2020
[email protected]:/usr/src/sys/arch/arm64/compile/GENERIC.MP
Architecture: OpenBSD.arm64
Machine : arm64
>Description:
The German T3 international keyboard layout in xenocara is essentially
non-functional as it contains an invalid definition for the RALT key.
Neither important symbols like backslash or tilde let alone the
international symbols are reachable.
>How-To-Repeat:
Activate the de T3 keyboard layout in X and try to use the "Alt Gr"
(right ALT) key.
>Fix:
The wrong RALT definition was corrected some years ago in xorg. A
discussion related to this bug can be found under this link:
https://bugs.freedesktop.org/show_bug.cgi?id=60991
Here is the corresponding patch for xenocara.
Index: dist/xkeyboard-config/symbols/de
===================================================================
RCS file: /cvs/xenocara/dist/xkeyboard-config/symbols/de,v
retrieving revision 1.18
diff -u -p -u -r1.18 de
--- dist/xkeyboard-config/symbols/de 8 Feb 2017 21:33:43 -0000
1.18
+++ dist/xkeyboard-config/symbols/de 9 Jan 2021 17:12:08 -0000
@@ -180,7 +180,7 @@ xkb_symbols "T3" {
key.type[Group1] = "THREE_LEVEL";
key <LFSH> { [ Shift_L, Shift_L, ISO_Level5_Latch ] };
key <RTSH> { [ Shift_R, Shift_R, ISO_Level5_Latch ] };
- key <RALT> { [ ISO_Level3_Switch, ISO_Level5_Latch,
ISO_Level5_Latch ] };
+ key <RALT> { [ ISO_Level3_Shift, ISO_Level5_Latch,
ISO_Level5_Latch ] };
};
partial alphanumeric_keys