Comment 91 for bug 518056

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

On 2015-03-30 22:37, Leandro wrote:
> I see! No, unfortunately we also need the accute dead keys for á, é, í,
> ó and ú.

I suspected that.

> The "key" (phisically speaking) must be the same. That is, 'a = á, and
> 'c = ç

In that case I don't think that an additional keyboard layout is the way to go.

I have played around a little, and as far as I can tell, '+c = ç if the environment variable LC_CTYPE is set to "pt_BR.UTF-8". That's normally the case in Ubuntu when the display language is Brazilian Portuguese. If this is the case (please correct me if I'm wrong), the problem is typically limited to sessions with some other display language but Brazilian Portuguese.

The attached file might be a step forward. If you install that file in /etc/profile.d, the desired behavior with respect to typing '+c will be there as long as either the display language or the regional formats is Brazilian Portuguese.

Please let me know what you think.