You are not logged in.

#1 2008-11-04 13:13:40

ilcontegis
Member
Registered: 2008-11-04
Posts: 15

Write in Japanese with UIM (doesn't work!)

Hi guys, i am having quite a lot of problems since i switched to archlinux from ubuntu. Now I understood how ubuntu was easy (especially becouse everything was done automatically).
Now here I am, happy to be an ArchLinux user! I solved almost all my problems, the sistem is stable. There is one thing that I need: to write in Japanese.
I followed the guide on the offical UIM web site, I checked the previous discussions on this forum, but still I cannot write.
I installed all package required:

SCIM,  SCIM-anthy,  Anthy, UIM

As I did not have .xinitrc i created one and i putted inside everything as the UIM website said.

exec gnome-session
GTK_IM_MODULE=uim ; export GTK_IM_MODULE
QT_IM_MODULE=uim ; export QT_IM_MODULE
uim-xim &
XMODIFIERS=@im=uim ; export XMODIFIERS
GTK_IM_MODULE_FILE=~/.immodules
export GTK_IM_MODULE_FILE
export XMODIFIERS=@im=uim
export UIM_CANDWIN_PROG=uim-candwin-gtk
export UIM_CANDWIN_PROG=uim-candwin-qt

I went on the properties file with

$ uim-pref-gtk

And I choose Anthy as Imput exaclty as they said.

Nothing works. I have on the bar the UIM icon but when i click nothing comes out (only a 1px black squared). Why?
I would really appreciate if you can solve this problem becouse I need to write Japanese to work. So no japanese = no archlinux. I would like to try this interesting distribution a bit more as it seems very fast and easy to configure!
Thank you very much
Teo

Offline

#2 2008-11-04 17:14:56

ak-89
Member
From: Finland
Registered: 2008-08-26
Posts: 86
Website

Re: Write in Japanese with UIM (doesn't work!)

Try using scim.
http://wiki.archlinux.org/index.php/Scim

Put

export XMODIFIERS=@im=SCIM
export GTK_IM_MODULE="scim"
export QT_IM_MODULE="scim"
scim -d

into your ~/.xinitrc or into /etc/profile.
Then it should work.

Offline

#3 2008-11-04 17:16:58

ak-89
Member
From: Finland
Registered: 2008-08-26
Posts: 86
Website

Re: Write in Japanese with UIM (doesn't work!)

ilcontegis wrote:
exec gnome-session
GTK_IM_MODULE=uim ; export GTK_IM_MODULE
QT_IM_MODULE=uim ; export QT_IM_MODULE
uim-xim &
XMODIFIERS=@im=uim ; export XMODIFIERS
GTK_IM_MODULE_FILE=~/.immodules
export GTK_IM_MODULE_FILE
export XMODIFIERS=@im=uim
export UIM_CANDWIN_PROG=uim-candwin-gtk
export UIM_CANDWIN_PROG=uim-candwin-qt
exec gnome-session

This should be at the end of .xinitrc.

Offline

#4 2008-11-05 06:54:28

ilcontegis
Member
Registered: 2008-11-04
Posts: 15

Re: Write in Japanese with UIM (doesn't work!)

I did what you suggested but nothing change. Same results with scim and uim.
The applet start, but when i click to change the languages nothing happens, and if i go to check to change language manually (one click on the icon) usually a droplist with the language choices appears but here nothing happens.
Maybe I need to install some language package? (in ubuntu is sufficent to install the language package + complex caracter support maybe here is to do something similar)
I really need to solve this problem, if you know something please tell me big_smile thank you!
See ya...
Teo

Offline

#5 2008-11-05 07:27:42

ilcontegis
Member
Registered: 2008-11-04
Posts: 15

Re: Write in Japanese with UIM (doesn't work!)

UPDATE

やった!

I erased everything and I reintalled only scim following the guide you proposed me. Now it works, unfortunately I cannot type in japanese in Skype. This is the reason why i wanted to install UIM. But is better than nothing! at least now i can write!
If somebody knows how to write in japanese using scim would be amazing....

Thank you very much for your help!

Offline

#6 2008-11-05 15:40:39

allbluedream
Member
Registered: 2008-04-06
Posts: 155

Re: Write in Japanese with UIM (doesn't work!)

I do not use scim now, so I'm not sure if this helps: put the variables in /etc/profile rather than ~/.xinitrc. I don't know why but settings in the home folder doesn't seem to be picked up by QT apps. I use "ibus" for Chinese and Japanese, and I have to use QT_IM_MODULE=ibus as a prefix to get ibus to work with Opera. So maybe it's the same case with skype?

Offline

Board footer

Powered by FluxBB