I can't get SCIM to work. the keyboard icon shows up on the taskbar but it does nothing. However, If I switch the desktop to japanese, it works fine, but I can't use it while on pt_BR locale.

I've tried https://help.ubuntu.com/community/SCIM but didn't work