| View previous topic :: View next topic |
| Author |
Message |
dritan Apprentice


Joined: 01 Feb 2006 Posts: 210 Location: New York
|
Posted: Wed Nov 28, 2007 8:47 pm Post subject: Couldn't start scim |
|
|
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 |
|
 |
r0bertz Developer

Joined: 13 Sep 2004 Posts: 257 Location: HKSAR,China
|
Posted: Sun Dec 02, 2007 3:15 pm Post subject: |
|
|
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 |
|
 |
akar Moderator

Joined: 03 Dec 2004 Posts: 348 Location: HKSAR,China
|
Posted: Mon Dec 03, 2007 5:56 am Post subject: |
|
|
或者試下在 模擬文字終端下用 中文區域locale 啟動 firefox 和 scim:
| Code: |
$ LANG=zh_CN.UTF-8 firefox
$ LANG=zh_CN.UTF-8 scim
|
|
|
| Back to top |
|
 |
ajiaojr n00b


Joined: 18 Dec 2004 Posts: 26 Location: London
|
Posted: Wed Dec 05, 2007 4:31 am Post subject: |
|
|
加上
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 |
|
 |
EricHsu Moderator


Joined: 03 May 2004 Posts: 591 Location: Aragon Consulting Group, Beijing, China
|
Posted: Sun Dec 09, 2007 12:11 pm Post subject: |
|
|
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 |
|
 |
zhooded Tux's lil' helper

Joined: 25 Jun 2006 Posts: 79
|
Posted: Sat Feb 16, 2008 4:56 pm Post subject: |
|
|
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 |
|
 |
|