How do I make Cedilla (ç) character available in English USA? [duplicate]

Solution 1:

Bug reference: #518056

Answer from Hélio José:

For 64-bit systems:

sudo -H gedit /usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules.cache
sudo -H gedit /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules.cache

For 32-bit systems:

sudo -H gedit /usr/lib/i386-linux-gnu/gtk-2.0/2.10.0/immodules.cache

Change the line

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

to

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

Replace "ć" with "ç" and "Ć" with "Ç" in /usr/share/X11/locale/en_US.UTF-8/Compose

sudo cp /usr/share/X11/locale/en_US.UTF-8/Compose /usr/share/X11/locale/en_US.UTF-8/Compose.bak
sed 's/ć/ç/g' < /usr/share/X11/locale/en_US.UTF-8/Compose | sed 's/Ć/Ç/g' > Compose
sudo mv Compose /usr/share/X11/locale/en_US.UTF-8/Compose

Add two lines in /etc/environment

GTK_IM_MODULE=cedilla
QT_IM_MODULE=cedilla

Restart your computer.

Solution 2:

Choose keyboard = USA international with dead keys

Try Keyboard>layout>options>Key to choose 3rd level> right ctrl

then try right ctrl + <, press first the right ctrl and keep it pressed, then

with another finger press <