Introduction
Per feedback from a German YDL user concerning broken non-English keyboard map support in YDL 2.1. It is likely that this fix will also correct other non-English keyboard layouts as well.
The console-font handling is completely broken! The main reason for this is that always /etc/sysconfig/console/default.kmap is loaded. Take a look at /etc/rc.d/rc.sysinit (I added my changed quick-hack in the attachment). You try to load the keymaps from /usr/lib/kbd/keymaps at a time when /usr _is not mounted_! Therefore it is not possible to get a working German keyboard-support ... I think all other keyboard-layouts will not work too!
When the German keyboard is working I have _no_ chance to get one of the symbols:
{[]}\~|
... which is a debacle under UNIX/LINUX. To solve this problem I mapped the key on the left of the right-ALT to Alt-Gr by adding the following lines to /usr/lib/kbd/keymaps/i386/qwertz/de-latin1-nodeadkeys.kmap.gz:--- de-latin1-nodeadkeys.kmap.orig Sat Dec 29 16:27:22 2001 +++ de-latin1-nodeadkeys.kmap Sat Dec 29 16:27:12 2001 @@ -8,6 +8,9 @@ keycode 27 = plus asterisk asciitilde keycode 41 = asciicircum degree +#Special mapping for macintosh +keycode 96 = AltGr + # corresponding keys in de-latin1.kmap: # keycode 13 = dead_acute dead_grave # keycode 27 = plus asterisk dead_tilde
The same thing can be done for /usr/lib/kbd/keymaps/mac/qwertz/de-latin1-nodeadkeys.kmap.gz if the new-input support is not enabled by /proc/sys/dev/mac_hid/keyboard_sends_linux_keycodes
The keyboard-problem continues in X11.
No {[]}\~|
... so I added:
--- de.orig Tue Oct 9 14:51:12 2001
+++ de Fri Dec 28 21:36:18 2001
@@ -73,6 +73,15 @@
// End alphanumeric section
+ // Fuer Pismo
+ //key { [ Alt_R ] };
+ //modifier_map Mod3 { Alt_R };
+ key {
+ symbols[Group1]= [ Mode_switch, Multi_key ],
+ virtualMods= AltGr
+ };
+ // End of Fuer Pismo
+
// begin modifier mappings
modifier_map Shift { Shift_L };
modifier_map Lock { Caps_Lock };
... to /usr/X11R6/lib/X11/xkb/symbols/de to map the Alt_Gr symbol to the same key as in the console.
A sample file is available: rc.sysinit
This HOWTO was brought to you by Steffen Reith, available for questions and assistance at streit@kurgan.mayn.de





