I have prepared for supporting pt_PT in the same manner as pt_BR, and when doing so I learned some new stuff.
The default input method framework in Ubuntu is IBus, and as long as IBus is enabled, it's actually IBus which turns '+c to ç when LC_CTYPE is "pt_BR.UTF-8". Only when IBus is disabled, the libx11 package makes a difference. Consequently, to properly support pt_PT, both the ibus and the libx11 packages need to be changed. (A minor adjustment to language-selector will also be needed.)
I created a new PPA, and uploaded modified (utopic) versions of ibus and libx11 there:
I have prepared for supporting pt_PT in the same manner as pt_BR, and when doing so I learned some new stuff.
The default input method framework in Ubuntu is IBus, and as long as IBus is enabled, it's actually IBus which turns '+c to ç when LC_CTYPE is "pt_BR.UTF-8". Only when IBus is disabled, the libx11 package makes a difference. Consequently, to properly support pt_PT, both the ibus and the libx11 packages need to be changed. (A minor adjustment to language-selector will also be needed.)
I created a new PPA, and uploaded modified (utopic) versions of ibus and libx11 there:
https:/ /launchpad. net/~gunnarhj/ +archive/ ubuntu/ cedilla- portugal