Tuesday, January 15, 2008

[UPDATE] C Cedilla with Gnome

This problem could be perfectly overcame with a language switch to Portuguese, but I like to have my Linux in English or German and still be able to write in Portuguese, this includes the ç characters. But the default for English and German is to produce a ć instead of our beloved cedilla.

Anyway the answer I found in here and it says the following:

1. Edit the file /etc/gtk-2.0/i386-redhat-linux-gnu/gtk.immodules /etc/gtk-2.0/x86_64-redhat-linux-gnu/gtk.immodules

2. Add at the line beginning with: "cedilla" the language that you want to produce, as default, the c cedilla.

The original is:
"/usr/lib64/gtk-2.0/2.10.0/immodules/im-cedilla.so"
"cedilla" "Cedilla" "gtk20" "/usr/share/locale" "az:ca:co:fr:gv:oc:pt:sq:tr:wa"

And I changed it to:
"/usr/lib64/gtk-2.0/2.10.0/immodules/im-cedilla.so"
"cedilla" "Cedilla" "gtk20" "/usr/share/locale" "az:ca:co:fr:gv:oc:pt:sq:tr:wa:en:de"

No comments: