You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Wednesday, July 9th 2003, 12:29pm

Accents and keyboard

Hi,
I have a Spanish keyboard, and would like to be able to use the accents and special characters in it (ñ, for example). Normal X applications started from a shell (say, launch emacs from a konsole) let me use accents (which are composed using an accent dead-key: you press the accent key and then the letter which will be modified). However, applications launched from the launch application dialogue, K-Menu, icons, etc. do not allow me to use accents (I can use the ñ, though, as I do now :D).

While I could launch the KDE apps from a konsole and get over with it (that's what I've been doing for a while), KDE apps (non-KDE apps work nicely) launched from the konsole crash. The crash debugger also crashes, so I can't debug them. For example:
[code:1]
$ kate
ERROR: Communication problem with kate, it probably crashed.
[/code:1]

I run Debian/Sarge using XF86 4.2.1, and KDE 3.1.2 (even though I had the same problem using the same setup with KDE 2.2.2 from Debian).

I have correctly configurad the X system to use the Spanish keyboard, and I have chosen from KDE's control panel the Spanish keyboard as well. While the keyboard is recognised (i.e., letters appear at their correct positions), the accents are not to be seen.

Finally, I have tried using xev to test what code the acute accent sends, and have found that it sends
[code:1]
KeyPress event, serial 27, synthetic NO, window 0x2600001,
root 0x3e, subw 0x0, time 8660527, (246,515), root:(249,544),
state 0x10, keycode 48 (keysym 0xfe51, dead_acute), same_screen YES,
XLookupString gives 0 characters: ""
[/code:1]
suggesting that it is working fine, the dead key press is detected. However, the accented symbol is not shown!

I presume that this is a problem with my environment variables (presumably set in ~/.xsession?), but I don't know how to debug this one. Any help much appreciated!!!

Thanks
JosE (yes, it has an acute accent on the "e", but I can't type it!!!) :lol: