Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Couldn't start scim
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
dritan
Apprentice
Apprentice


Joined: 01 Feb 2006
Posts: 210
Location: New York

PostPosted: Wed Nov 28, 2007 8:47 pm    Post subject: Couldn't start scim Reply with quote

Hi all,
Sorry I'll have to write in English as scim doesn't work firefox right now, when I try to start it this is what I get:
Code:
# scim
Smart Common Input Method 1.4.5

Launching a SCIM process with x11...
Loading socket Config module ...
Creating backend ...
Loading x11 FrontEnd module ...
SCIM has exited abnormally.


The ./configure part of the emerge script says X11 Frontend is installed. I could run scim on a few applications such as gedit or pidgin, but not across the board (it used to be ok on my last laptop with similar hardware and setting a few months ago). My .xinitrc is like this:
Code:
 # cat .xinitrc
export LANG=en_US.UTF-8
export XMODIFIERS=@im=SCIM
export GTK_IM_MODULE="scim"
export QT_IM_MODULE="scim"
scim -d

exec gnome-session


Why could this be happening? any suggestions?
_________________
Regards,
Dritan

Please try to help answer the unanswered
Back to top
View user's profile Send private message
r0bertz
Developer
Developer


Joined: 13 Sep 2004
Posts: 257
Location: HKSAR,China

PostPosted: Sun Dec 02, 2007 3:15 pm    Post subject: Reply with quote

really no idea
haven't seen this before
maybe you can check scim's own website
_________________
Zhang Le, Robert
http://zhangle.is-a-geek.org
Back to top
View user's profile Send private message
akar
Moderator
Moderator


Joined: 03 Dec 2004
Posts: 348
Location: HKSAR,China

PostPosted: Mon Dec 03, 2007 5:56 am    Post subject: Reply with quote

或者試下在 模擬文字終端下用 中文區域locale 啟動 firefox 和 scim:

Code:

$ LANG=zh_CN.UTF-8 firefox
$ LANG=zh_CN.UTF-8 scim
Back to top
View user's profile Send private message
ajiaojr
n00b
n00b


Joined: 18 Dec 2004
Posts: 26
Location: London

PostPosted: Wed Dec 05, 2007 4:31 am    Post subject: Reply with quote

加上
LC_CTYPE=<your_language>

当然了<your_language>要被替换成真正的locale
_________________
Website security is like the female orgasm. Some claim its a myth, many try hard to make it happen but have no idea how, and most movies of it are fake.
Back to top
View user's profile Send private message
EricHsu
Moderator
Moderator


Joined: 03 May 2004
Posts: 591
Location: Aragon Consulting Group, Beijing, China

PostPosted: Sun Dec 09, 2007 12:11 pm    Post subject: Reply with quote

hey dritan,

I've been using fcitx, it works flawlessly across gtk/qt apps (I was having problem with scim). You could give it a try :)

1. emerge fcitx
2. edit /etc/env.d/99local add the following lines:
Code:

XMODIFIERS="@im=fcitx"
XIM=fcitx
XIM_PROGRAM=fcitx

3. add "fcitx &" to your DE session
4. logout and login again, ctrl + space to activate it

HTH :)
_________________
- http://nkbit.com
- http://twitter.com/xuyihua
Back to top
View user's profile Send private message
zhooded
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jun 2006
Posts: 79

PostPosted: Sat Feb 16, 2008 4:56 pm    Post subject: Reply with quote

I had the same problem (and I use SCIM), and this was the answer in my case: in you rc file for X (usually $HOME/.xinitrc) you should have these lines:
Code:
export ...
export XMODIFIER="@im=fcitx"
exec <...>
...

The problem is in variable XMODIFIER without S!
现在我可写中文!
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