Bug 89795 - Brazil needs a US-International keyboard layout with 'c = ç
Summary: Brazil needs a US-International keyboard layout with 'c = ç
Status: RESOLVED NOTOURBUG
Alias: None
Product: xkeyboard-config
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: xkb
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-27 16:42 UTC by Leandro
Modified: 2015-04-07 06:17 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Leandro 2015-03-27 16:42:19 UTC
There is a long-standing, but simple, problem we, brazilians, face
when installing any linux box, which is that we need that the
stroke combination:

<dead acute> c

gives the cedilla "ç" letter, for the US-International keyboard layout.

The US-International keyboard is used by lots of people in Brazil,
and the touch-type friendly, and standard, stroke for obtaining the
the common ç letter in Portuguese is the  ' + c  combination. 

There is not definitive solution to this problem, which is very
annoying for Brazilians, it is easy to see, by googling "cedilla linux",
or "cedilla ubuntu", how many people is searching for a definitive
solution for this problem. Currently, one can get the ç character
with Alt-Gr + <comma>, or <Alt> + <comma>, but these are not
adequate solutions, particularly because this is not good for touch
typing nor is the standard historic behaviour.

I have suggested in many forums, bug trackers, etc, that a new
keyboard layout should be available on installation, which should
be called, for example,

US-International with dead-keys (cedilla)

There are already many keyboard layouts available, and having
one more solving this problem for all of us brazilians would be great,
and the solution appears to be simple, but we could not get this
to be implemented as of yet.

At this point, there have been linux versions in which the ç was
the default result of the combined strokes, but now, in the most
recent versions (Ubuntu 13.10, for instance), it is back to the
accented c, which makes my upgrades, particularly for my parents
and friends, an enormous headache.

Please help us so that this simple addition reach to correct people.
Comment 1 Leandro 2015-03-27 16:45:21 UTC
There is long standing discussion on this topic at:

https://bugs.launchpad.net/ubuntu/+source/gtk+2.0/+bug/518056?comments=all
Comment 2 Sergey V. Udaltsov 2015-04-04 22:53:53 UTC
Thanks for the report. Is there a patch for xkeyboard-config? I could not find one.
Comment 3 Gunnar Hjalmarsson 2015-04-06 21:12:46 UTC
Hi Sergey,

(In reply to Sergey V. Udaltsov from comment #2)
> Is there a patch for xkeyboard-config?

Well, there is, sort of, in my PPA.
https://launchpad.net/~gunnarhj/+archive/ubuntu/cedilla-test/+packages

But that patch simply turns the <dead_acute> key into a <dead_cedilla> key, and it turned out that that's not what the Brazilian users would like to see. The desired behavior is that the <dead_acute> key followed by the c key results in ccedilla, while keeping the original behavior for other letters.

Preliminary we have abandoned the idea to fix this in xkeyboard-config, and are now trying to make use of x11 compose instead.

Nevertheless, if it is at all possible to achieve the desired behavior with xkeyboard-config only, it would probably be the most robust solution, and also most convenient for the users. Do you possibly have an idea whether it can be done?

Thanks!
Comment 4 Sergey V. Udaltsov 2015-04-06 21:58:04 UTC
> Preliminary we have abandoned the idea to fix this in xkeyboard-config, and
> are now trying to make use of x11 compose instead.
> 
> Nevertheless, if it is at all possible to achieve the desired behavior with
> xkeyboard-config only, it would probably be the most robust solution, and
> also most convenient for the users. Do you possibly have an idea whether it
> can be done?
The way you describe it, it is really for compose. So I am marking this bag as NOTOURBUG.
Comment 5 James Cloos 2015-04-06 23:53:00 UTC
> The desired behavior is that the <dead_acute> key followed by the c key
> results in ccedilla, while keeping the original behavior for other letters.

It already does in the pt_BR.UTF-8 locale.

The compose file for pt_BR.UTF-8 includes the en_US.UTF-8 file and then overrides some of the sequences, including:

  XCOMM  Overriding C with acute:
  <dead_acute> <C>  : "Ç" Ccedilla  # LATIN CAPITAL LETTER C WITH CEDILLA
  <dead_acute> <c>  : "ç" ccedilla  # LATIN SMALL LETTER C WITH CEDILLA
Comment 6 Gunnar Hjalmarsson 2015-04-07 06:17:40 UTC
Thanks for pointing it out, James. Yes, we are already about to make use of x11 compose instead, and your and Sergey's comments confirm that we probably are on the right track by doing so.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.