I have been using the altgr-intl variant of the us layout for almost ten years
I was even addicted enough that I ported it to MacOSX and Windows once. It is
surprising that it took me this long but I guess I don't spend enough time on
the console to justify making a layout just for that. However I was really fed
up with it last night and finally made one. You can get it here:
US - algtr - intl keymap.
You need to put it where your system expects keymaps, this is
/usr/share/keymaps/i386 for me, but should be the same across distros
I assume. Then you need to issue loadkeys us-altgr-intl and it should
However, if you actually want to see the symbols you type, you likely need to
use a font that actually covers all the symbols that us intl is able
to produce. I use the terminus fonts which are available via setfont
How to make one yourself
- man 5 keymaps is an essential start. Throw in loadkeys and
dumpkeys as well for good measure.
- Read a few of the original keymaps. These should live under
/usr/share/keymaps/i386. Especially the way modularity was used in us
helped me understand quite a few things.
- If you are looking to reproduce certain existing layouts from X11, take
them as a reference. For me they were located under
/usr/share/X11/xkb/symbols/. All files there are named after the main
keyboard layout and the variants all live inside them (now setxkbmap
-variant altgr-intl us makes more sense).
For a reference of valid keycodes consult the output of dumpkeys
An interesting read that you don't need but might appreciate is an inside look at the kernel
keyboard driver from one of the authors back in 1995.
I know certain keys (dead accents mostly) that don't work, but that can't be
helped as the kernel doesn't seem to support them. Not sure who needs a
dead_ogonek anyway, sounds like something to be burried in the yard. If you
have any improvements I am happy to put them in.
Drop me a line: