You are not logged in.
Hi, I have used Arch linux once last year... then went back to Slackware for a while... now again I came back to Arch and found a lot of surprises during the setting-up of the system. Good Job!
I am using KDE 3.5.1 and I would like to use Skim for Japanese/Chinese input. In other distros(Ubuntu, OpenSuSE) that I have tried, I don't really have to do anything and Skim appears in the system tray automatically. But this is not the case in Arch. It doesn't show up even if I start it manually from the console...
These are the packages that I have installed:
scim 1.4.4-2
scim-anthy 0.9.0-1
scim-pinyin 0.5.91-3
skim 1.4.4-1
And I have set the LOCALE to ja_JP.UTF-8.
Have I missed something here?
Offline
I kind of found a solution... not a perfect one, though... but usable...
Firstly, I quit on using Skim and turned to Scim instead...
Following the instructions on the following URL made me realise that Scim works perfectly if I use startx/xdm instead of KDM to login.
http://home.nyc.rr.com/computertaijutsu/jpninpt.html
This is my .xinitrc:
export XMODIFIERS="@im=SCIM"
export GTK_IM_MODULE="scim"
export QT_IM_MODULE="scim"
export LC_CTYPE=ja_JP.utf8
scim -d
exec startkde
So, I tried to look for the config file for KDM which seems to be this one:
/opt/kde/share/config/kdm/Xsession
Below I list the part of the file which seems related to the topic.
case $SHELL in
*/bash)
[ -z "$BASH" ] && exec $SHELL $0 "$@"
set +o posix
[ -f /etc/profile ] && . /etc/profile
if [ -f $HOME/.bash_profile ]; then
. $HOME/.bash_profile
elif [ -f $HOME/.bash_login ]; then
. $HOME/.bash_login
elif [ -f $HOME/.profile ]; then
. $HOME/.profile
fi
;;
case $session in
"")
exec xmessage -center -buttons OK:0 -default OK "Sorry, $DESKTOP_SESSION is no valid session."
;;
failsafe)
exec xterm -geometry 80x24-0-0
;;
custom)
exec $HOME/.xsession
;;
default)
exec $HOME/.xsession
#exec /opt/kde/bin/startkde
;;
*)
eval exec "$session"
;;
esac
Since it seems to source ~/.bashrc(which is sourced by ~/bash_profile), I put the environment variables into ~/.bashrc. This failed so I guess that the effect is rather different from running straight from startx/xdm... So, I edited the file to run .xsession directly instead of running /opt/kde/bin/startkde.
*p/s You have to choose "Custom" or "Default" in KDM for this to work.
And SCIM works for me now.
Kind of strange to me... Will be glad if someone knows what happens here...
Thanks.
Offline
I can use Japanese input for Koffice installing uim, without skim.
I found this is very good. Try read my post "UIM & Japanese input".
I like it.
Offline
It seems that the skim in repo is broken.
I faced the same problem and I compiled the skim package by myself and it works just fine for me.
The prefix should be /opt/kde but that in the official PKGBUILD is /usr.So I think you can try changing this point.
Offline