GoldBuggie
September 27th, 2005, 04:52 PM
I am writing this because I want to share the result I got after fiddeling for many days. Skim finally completly work on my system now. All KDE apps and firefox/OpenOffice(and others) works with the japanese input system.
For you that don't know: Skim/Scim is an input system for other languages like japanese or chinese. This little helper is for japanese, but easy to change into any other system.
First install sudo apt-get install scim scim-gtk2-immodule scim-uim scim-tables-ja. This will be the input system that with some easy tweaking will work for firefox.
Secondly we need to download and compile "Skim". The latest version of skim doesn't work with the version of scim that ubuntu provides so I downloaded "skim-1.0.2.tar.bz2". If you want later version you will have to dl and compile them yourself.
Untar the file and in the untar:d directory do a:
./configure --prefix="/usr"
make
sudo make install
(Note: i use the prefix since otherwise it will install into /usr/local but ubuntu uses /usr as its apps directory)
Now you should have everything that is needed to get it to work. You just need to set some enviorment variables.
Before we set them I would test if it all works. Start scim-panel-kde -d -f Do some configuring and then restart KDE.
Now in the konsole do a scim -d then afterwards a LC_CTYPE=ja_JP.UTF-8 XMODIFIERS="@im=SCIM" kate This should startup kate and you should have japanese input(after a ctrl-space press that is).
Now to make skim/scim work always.
In ~/.bashrc enter these lines
LC_CTYPE=ja_JP.UTF-8
export LC_CTYPE
XMODIFIERS="@im=SCIM"
GTK_IM_MODULE="scim"
XIM_PROGRAM="scim -d"
QT_IM_MODULE="scim"
export XMODIFIERS GTK_IM_MODULE XIM_PROGRAM QT_IM_MODULE
After this you should have a nice Skim&Scim working enviorment. Hope this helps.
(I did install the anthy module that came from scim-im.org but I do not think this will effect the installation in any way so i left that part out. This howto may need some cleaning up. But I'll leave that for later. I'm going to Japan in 3 days.)
For you that don't know: Skim/Scim is an input system for other languages like japanese or chinese. This little helper is for japanese, but easy to change into any other system.
First install sudo apt-get install scim scim-gtk2-immodule scim-uim scim-tables-ja. This will be the input system that with some easy tweaking will work for firefox.
Secondly we need to download and compile "Skim". The latest version of skim doesn't work with the version of scim that ubuntu provides so I downloaded "skim-1.0.2.tar.bz2". If you want later version you will have to dl and compile them yourself.
Untar the file and in the untar:d directory do a:
./configure --prefix="/usr"
make
sudo make install
(Note: i use the prefix since otherwise it will install into /usr/local but ubuntu uses /usr as its apps directory)
Now you should have everything that is needed to get it to work. You just need to set some enviorment variables.
Before we set them I would test if it all works. Start scim-panel-kde -d -f Do some configuring and then restart KDE.
Now in the konsole do a scim -d then afterwards a LC_CTYPE=ja_JP.UTF-8 XMODIFIERS="@im=SCIM" kate This should startup kate and you should have japanese input(after a ctrl-space press that is).
Now to make skim/scim work always.
In ~/.bashrc enter these lines
LC_CTYPE=ja_JP.UTF-8
export LC_CTYPE
XMODIFIERS="@im=SCIM"
GTK_IM_MODULE="scim"
XIM_PROGRAM="scim -d"
QT_IM_MODULE="scim"
export XMODIFIERS GTK_IM_MODULE XIM_PROGRAM QT_IM_MODULE
After this you should have a nice Skim&Scim working enviorment. Hope this helps.
(I did install the anthy module that came from scim-im.org but I do not think this will effect the installation in any way so i left that part out. This howto may need some cleaning up. But I'll leave that for later. I'm going to Japan in 3 days.)