Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot use X us_intl dead keys in KDE applications
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
squatrem
n00b
n00b


Joined: 29 Apr 2005
Posts: 1
Location: Quebec, Canada

PostPosted: Fri Apr 29, 2005 6:20 pm    Post subject: Cannot use X us_intl dead keys in KDE applications Reply with quote

Until yesterday, I was a very happy gentoo user with my french keyboard, but I broke it and had to replace it with an american one.. I m now living a nightmare !

As I need to write in french (with accents), here is my new X configuration:
Code:
    Option "XkbLayout"  "us_intl"


It works perfectly for all non-KDE applications (firefox, openoffice, xterm, ...) even under KDE but I cannot get it work with KDE apps. For example, if I type `+e in openoffice, I get a è. If I type the same keys in konqueror, konsole or kmail, I get `e and the simple and double quotes dont work at all.
I ve tried a lot of combinations in kcontrol (US with or without dead keys with each possible variant) but it never works.

Does anyone knows something about this issue ?

For information, I run KDE 3.4.0 (with french i18n) and Xorg 6.8.2-r1.
In my/etc/conf.d/keymaps , I have :
Code:
KEYMAP="us"
SET_WINDOWKEYS="yes"
EXTENDED_KEYMAPS="backspace keypad euro"

(I cannot make us-acentos work but it is less blocking than in KDE)
/etc/conf.d/consolefont :
Code:
CONSOLEFONT="default8x16"
CONSOLETRANSLATION="8859-1_to_uni"

Here is my locale :
Code:
$ locale
LANG=fr_FR@euro.ISO-8859-15
LC_CTYPE=fr_FR@euro.ISO-8859-15
LC_NUMERIC=fr_FR@euro.ISO-8859-15
LC_TIME=fr_CA.ISO-8859-15
LC_COLLATE=fr_FR@euro.ISO-8859-15
LC_MONETARY=fr_CA.ISO-8859-15
LC_MESSAGES=fr_FR@euro.ISO-8859-15
LC_PAPER=fr_CA.ISO-8859-15
LC_NAME=fr_CA.ISO-8859-15
LC_ADDRESS=fr_CA.ISO-8859-15
LC_TELEPHONE=fr_CA.ISO-8859-15
LC_MEASUREMENT=fr_FR@euro.ISO-8859-15
LC_IDENTIFICATION=fr_FR@euro.ISO-8859-15
LC_ALL=


Thanks in advance for your help
Back to top
View user's profile Send private message
toxicated
n00b
n00b


Joined: 28 Mar 2003
Posts: 27
Location: Sweden

PostPosted: Sat Dec 10, 2005 8:51 pm    Post subject: Reply with quote

Same here, Haven't found any solution. Fairly irritating to move over to random-non-qt-input and make the é appear. Have you found any solution?
Back to top
View user's profile Send private message
red-wolf76
l33t
l33t


Joined: 13 Apr 2005
Posts: 714
Location: Rhein-Main Area

PostPosted: Sun Dec 11, 2005 1:47 am    Post subject: Reply with quote

Under KDE (I've got 3.5 on one box, so YMMV) use french (basic) as your keyboard locale (access it through the KDE control panel).

I used to have "nodeadkeys" activated for my German keyboard layout and couldn't for the life of me use accented Characters. Bûŧ Nów Ì'm bâck with ã vèñgéàñcê! :lol:
_________________
0mFg, G3nt00 r0X0r$ T3h B1g!1111 ;)

Use sane CFLAGS! If for no other reason, do it for the lulz!
Back to top
View user's profile Send private message
toxicated
n00b
n00b


Joined: 28 Mar 2003
Posts: 27
Location: Sweden

PostPosted: Sun Dec 11, 2005 10:17 am    Post subject: Reply with quote

It didn't help. I tried changing to basic french, basic swedish back and forth with no luck. I always could enter ëã.. in urxvt and firefox, but never in qt/kde, it just made my keyboard go french which i didn't like very much ;) (I use sv_dvorak, an xmodmap file with an alternative swedish dvorak layout)
Back to top
View user's profile Send private message
red-wolf76
l33t
l33t


Joined: 13 Apr 2005
Posts: 714
Location: Rhein-Main Area

PostPosted: Sun Dec 11, 2005 11:34 am    Post subject: Reply with quote

Ah sorry, toxicated, I didn't pay attention to that you were swedish. The root poster needed a french keyboard.

