Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] scim usage under KDE environment
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese)
View previous topic :: View next topic  
Author Message
boblu
n00b
n00b


Joined: 12 Oct 2006
Posts: 40

PostPosted: Sat Apr 05, 2008 5:21 am    Post subject: [solved] scim usage under KDE environment Reply with quote

Basically, I have two questions to ask.
After install KDE3.5, I installed scim input method like this
Code:
emerge scim skim scim-anthy scim-pinyin scim-qtimm scim tables scim-tomoe skim-scim-anthy


After installation, as most instructions said, I put the following into file ~/.xinitrc
Code:
LANG='en_US.UTF-8' scim -d
export XMODIFIERS=@im=SCIM
export XMODIFIER=@im=SCIM
export GTK_IM_MODULE=scim
export QT_IM_MODULE=scim


But, after reboot, I had no input method appears despite how many times I press ctrl+space
However, if I put the same lines into file ~/.xprofile, I get the input method working correctly with KDE applications.
So, my first question is why I can not call the input method when I put those code in ~/.xinitrc instead of ~/.xprofile



And my second question is
though everything is ok when using scim(skim) on KDE applications, however, I cannot use the input method in my firefox browser. Why?
I am using the firefox-bin package, and I cannot call out the input method in firefox by pressing ctrl+space
_________________
I like my G!


Last edited by boblu on Sun Apr 06, 2008 10:04 am; edited 1 time in total
Back to top
View user's profile Send private message
SeaTiger
l33t
l33t


Joined: 22 Nov 2007
Posts: 603
Location: Toronto, Ontario, Canada

PostPosted: Sun Apr 06, 2008 9:24 am    Post subject: Reply with quote

If I am correct, .xinitrc is used if you use startx, .xprofile is used by kde/gnome(kdm/gdm??), I think ... I maybe jumping a few steps.

Regarding firefox, I emerge the normal ebuild, so it is compile locally on my machine. Maybe you can try that too, remember to turn on USE flag for kde/gnome, scim(maybe this is the problem).
Back to top
View user's profile Send private message
boblu
n00b
n00b


Joined: 12 Oct 2006
Posts: 40

PostPosted: Sun Apr 06, 2008 10:04 am    Post subject: Reply with quote

Thank you very much for your reply.
_________________
I like my G!
Back to top
View user's profile Send private message
Hellstorm
n00b
n00b


Joined: 31 Aug 2007
Posts: 46
Location: Germany

PostPosted: Fri Apr 11, 2008 5:26 pm    Post subject: Reply with quote

I just have a /etc/env.d/99scim with this content:

Code:

XMODIFIER="@im=SCIM"
QT_IM_MODULE="scim"
GTK_IM_MODULE="scim"
XIM=SCIM
XIM_PROGRAM=SCIM
xinput=scim

And it works fine (apart from Openoffice and so).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum