a big trouble about gcin and scim - Linux

Table of Contents

※ 引述《MPDK (山豬MP)》之銘言:
: I'm not intent to use English. My English is poor.
: So, I have a trouble here. That is what I can't type chinese by gcin.
: But, unfortunately, I remove scim already.....
: What can I do.......
-----------------------------------------------------------------------

會發生這種情況,就我目前所知可能的原因有二個:

(一) 移除scim 並安裝 gcin 後 沒有重開機或重新啟動gcin

(二) 權限的問題

如果是屬於(一)的問題,請重新開機試看看

如果重開機後問題仍然無法解決。那就有可能權限的問題,解決方法可參考如下:

Step(1)
以 root 的身份 切換到 command line下

Step(2)
切換到:/usr/share/gcin/table 下
說明:這個table的目錄就是gcin 放 輸入法的地方

Step(3)
一 : 下:ls -al 命令

二 : 正常的情況下看到的每個檔案的權限要是這樣的:
-rw-r--r-- 1 root root

三: 若不是( 二 ) 的情況,而是出現 :-rw-r----- 1 root root

四: 請更改異常檔案的權限:
chmod o+r 異常檔案

五: 更改完畢之後請重新啟動gcin 或 重開機
-------------------------------------------------------------------
MPDK 兄反應在 firefo 下 無法使用 gcin 的中文輸入法
會發生這種原因主要是因為gcin輸入法的關系。
就小弟的經驗,有些電腦會這樣,但有些不會。
致少我的電腦就沒有這樣的情況。


小弟提供二種的解決方法:

(一) 請更新gcin 到 1.4的版本
(二) 寫一隻script 來解決

(一)
step(1)
http://sites.google.com/site/gcinunofficialdebs/gcin-unoffical-deb-packages/gcin-1-4-5
下載deb包

step(2)
安裝的套件如下:gcin_1.4.5~pre7-0~2+solomon_i386.deb
gcin-qt3-immodule_1.4.5~pre7-0~2+solomon_i386.deb
gcin-qt4-immodule_1.4.5~pre7-0~2+solomon_i386.deb

step(3)
1 在 command line下 切換到 root
2 dpkgi -i gcin_1.4.5~pre7-0~2+solomon_i386.deb \
gcin-qt3-immodule_1.4.5~pre7-0~2+solomon_i386.deb \
gcin-qt4-immodule_1.4.5~pre7-0~2+solomon_i386.deb
step(4)
1 im-switch -s gcin
2 重新開機(或登入)

說明:在安裝1.4.5的版本前建議先移除原來的gcin的版本

(二)
Step(1)
以root 的身份切換到 command line
  Step(2)
1 vi xx.sh
2 加入以下的內容

       #!/bin/bash
export GTK_IM_MODULE=xim
/usr/bin/firefox
Step(3)
chmod +x xx.sh

Step(4)
   執行 xx.sh
./xx.sh       

Step(5)
 此時,再試看看 firefox下是否能使用gcin
      若可以,則上述的命令就寫在 /etc/rc.local 這個檔裡
      開機的時候就會去自動執行。


                








































































--

All Comments

James avatarJames2009-07-26
Todd Johnson avatarTodd Johnson2009-07-31
sorry, It's still no work. I keep tring.