Comment 60 for bug 92652

Revision history for this message
Marco Paganini (paganini-launchpad) wrote : Re: [Bug 92652] Re: Please add Microsoft compatible keyboard layout for Brazil

It is an annoying problem indeed. The issue is that a lot of people in
Brazil, for example, use the ABNT-2 layout, where a separate cedilla C key
exists. Everyone else was dropped in the middle of the road with this
change.

I have a quick workaround to fix it. Just cut and past the lines below and
restart your gnome apps:

$ sudo perl -ani.bak -e 's/\xc4\x87/\xc3\xa7/g; s/\xc4\x86/\xc3\x87/g;
print' /usr/share/X11/locale/en_US.UTF-8/Compose

$ sudo perl -ani.bak -e 'if (m/^"(cedilla)" "(.*?)" "(.*?)" "(.*?)"
"(.*?)"/o) { print "\"$1\" \"$2\" \"$3\" \"$4\" \"$5:en_US\"\n" } else {
print }' /usr/lib/gtk-2.0/2.10.0/immodule-files.d/libgtk2.0-0.immodules

Note: Those are *TWO* lines. Merge them back if your mailer breaks them.

On Sun, Oct 17, 2010 at 11:57 AM, fungos <email address hidden> wrote:

> This is very annoying, the default shortcut for cedilla is [ ' + c ]
> and the Ubuntu doesn't work the expected way, otherwise it generates: ć.
>
> The above fix works.
> Fix this issue for 11.04 please. I would say that this is CRITICAL due to
> being expected natural feature of any operating system for Brazil locale.
>
> --
> Please add Microsoft compatible keyboard layout for Brazil
> https://bugs.launchpad.net/bugs/92652
> You received this bug notification because you are a direct subscriber
> of the bug.
>