I can't get ABNT2 deadkeys (ã,õ,ê etc.) to work with legacy X programs (such as AMSN). They work fine in the terminal and in Qt/GTK programs. I have SCIM configured for Japanese input on my system, but that should be irrelevant as I had it before and it worked before upgrading to Feisty. The relevant XKB options are set like this:
Code:
Option "XkbRules" "xfree86"
Option "XkbModel" "abnt2"
Option "XkbLayout" "br"
Option "XkbVariant" "abnt2"
Option "XkbOptions" "lv3:ralt_switch"
The "xfree86" rule set is needed to get the 3rd level (Alt Gr) to work.
[Update] This time, SCIM is to blame... disabling it corrected the keyboard behavior. I'll look further into it, but if you guys have any ideas please, by all means, post away!