[Fedora-i18n-list] Not Working in KDE Apps
morpheus
morpheus at post.harvard.edu
Fri Nov 26 23:09:48 UTC 2004
Okay, scratch my last message, after rebooting it's not working anymore.
I compiled the code that Akira gave me, and installed it
as /usr/bin/iiim-locale, and did chmod a+x.
When I first boot up, neither user1 nor root have Japanese input
capability, though httx and htt_xbe are both running.
So, I try this:
user1$ kill (httx and htt_xbe PIDs)
user1$ LANG=ja_JP iiim-locale
UTF-8
user1$ LANG=ja_JP.UTF8 iiim-locale
UTF-8
user1$ LANG=ja_JP.UTF8 httx &
user1$ ps aux | grep htt
htt 2957 0.0 0.0 3188 332 ? Ss 16:26 0:00 /usr/sbin/htt -
retryonerror 0
htt 2958 0.0 0.3 39624 3492 ? S 16:26 0:00 htt_server -nodaemon
500 5202 0.0 0.1 5748 1336 pts/3 S 16:51 0:00 httx
500 5203 0.0 0.2 20428 2556 pts/3 Sl 16:51 0:00 htt_xbe
500 5212 0.0 0.0 4548 696 pts/3 R+ 16:53 0:00 grep htt
user1$ kedit
Qt: Locales not supported on X server
QInputContext: no input method context available
NO JAPANESE INPUT is available.
user1$ LANG=ja_JP.UTF8 kedit
Still no Japanese. However, if I become root:
user1$ su -
Password:
root$ kill 5202
root$ ps aux | grep htt
htt 2957 0.0 0.0 3188 332 ? Ss 16:26 0:00 /usr/sbin/htt -
retryonerror 0
htt 2958 0.0 0.3 39624 3492 ? S 16:26 0:00 htt_server -nodaemon
500 5306 0.0 0.0 4548 696 pts/3 R+ 16:53 0:00 grep htt
root$ LANG=ja_JP iiim-locale
UTF-8
root$ LANG=ja_JP.UTF8 iiim-locale
UTF-8
root$ LANG=ja_JP.UTF8 httx &
root$ ps aux | grep htt
htt 2957 0.0 0.0 3188 332 ? Ss 16:26 0:00 /usr/sbin/htt -
retryonerror 0
htt 2958 0.0 0.3 39624 3492 ? S 16:26 0:00 htt_server -nodaemon
root 5308 0.0 0.1 5748 1336 pts/3 S 16:51 0:00 httx
root 5309 0.0 0.2 20428 2556 pts/3 Sl 16:51 0:00 htt_xbe
root 5312 0.0 0.0 4548 696 pts/3 R+ 16:53 0:00 grep htt
root$ kedit
Japanese input works fine in K apps, not in konsole, but ONLY FOR root.
So far (except for once after first running Akira's code) I have not
been able to get Japanese for K apps for user1.
Why is it working for root but not for user1? I have compared their
~/.bashrc and ~/.i18n and both are the same. Is there a permissions
issue somewhere? Why is it not working in konsole?
-m
>
> When I run:
> user1$ LANG=ja_JP.UTF8 httx &
> User1 now has Japanese language in any K app. However, root does not
> have Japanese language support. Also, the shell itself (konsole) has no
> Japanese support. I'm gonna try putting the command in ~/.bashrc and
> reboot to see if gives me support in konsole.
>
> I've done a bit of experimenting and found the following:
>
> Only one instance of httx and htt_xbe can be running at a time.
> Example:
> user1$ LANG=ja_JP.UTF8 httx &
>
> user1 will have Japanese support in K apps. However, if root runs httx:
>
> user1$ su -
> Password:
> root$ LANG=ja_JP.UTF8 httx &
>
> Now NEITHER user1 nor root will have Japanese support in K apps. If a
> second user runs httx after another user has already run it, it will
> break input method editing for ALL users. You must kill all httx and
> httx_xbe then re-start but for ONLY ONE USER.
>
> Is this by design, a known bug or am I still doing something wrong?
>
> -James
--
More information about the Fedora-i18n-list
mailing list