Hi, > > To express it more "factually", is there a way to assign, let's say > > SHIFT+SHIFT to a greek polytonic kbd, SHIFT+ALT to sanscrit, SHIFT+META > > to phonetics, etc. > > Look inside keysymdef.h for possible symbol names which might produce > desired behavior. You can notice that it's possible to switch > directly to either first or last group, but not to a specific number.
But note that the meaning of those keysyms is not hardcoded somewhere. There are 'interpret' records (in xkb/compat/* files) where those keysyms are tied with 'xkb actions'. But all possible actions are not limited with keysyms mentioned in the interpret records. For the 'direct switch' one can use actions: LockGroup(group=1); LockGroup(group=2); LockGroup(group=3); LockGroup(group=4); How to do it? There are tree ways. 1. One can redefine interpretations for some existent but unused keysyms. The first two actions are already bound to ISO_First_Group, ISO_Last_Group. And for two other actions we could take unused ISO_First_Group_Lock, ISO_Last_Group_Lock and write 'interpret' records for them into xkb/compat/iso9995 (using interpret records for ISO_{First|Last}_Group as an example). 2. If such spoiling of existent keysyms is unwanted we can even define own keysyms. It can be done in X11R6/lib/X11/XKesysmDB. Find there unused codes and names and write new lines for any kesysm name you want (e.g. LockGroup3, LockGroup4). Of course, the next step is the same as in the previous variant - one shoud write 'interpret' records for these new keysyms. 3. Actually it is not necessary to tie actions with keysyms. Any action can be specified directly for a key in any xkb/symbols/* file. For example: key <LALT> { [ Alt_L, NoSymbol ], actions[group1] = [ NoAction(), LockGroup(group=3) ] }; But the last method has some 'side effects'. -- Ivan U. Pascal | e-mail: [EMAIL PROTECTED] Administrator of | Tomsk State University University Network | Tomsk, Russia _______________________________________________ I18n mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/i18n