Howto: german keymap for X11
Hi!
To get the german keymap working with X11, do the following:
1.) Edit your XF86config-4's InputDevice-Section as follows:
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "LeftAlt" "Meta"
Option "RightAlt" "Meta"
Option "ScrollLock" "Compose"
Option "RightCtl" "Control"
Option "XkbRules" "xfree86"
Option "XkbLayout" "de"
Option "XkbVariant" "nodeadkeys"
EndSection
2.) Apply the attached patch file. It patches
/etc/X11/xkb/keycodes/xfree86 and sets the AppleKey to
be AltGr.
3.) Restart your X11
4.) test it:
AppleKey + q should give @ now.
AppleKey + < gives |
Applekey + ß gives \
Applekey + + gives ~
You see, this is exactly how it works on x86 keyboards.
If you want to get @ on AppleKey+L, then I can't help you.
I prefer the x86-mapping. I never got used to the MAC-OS
keytables.
By the way, Keypad-Enter is mapped as Delete with this patch.
That's the key left of cursor-left. Like this you get the missing
Delete-key back.
Bye, claas
--- /etc/X11/xkb/keycodes/xfree86.orig 2003-02-26 09:39:55.000000000 +0100
+++ /etc/X11/xkb/keycodes/xfree86 2003-03-16 20:27:33.000000000 +0100
@@ -79,11 +79,12 @@
<LCTL> = 37;
<SPCE> = 65;
<RCTL> = 109;
- <RALT> = 113;
+ // <RALT> = 113;
+ <RALT> = 115;
// Microsoft keyboard extra keys
- <LWIN> = 115;
- <RWIN> = 116;
- <MENU> = 117;
+ // <LWIN> = 115;
+ // <RWIN> = 116;
+ // <MENU> = 117;
<ESC> = 9;
<FK01> = 67;
@@ -108,7 +109,8 @@
<INS> = 106;
<HOME> = 97;
<PGUP> = 99;
- <DELE> = 107;
+ // <DELE> = 107;
+ <DELE> = 108;
<END> = 103;
<PGDN> = 105;
@@ -134,7 +136,8 @@
<KP1> = 87;
<KP2> = 88;
<KP3> = 89;
- <KPEN> = 108;
+ // <KPEN> = 108;
+ <KPEN> = 107;
<KP0> = 90;
<KPDL> = 91;
Reply to:
- References:
- keymaps
- From: Benjamin Swatek <bennosdebian@gmx.net>