How to have a comfortable keyboard layout under X.
A guide destinated to italian iBook linux users

Target

have the following keymap:
apple keyboard = alt gr

Instructions

You’ve to edit your /etc/X11/xkb/keycodes/xfree86 file. Remember to make a backup copy of this file before editing.
These’re the easy steps:

  • under X run a program like xev to find the exact keycode of your apple key
  • change the code with the new one
  • comment all the old command referring the new keycode

Restart X and keep your finger crossed ;)

Configuration file

Here’s my xfree86 file, you can try it if you’ve an iBook with an italian keyboard

Tags:
Leave a Reply