Configuring Cedilla on Kubuntu 9.04
Kubuntu 9.04, the Jaunty Jackalope, was released on April 23rd of 2009. I have installed it; but, an annoying common problem that bothers Portuguese writers is still there: Cedilla doesn't work if you have installed using English language.
I googled looking for how to fix this problem, but I couldn't find a straightforward solution. Thus, I decided to compile some of them and write mine. As you may have noticed my favorite editor is emacs; so, file editing commands will be given using it.
At first, we are going to install the portuguese writting support:
sudo apt-get install language-support-writing-pt
Then, we have to configure the portuguese environment:
cd /usr/share/locales
sudo ./install-language-pack pt_BR
sudo ./install-language-pack en_US
Now, set the default language to portuguese:
sudo emacs /etc/default/locale
Replace en_US.UTF-8 with pt_BR.UTF-8, save and reboot your computer
In Kubuntu 10.04 or older also do
sudo im-switch -c
Choose /etc/X11/xinit/xinput.d/default-xim
Restart