How can I get my AltGr and Shift modifiers to work between keyboards for different languages?
The option -modtweak should help here. It is a mode that monitors the state of the Shift and AltGr Modifiers and tries to deduce the correct keycode to send, possibly by sending fake modifier key presses and releases in addition to the actual keystroke. Update: As of Jul/2004 -modtweak is now the default (use -nomodtweak to get the old behavior.) This was done because it was noticed on newer XFree86 setups even on bland “us” keyboards like “pc104 us” XFree86 included a “ghost” key with both “<" and ">” it. This key does not exist on the keyboard (see this FAQ for more info.) Without -modtweak there was then an ambiguity in the reverse map keysym => keycode, making it so the “<" symbol could not be typed. Also see the FAQ about the -xkb option for a more powerful method of modifier tweaking for use on X servers with the XKEYBOARD extension. When trying to resolve keyboard mapping problems, note that the -debug_keyboard option prints out much info for every keystroke and so can be useful