Maybe it's your Dvorak layout that's doing it. What's with the Control panel in KDE? Can't you see which layout you're using there? I guess you're pretty much used to typing on it, so switching to QWERTZ is not an option, is it?

Cheers and good luck for the time being. I have Gnome on this box, but when my gf is done on hers, I'll try to figure out what you can do, even though I don't have a Dvorak-Handy, I fiddle about with the settings in KDE 3.5.

What version of KDE are you using?
_________________
0mFg, G3nt00 r0X0r$ T3h B1g!1111 ;)

Use sane CFLAGS! If for no other reason, do it for the lulz!
Back to top
View user's profile Send private message
toxicated
n00b
n00b


Joined: 28 Mar 2003
Posts: 27
Location: Sweden

PostPosted: Sun Dec 11, 2005 7:55 pm    Post subject: Reply with quote

My KDE version is 3.4.1.

QT applications couldn't understand deadkeys anytime, not when using french, not when using swedish, and not when using my xmodmap dvorak-file.

Might be good to mention that I'm using UTF-8 locales, but that shouldn't matter right?
Back to top
View user's profile Send private message
red-wolf76
l33t
l33t


Joined: 13 Apr 2005
Posts: 714
Location: Rhein-Main Area

PostPosted: Sun Dec 11, 2005 9:01 pm    Post subject: Reply with quote

Could be it. I'm not using them yet... Have you tried reverting to a non-UTF-8 charmap and userfont?
_________________
0mFg, G3nt00 r0X0r$ T3h B1g!1111 ;)

Use sane CFLAGS! If for no other reason, do it for the lulz!
Back to top
View user's profile Send private message
toxicated
n00b
n00b


Joined: 28 Mar 2003
Posts: 27
Location: Sweden

PostPosted: Sun Dec 11, 2005 9:32 pm    Post subject: Reply with quote

No affect =(.
Back to top
View user's profile Send private message
janosh
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2004
Posts: 80
Location: Oslo, Norway

PostPosted: Wed Feb 21, 2007 9:04 pm    Post subject: Reply with quote

Sorry for waking an old post, but I'm having the same problem in my kde 3.5.5
I can use dead keys like ^ + o to make ô in firefox, and other non kde apps.

But if I try the same in KEdit, it doesn't print the dead key, so it seems like it is accepting the dead key, but then it just prints a regular o.

I don't know how to debug this problem further, it used to work just fine. But after a hard drive crash before Christmas, I had to reinstall Gentoo, and it's been like this ever since :(

Any help would be appreciated

--
Jonarne
Back to top
View user's profile Send private message
2dimm
n00b
n00b


Joined: 10 Jun 2005
Posts: 52
Location: Brussels, Belgium

PostPosted: Fri Mar 02, 2007 2:18 pm    Post subject: Reply with quote

In the hope that this may be of use...

This same problem had been annoying me for a while until just now i deleted all content of /etc/env.d/02locale in order to start from scratch. I did a quick env-update && source /etc/profile but still got all the old values when entering $ locale in the terminal so rebooted. At $ locale i now get all values as posix but i now have all deadkeys available. :)

Until such time as i find some other function dependant on locales is broken or someone explains what the correct/elegant solution is i shall leave it as it is! (actually thatś a lie - I shall probably play around with it until it breaks again!)

(I have an apple usb keyboard. Kcontrol shows 'setxkbmap -model evdev -layout us -variant intl'. Using xorg-x11-7.2 & KDE 3.5.6)
Back to top
View user's profile Send private message
janosh
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2004
Posts: 80
Location: Oslo, Norway

PostPosted: Sat Mar 17, 2007 9:54 pm    Post subject: Reply with quote

Well, I think I found a sollution.
My LC_ALL variable was set to nb_NO.utf8, but Xorg doesn't understand that value. I got a lot of "Qt: locale not supported by X server" in my xorg logs.

I found this page: http://l10n.kde.org/tools/kartouche/doc.php, and a bit down the page, there is som info about utf-8 and X servers.

They say that it's possible to add aliases to the X server, so X understands that nb_NO.utf8 is the same as nb_NO.UTF-8, but I could not make it work.
So in the end, i just changed my LC_ALL variable to nb_NO.UTF-8 and now my deadkeys just work :)

You should probably check that you have a matching entry for your LANG/LC_* variable in the /usr/share/X11/locale/locale.dir,
and if there are no matching entries, you should add them. (Thou I don't know how to do that)

--
Jonarne
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum