Here is some more great info from alexsej that he compiled into a tutorial in irc channel for slitaz on freenode.net, slightly modified to fit this forum reply:
lexeii | Can you copy-paste my next answer to our Latvian friend, and I’ll gone?
ccssnet | ok
1. Install ‘glibc-locale’ package.
2. Generate locale in Tazpanel by following this url:
3. Log out and log in.
4. Open terminal and type:
setxkbmap -layout “us,ru,lv” -option “grp:lwin_toggle,compose:ralt”
5. Now you can switch keyboard layouts by pressing and releasing left windows key, and you have compose key — right alt.
6. Open text editor and try to type: hold ‘compose’ key while pressing ‘s’ key and you get ‘ ‘, and so on.
Command setxkblayout… can be added to ‘Menu – Preferences – Auto started applications’
ccssnet | on US keyboard.. what is compose key?
lexeii | There is no compose key by default. You want to define it.
ccssnet | o, ok
lexeii | typing: setxkbmap -option “compose:ralt” will define ‘right alt’ as ‘compose’ key. There are more variants:
lexeii | cat /usr/share/X11/xkb/rules/base.lst | grep ‘compose:’