I just have alternate layouts depending on what I'm doing.
English, programming, and some bits of Portuguese = US keyboard + compose key
Portuguese = US-intl (but in mine, all the keys you mentioned are dead keys. No Alt need)
English, programming, and some bits of Portuguese = US keyboard + compose key
Portuguese = US-intl (but in mine, all the keys you mentioned are dead keys. No Alt need)
I have a keyboard shortcut to switch.