This is an old revision of the document!
(specifically a lombard powerbook (aka 1999,bronze keyboard), which generates most of these question/answer routines) NOTE: this “works for me”. it might, or might not work for you. these are assembled as notes, and assume some familiarity with both debian, and the hardware, its not really a step by step guide or install manual.
As of 2007 most of this no longer neccesary esp. if using a distro like ubuntu
should import the old debian on lombard pages (now disapeared)
build + install → kernel_notes
for all those os9 'legacy' applications that havent been ported to OsX, or GNU/Linux yet.,…
there is quite an amount of accurate, inaccurate and dangerously misleading info about settin up keymaps in console + Xfree86. this will add to the noise.
# Enable mouse button emulation dev.mac_hid.mouse_button_emulation = 1 dev.mac_hid.mouse_button2_keycode = 87 dev.mac_hid.mouse_button3_keycode = 88
cat <<EOF |xmodmap - clear mod1 keycode 64 = Mode_switch keycode 113 = Alt_L clear mod4 add mod1 = Meta_L EOF
or…
1. change XF86config-4 to look like this for keyboard:
Section "InputDevice" Identifier "Generic Keyboard" Driver "keyboard" Option "CoreKeyboard" Option "LeftAlt" "Meta" Option "RightAlt" "Meta" Option "ScrollLock" "Compose" Option "RightCtl" "Control" Option "XkbRules" "xfree86" # We don't use macintosh! # Option "XkbModel" "macintosh" # German Layout ("de") Option "XkbLayout" "de" Option "XkbVariant" "nodeadkeys" EndSection
2. change your /etc/X11/xkb/keycodes/xfree86 to look like this:
// Map Applekey to AltGr // = 113; = 115; // we dont need those on Apples // Microsoft keyboard extra keys // = 115; // = 116; // = 117; // Use Keypad-Enter as Delete-Key // This is the key left of cursor-left // = 107; = 108; // = 108; = 107;
3. Restart your X-Server … et voila! This worked straight away on my X11 server. With this you don't need any xmodmap lines.