OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: cs_jacky on February 09, 2005, 08:33:41 pm
-
Hi,
A gift for Chinese... This is a gtk im module for Chinese input method. This module allows Chinese input in GTK programs (such as gaim) only. It is better than none, right?
After installed the ipk (attached), run tim-config to setup you the environment. It will create ~/.wenju, ~/.gtk-2.0, and ~/.gtk-2.0/gtk-immodules. You should be able to select the input mehtod in text input fields with right click -> Input Method.
For some reason, the input method menu was taken out in Mozilla, firefox, and thunderbird. To preload your input method, set the environment variable "GTK_IM_MODULE" to your input method. For example, preload ChangJi input method in firefox, you can run it with
GTK_IM_MODULE=cj.tim firefox
By default, firefox will switch to ChangJi and you can use CTRL-Space to switch between your input method and English.
Of cause, you can set the variable in /etc/profile or even change the firefox shell in /usr/bin.
Enjoy... Happy Chinese New Year
EDIT: The IPK was uploaded to unstable feed.
-
太good
!!
only CJ,no PY?
-
tim-config is not work goodly. it display : cannot load ..../im-ja.os:libgconf-2.so canot open shared object file:no such file or dir...
cd /usr/lib/.../
there is not libgconf-2.so!
-
tim-config is not work goodly. it display : cannot load ..../im-ja.os:libgconf-2.so canot open shared object file:no such file or dir...
cd /usr/lib/.../
there is not libgconf-2.so!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=66441\"][{POST_SNAPBACK}][/a][/div]
What is the output of the command "gtk-query-immodules-2.0"?
Yes, there is a PinYin input method. Set GTK_IM_MODULE to "pinyin". There are some more. Check their names in /usr/share/wenju
-
i am sorry ,all. i have to type message in chinese for cs_jacky.
你好。杰克先生:
十分感谢你的对华人的贡献。
然后,我不知道如何使用你的输入法。
我能够很好的运行gtk-query-immodules-2.0.它出现一大堆的信息,但没有报错的信息。
但运行tim-config就出现缺少libgconf.so的错误。事实上,我们的机器中也没有这样的库文件。
另外我运行过:GTK_IM_MODULE=cj/pinyin/wubi...firefox/abiword.指定的应用程序会出现,但是没有出现输入法选项。右点击也不知道点击哪里。请不吝指教。
我哪里出错了呢?
-
i am sorry ,all. i have to type message in chinese for cs_jacky.
你好。杰克先生:
十分感谢你的对华人的贡献。
然后,我不知道如何使用你的输入法。
我能够很好的运行gtk-query-immodules-2.0.它出现一大堆的信息,但没有报错的信息。
但运行tim-config就出现缺少libgconf.so的错误。事实上,我们的机器中也没有这样的库文件。
另外我运行过:GTK_IM_MODULE=cj/pinyin/wubi...firefox/abiword.指定的应用程序会出现,但是没有出现输入法选项。右点击也不知道点击哪里。请不吝指教。
我哪里出错了呢?
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=66545\")
tim-config is just a shell script (under /usr/bin). You can see what it does if you know shell programming. Actually, it created 2 directories and 1 file under your home directory.
I don't see any possible cause of giving error message you mentioned if you can run gtk-query-immodules-2.0. If tim-config cannot run, try do it manually.
cd
mkdir .wenju
mkdir .gtk-2.0
gtk-query-immodules-2.0 > .gtk-2.0/gtk.immodules
For the problem found in Abiword, it is a well know problem. Preedit is not shown and the words you typed will appear only after you press enter key.
I found that im-ja (a Japanese GTK im module) reported the same problem. [a href=\"http://im-ja.sourceforge.net/im-ja-doc.html]http://im-ja.sourceforge.net/im-ja-doc.html[/url]
Finally, I would like to clarify that wenju is not written by me. I just compile it and put it in Zaurus user group. The glory should go to the authors and thanks for their contributions.
-
i can not call input method~~
where is input method in abiword or firefox?
-
i can not call input method~~
where is input method in abiword or firefox?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=66597\"][{POST_SNAPBACK}][/a][/div]
To run firefox, try this command
GTK_IM_MODULE=cj.tim firefox
The default input method should be cj. Shift-space to switch between Chinese and English input.
To use input method in abiword, try right click->Input Methods-><your input method>.
BTW, you can try to use it in gaim first to confirm it was installed properly.
-
i don't find "input methods" in apps
run tim-config
cannot load module /usr/lib/gtk-2.0/2.4.0/immodules/im-ja.so: libanthydic.so.0:
cannot open shared object file: no such file or directory
/usr/lib/gtk-2.0/2.4.0/immodules/im-ja.so does not export GTK+IM module API: libanthydic.so.0: cannot open shared object file: no such file or directory
"not export GTK+IM module API"?!
i run rc9.
i install it / or /mnt/card~~
-
i don't find "input methods" in apps
[div align=\"right\"][a href=\"index.php?act=findpost&pid=66609\"][{POST_SNAPBACK}][/a][/div]
Right click on the text input field and you will find it. Check it carefully. There is no "input method" menu in firefox and that is why you need to run firefox in the way I told you. That is all that I can help.
-
in fact :
A
i can find the menu include "input methods" at abiword. but have:
default
Amharic(EZ+)
...
thai
...
X input method
i select one method of all,it can't input chinese(press enter)
B
i run firefox as your told. i right click text input field ,display:
undo
cut
copy
paste
delete
select all
clear search history
no input method~~
-
in fact :
A
i can find the menu include "input methods" at abiword. but have:
default
Amharic(EZ+)
...
thai
...
X input method
i select one method of all,it can't input chinese(press enter)
B
i run firefox as your told. i right click text input field ,display:
undo
cut
copy
paste
delete
select all
clear search history
no input method~~
[div align=\"right\"][a href=\"index.php?act=findpost&pid=66639\"][{POST_SNAPBACK}][/a][/div]
ok, the gtk im module not installed properly. Run the following command and it should work
gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
-
thank you.
i reinstalled pdaxrom/rc9.1,and re-format sd.reinstalled im.
the im work~~.
thank you,again
-
finally
well done
-
Hi guys.
I'm a korean who want to know i18n capability in pdaxrom.
Is xterm display chinese characters correctly?
Do you guys use another xterm-compliants to see chinses characters?
Or xterm with some parameter or hack?
Cheers.
-
I think xterm can't display Chinese or Korean characters.
-
i can't input chinese at qbedic. chinese->english
-
i can't input chinese at qbedic. chinese->english
[div align=\"right\"][a href=\"index.php?act=findpost&pid=66842\"][{POST_SNAPBACK}][/a][/div]
qbedic is a qt program. The input method supports gtk only.
-
I think xterm can't display Chinese or Korean characters.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=66840\"][{POST_SNAPBACK}][/a][/div]
Try this ipk and tell me if xterm can display chinese correctly
new xterm will be installed at /usr/local/bin,
so, try
/usr/local/bin/xterm -fn <english-iso10646-1-font> -fw <chinese-iso10646-1-font>
Cheers.
-
error:
xterm unable to open font "-misc-fixed-medium-r-semicondensed-13-120-75-75-c-60-iso10646-1",trying "fixed"...
-
error:
xterm unable to open font "-misc-fixed-medium-r-semicondensed-13-120-75-75-c-60-iso10646-1",trying "fixed"...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=67063\"][{POST_SNAPBACK}][/a][/div]
sorry for inconvenience.
I forgot that Z had no english-iso10646-1-fonts in default.
here's needed font.
put it to /usr/X11R6/lib/X11/fonts/misc
and
cd /usr/X11R6/lib/X11/fonts/misc
edit font.dir
add 1 to the first line's number
and add a next line into the last line.
6x13.pcf.gz -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1
xset fp rehash
now try
/usr/local/bin/xterm
again.
thanks for help with experiment.
-
i have n't found any 10646-chineses-font .
-
i have n't found any 10646-chineses-font .
[div align=\"right\"][a href=\"index.php?act=findpost&pid=67242\"][{POST_SNAPBACK}][/a][/div]
Uh-oh.
I know nothing about chinese font and anyone can help me?
Cheers,
-
When I said that I was going to help people wanting chinese I found several links about chinese fonts:
http://seba.studentenweb.org/thesis/howto-fonts.php (http://seba.studentenweb.org/thesis/howto-fonts.php)
http://tavi.debian.org.tw/index.php?page=Unifonts (http://tavi.debian.org.tw/index.php?page=Unifonts)
http://jeff.cs.mcgill.ca/~luc/china.html (http://jeff.cs.mcgill.ca/~luc/china.html)
http://www.cl.cam.ac.uk/~mgk25/unicode.html#getxterm (http://www.cl.cam.ac.uk/~mgk25/unicode.html#getxterm)
http://www.cl.cam.ac.uk/~mgk25/ucs-fonts.html (http://www.cl.cam.ac.uk/~mgk25/ucs-fonts.html)
http://directory.fsf.org/localization/intlfonts.html (http://directory.fsf.org/localization/intlfonts.html)
Note also that you should be able to use ttf font using:
xterm -fa xxx
if you have xterm with freetype support and a xxx.ttf font.
Also in this japanese related feed (http://pdaxrom.sourceforge.jp/feed/) there is mrxvt (http://materm.sourceforge.net/) that has freetype support and might be usefull
Hope this helps.