Comment 96 for bug 518056

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

On 31/03/2015 18:52, Gunnar Hjalmarsson wrote:
> For me it works in the terminal, in gedit, in LibreOffice, and in HTML
> forms in Firefox.

I can now add that it works in Skype (a qt application) too. I have tested it successfully in trusty, utopic and vivid.

Btw, my selected IM framework is IBus, i.e. the default in Ubuntu (with Chinese as an exception in 15.04). When I tested to switch to fcitx, it did not work. Possibly fcitx will be the default IM framework in Ubuntu 15.10, so fixing it for fcitx may be a future issue.

Btw, the fact that it works for me with IBus is in line with those who stated in previous comments that simply installing ibus made '+c work for typing ç. Maybe they were using Brazilian Portuguese as display language...

On 2015-03-31 23:04, Leandro wrote:
> Indeed, adding "export LC_CTYPE=pt_BR.UTF-8" to "~/.profile" worked. It
> seems that the combination of sudo locale-gen pt_BR.UTF-8 and that works
> nicely and that it is a nice workaround.

Right.

> I don't understand yet exactly how this can become a defintive solution.

Well, my idea is to have the cedilla-brazil.sh file installed on everyone's computers by default. (I'm thinking of including it in the language-selector-common package.)

That way it would work out of the box for those users who select a Brazilian location for the time zone when installing Ubuntu. Otherwise the users can fix it via the Language Selector GUI instead of the command line workaround:

* Open Language Support
* Install the Portuguese language
* Select Brazilian Portuguese *either* as display language *or* as the
  regional formats choice (or both)

Certainly I don't say that this is an ideal solution. Just like you I think it would be more natural to create an alternative keyboard layout which could be selected in Text Entry. I just don't know if and if so how it could be accomplished.

The LC_CTYPE thing appears to be at least an improvement IMO.