You can find the source of this info here.
- Edit the following files to have
:en
at the end of thecedilla
line.sudo vim /usr/lib/gtk-3.0/3.0.0/immodules.cache sudo vim /usr/lib/gtk-2.0/2.10.0/immodules.cache
- Replace "ć" to "ç" and "Ć" to "Ç" on
/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 sudo 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 to
/etc/environment
:GTK_IM_MODULE=cedilla QT_IM_MODULE=cedilla
- Restart your computer.
After installing FCITX, I have no idea why, this was undone, and, for a while, I couldn't change it back (I even created an Ask Ubuntu question). But, after going through the procedure twice, it's working now. I think it might be because one of the files is modified sequentially after you modify the first one?