If you are willing to modify your libX11, something you might want to try is to change libX11/modules/im/ximcp/imLcFlt.c such that the calls to XLookupString are done with a modified value of ev->xkey.state. You mask out the two bits of the state that determine the group. For compose sequences, this has the effect as if always the primary group would be active. For this to work as you want, you must make us your primary and ru your secondary layout.
Andreas _______________________________________________ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: %(user_address)s