This forum has been archived. All content is frozen. Please use KDE Discuss instead.

problems in writing the cedilha character

Tags: None
(comma "," separated)
roger_lf
Registered Member
Posts
10
Karma
0
OS
Hi all,

I recently made a fresh install of Kubuntu Natty and since then I have a problem with my keyboard (with previous versions of kubuntu, it just worked). I have a german keyboard (qwertz with öäüß keys near the return key). They are working fine.

My system language is set to Brazilian Portuguese (PT-Br). I am able to write almost all the characters that I need (for example, ã à ê é), but I am unable to write a cedilha (a c with a little hook under it). I used to had this letter by pressing an apostrophe and then a c. If I do this now, I get ć.

I tryed changing my System Settings > Input devices > Layouts and changing the layout variants, but was unable to get a cedilha (and some other combinations, like ã, would stop working). It is now set to german layout, standard variant.

Thanks for the help,
Rogério
john_hudson
Registered Member
Posts
549
Karma
2
OS
This character is certainly present in the French keyboard where it is in the position of 9 on a US/UK keyboard. Have you tried Alt-Gr c or a similar combination?


John Hudson, proud to be a member of KDE forums since 2008-Oct.
roger_lf
Registered Member
Posts
10
Karma
0
OS
john_hudson wrote:This character is certainly present in the French keyboard where it is in the position of 9 on a US/UK keyboard. Have you tried Alt-Gr c or a similar combination?


Thanks for the reply. But it does not solve my problem. Alt-Gr c produces ¢ and Shift Alt-Gr produces ©.
roger_lf
Registered Member
Posts
10
Karma
0
OS
I finally solved it, here is the solution for people with this same problem:

add the following line
Code: Select all
 export QT_IM_MODULE="cedilla"

to the /etc/enviroment file (you have to do this as root). Then restart your X. Now the combination apostrophe c gives me ç (and apostrophe shift c gives Ç), instead of the accented c.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
You could also have added an executable script with that same content into ~/.kde4/env/ which would have had the same effect - and no root access required.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
barraponto
Registered Member
Posts
3
Karma
0
OS
Didn't work for me, running kde 4.8 on Archlinux.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
On some distributions, ~/.kde/ is used instead of ~/.kde4/


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
barraponto
Registered Member
Posts
3
Karma
0
OS
thanks, but I put it in /etc/environment and when I open up konsole and type `echo $QT_IM_MODULE`, it says 'cedilla'.
I've set GTK_IM_MODULE as well in /etc/environment and GTK applications (even when running atop KDE) picked it up.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Sure, /etc/environment will work too, just mentioning a solution for those people who don't want to modify system wide files.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
barraponto
Registered Member
Posts
3
Karma
0
OS
Oh. But the problem persists. What should I look for in qt or kde builds from archlinux, in order to debug this?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
I am not sure of the steps required to debug input method related issues unfortunately. First, I would make sure your desired input method is indeed being loaded as you are requesting.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot]