← Back to team overview

desktop-packages team mailing list archive

[Bug 518056] Re: cedilla appears as accented c (ć instead of ç) when typing 'c

 

Hi Leandro!

On 2015-04-06 14:44, Leandro wrote:
> I think the "LC_TYPE" approach will solve much of the complains,
> because I think most people installing Ubuntu will be physically
> located in Brazil and will naturally choose the location as Brazil.
> If in that case the cedilla will be typed as we expect it, that will
> be fine.

With the latest change to language-selector, that's how it will work in
15.04.

> At the same time, when that does not happen, the fix will remain
> pretty complicated to explain, and forcing someone to change the
> time-zone or the display language (I understand those are the
> options) can be frustrating.

The time-zone part is a misconception.

The time zone location is only relevant in the installer. The installer
does not have a separate window for setting "Regional Formats", i.e.
things like date/time and number formats, currency symbol etc. Instead
it 'guesses' the regional formats based on the selected time zone
location. So if you select a Brazilian time zone location in the
installer, you'll end up with an installation where the regional formats
are Brazilian Portuguese.

If you don't, and if you don't either select Brazilian Portuguese as the
language, there is no reason to change to another time zone afterwards.
Instead you can open the Language Support GUI, install Portuguese, and
then change either the language or *the regional formats* (or both) to
Brazilian Portuguese.

(And as a last resort, if you don't want Brazilian Portuguese as the
display language or the regional formats, you can instead generate the
pt_BR.UTF-8 locale and edit ~/.profile.)

This, in itself, shouldn't be very complicated to explain. After all,
it's reasonable that you need to do *something* to get the desired
behavior, isn't it?

> ... when things do not work out as expected, I think people will
> start looking for solutions and still will find them only in this bug
> report, as the workaround will be very unatural.

Right, personally I think the biggest issue here is how to get the
message out. People may end up at this bug report, with quite a few
suggested workarounds. There is also Ask Ubuntu. I added an answer to

http://askubuntu.com/questions/363115

However, that's just one answer among a bunch of others, basically
suggesting the same workarounds as have been mentioned in this report.

How are things working in Brazil? Does it exist any local adapted ISO
file (e.g. a Brazilian remix)? Is there any local support forum, from
where the word could be spread?


As regards pt_PT, we could make it work the same way as it does for pt_BR in the beginning of next development cycle. Then a few months will pass before the release of 15.10, and if - contrary to expectation - people don't like it, the change might be reverted before release.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libx11 in Ubuntu.
https://bugs.launchpad.net/bugs/518056

Title:
  cedilla appears as accented c (ć instead of ç) when typing 'c

Status in central project for keyboard configuration:
  Confirmed
Status in gtk+2.0 package in Ubuntu:
  Confirmed
Status in language-selector package in Ubuntu:
  Fix Released
Status in libx11 package in Ubuntu:
  New
Status in xkeyboard-config package in Ubuntu:
  Confirmed

Bug description:
  
  When typing in a US-international keyboard with dead-keys (or UK-international), 
  typing 'c results in an accented c instead of a cedilla.

  There is a workaround, which is editing the

  /usr/lib/gtk-2.0/2.10.0/immodule-files.d/libgtk2.0-0.immodules

  file and changing the line

  "cedilla" "Cedilla" "gtk20" "/usr/share/locale"
  "az:ca:co:fr:gv:oc:pt:sq:tr:wa"

  to

  "cedilla" "Cedilla" "gtk20" "/usr/share/locale"
  "az:ca:co:fr:gv:oc:pt:sq:tr:wa:en"

  (add the 'en' at the end).

  However, every time some update on this file is applied, one looses the change,
  and we get back to the accented c. That means having to modify the file again,
  logout and login.

  For me this is no problem. But for my brother, mom, dad, etc, it is always something
  that at least makes me less proud of having convinced them to use Ubuntu, because
  they don't know what to do each time this happens.

  I think we really need a configurable keyboard layout, or at least (and that would
  be very easy), the inclusion of alternate layouts on install that for the dead-key
  options (as US-deadkey and UK-deakey), alternate layouts as US-deadkey-cedilla.

  This change is relevant for at least Portuguese and French.

To manage notifications about this bug go to:
https://bugs.launchpad.net/xkeyboard-config/+bug/518056/+subscriptions