Comment 47 for bug 92652

Revision history for this message
In , Simos Xenitellis  (simosx) wrote :

On Tue, Jan 6, 2009 at 5:04 AM, <email address hidden> wrote:
> http://bugs.freedesktop.org/show_bug.cgi?id=15900
>
>
> Piter PUNK <email address hidden> changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> CC| |<email address hidden>
>
>
>
>
> --- Comment #9 from Piter PUNK <email address hidden> 2009-01-05 21:04:19 PST ---
>
> This isn't an xkeyboard-config bug.
>
> Using us(intl) or us(alt-intl) and pure X applications (like xterm)
> '+c gives ç like expected. The problem is with GTK+2 applications.

No, GTK+2 applications are good. The problem is in the Brazilian layout.

If you check in the default Brazilian layout (abnt2), there is an
inclusion of the default 'latin' layout, which mentions

    key <AE12> { [ equal, plus, dead_cedilla, dead_ogonek ] };

which corresponds to the '=' and '+' key. If you press AltGr+=, then
c, you *would* get ç.

However, the default Brazilian layout overrides the settings for the
AE12 key with the following

    key <AE12> { [ equal, plus, section, dead_ogonek ] };

So, with 'abnt2', if you press AltGr + =, you get the 'section'
character instead of the useful 'dead_cedilla'.

What can you do?

Option 1. Move the 'section' character somewhere else on the keyboard,
so that you can use the default location for dead_cedilla.

Option 2. Assign dead_cedilla to another key.

Background:
    key <AE12> { [ equal, plus, section, dead_ogonek ] };

For this key, if
  1. you press as is, you get 'equal'
  2. you press with Shift, you get 'plus'
  3. you press with AltGr, you get 'section'
  4. you press with Shift, AltGr, you get 'dead_ogonek'.