4

I use english and portuguese (pt-br), my keyboard is USA design, so it is configured english-international (with dead keys) I used this for many years. The new-installed 20.04.1 LTS does not allow me to reach C-cedilla. The key map shows it, but is not functioning. All other accentuations are appearently functioning. Checking the characters application, I notice, "single comma + c" should return "unicode U+00E7" but it is returning "unicode U+0107" instead. Is there a way to fix this?

2 Answers2

1

I've found the solution in this answer: https://superuser.com/a/1235405/98798

Basically, you need to tell gtk config files is not loading the cedilla module when using the English locale.

So we change the gtk files to tell it to do it, with these two commands:

sudo sed -i '/^"cedilla/ { s/" $/:en"/; }' /usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules.cache
sudo sed -i '/^"cedilla/ { s/" $/:en"/; }' /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules.cache

And make sure you have these two lines in /etc/environment:

GTK_IM_MODULE=cedilla
QT_IM_MODULE=cedilla
elias
  • 1,149
0

I prefer to use the system tools instead of changing directly the config files. That way I could not find a way to have the accentuation back without using the Brazilian Portuguese in System Configuration. That has implications, of course: all the system menus and labels start using Portuguese, but most of the forum messages and blogs are written in English.