International keyboard settings

From Organic Design wiki
Revision as of 15:19, 6 March 2012 by Nad (talk | contribs)

We had a lot of trouble figuring out how to get the accents working for Brazilian Portuguese on Ubuntu 11.04 in the proper way that Brazilians are used to. Firstly we didn't know which keyboard layout to use, which turned out to be USA Alternative International which is found in the list of countries under "United States".

That got it working 90%, for example typing apostrophe then "A" makes "á", but the next problem is that apostrophe then "C" makes a "ć", which doesn't even exist in Portuguese! It should give the cedilla (ç). To fix this final problem we had to do the following from the terminal.


First edit the /usr/lib/gtk-2.0/2.10.0/gtk.immodules configuration file with root privileges,

sudo nano /usr/lib/gtk-2.0/2.10.0/gtk.immodules


Then find the line that configures the cedilla and add an "en" option to the end so it looks like this:

"cedilla" "Cedilla" "gtk20" "/usr/share/locale" "az:ca:co:fr:gv:oc:pt:sq:tr:wa:en"


A restart will be required before the change takes effect, and your cedilla's should be working properly :-)