How can I type "ç" in Windows GTK apps?

9

2

I use an English (US) international keyboard layout, and every time I use the key ´ followed by c it yields the Portuguese and French character "ç" (cedilla), which is desirable. However in GTK apps (Pidgin for instance) it yields "ć", which is Polish.

How can I make GTK apps behave the same way as the rest of the apps do?

NOTE: I had the same problem on Ubuntu 11.04 and 10.10, and they found two sets of solutions that work on those specific versions.

Jader Dias

Posted 2011-09-13T18:34:23.577

Reputation: 13 660

If you don't get a good answer here, I would recommend flagging your question and having it moved to http://unix.stackexchange.com/.

– n0pe – 2011-09-14T02:09:27.277

1@Max I don't understand how a question about Windows would be helped there – Jader Dias – 2011-09-16T17:39:30.877

Unless I missed it, "Windows" wasn't in the title before Gareth edited it. – n0pe – 2011-09-16T17:59:29.300

@Max it was always there – Jader Dias – 2011-09-16T18:07:49.427

I don't use GTK on Windows, but have you tried to search for a file named "gtk.immodules" ? If it exists, the above link you gave might still work.

– harrymc – 2011-09-25T07:22:13.287

@JaderDias: Have you tried right-clicking the relevant text box, choosing Input Methods -> Cedilla ? – James P – 2011-09-27T08:31:12.440

@James I didn't know about that. I tried and it works. The problem is that I have to do that every time I open a new chat window. – Jader Dias – 2011-09-27T14:59:05.450

Answers

4

The problem is that GTK apps do not integrate with the Windows input Method Editor (IME) language settings and instead use their own. By default this is set to Simple and needs to be changed. You need to create a new system-wide environment variable called GTK_IM_MODULE and set it to cedilla (I wrongly thought that when set to ime GTK would emulate Windows own behaviour but IME is a different thing). I got the name of the environment variable from here: http://developer.pidgin.im/ticket/4896

James P

Posted 2011-09-13T18:34:23.577

Reputation: 9 542

ime doesn't work exactly like windows ime. to make the cedilla work I had to use cedilla. Capitalizing it (Cedilla) didn't work. – Jader Dias – 2011-09-27T19:55:43.737

Glad you got it working in the end. I updated my post to clarify my mistake. – James P – 2011-09-28T15:44:34.863