← Back to team overview

desktop-packages team mailing list archive

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

 

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.

** Attachment added: "cedilla-brazil.sh"
   https://bugs.launchpad.net/ubuntu/+source/gtk+2.0/+bug/518056/+attachment/4362096/+files/cedilla-brazil.sh

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xkeyboard-config 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 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