PDA

View Full Version : [ubuntu] How to get the c cedilla "ç" in Ubuntu 10.10 with a US International Keyboard



imcampos
October 31st, 2010, 03:19 PM
I just solved this problem, inspired by a previous post in this forum, that worked perfectly for release 10.04.
Here's how I did it in Ubuntu 10.10:
Open Applications/Accessories/Terminal
Type gksudo gedit in order to get editing rights to system files.
The system will ask you for your password.
After that, and if you have the authority, it will open the file browser with editing rights.
Navigate to usr/lib/gtk-2.0/2.10.0/gtk.immodules
There is pair of lines that look just like this:

"/usr/lib/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"

You just add :en after :wa and save the file.

The two lines should now look like shown below:
"/usr/lib/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"

Now exit the file browser, restart Ubuntu, and you're done. If you now type a comma followed by a c it should produce a ç.

hrickh
October 31st, 2010, 04:42 PM
If you use the right-alt key, you should be able to get the cedilla (ç) just by typing right-lat plus comma. No changes needed.

R.
==

julianamd
November 29th, 2010, 02:54 PM
Thank you imcampos! That was really helpful :-)

alroger
December 14th, 2010, 07:14 PM
Thanks man. Can't believe we still have to change this manually.

vanessa
December 15th, 2010, 07:50 PM
Thanks, I was trying to edit the wrong file

StephenDavison
December 15th, 2010, 08:56 PM
FWIW you can get c cedilla on the USA keyboard without making that change. In Keyboard Preferences, Layouts, I have only "USA" listed. I selected it, and then opened the Options dialog box. In the "Compose key position" I selected Menu and Right Alt. Selecting both just made it easy for me on my MSI netbook's small keyboard.

I get c cedilla with right-alt, comma, c. I also get accents, tilde, and umlaut.

accented e: right-alt ' e
n tilde: right-alt ~ n

and so on.

Edited to add:
My keyboard model shows as "Generic 105-key (Intl) PC." I'm pretty sure that was the default selected during the install inasmuch as I don't remember changing it since.

vanessa
December 15th, 2010, 09:16 PM
Yes, I saw that shortcut above, but I'd rather use the same key combination on all computers that I use. It'd drive me crazy to use '+c on Windows, Option+c on Mac and Alt+,+c on Linux!

StephenDavison
December 15th, 2010, 09:17 PM
Ah, I missed the previous post with the shortcut. Nevermind.

vanessa
December 15th, 2010, 10:18 PM
Fixed