← Back to team overview

desktop-packages team mailing list archive

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

 

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.

-- 
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