a big trouble about gcin and scim - Linux

Elvira avatar
By Elvira
at 2009-07-25T12:05

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 這個檔裡
      開機的時候就會去自動執行。


                








































































--
Tags: Linux

All Comments

James avatar
By James
at 2009-07-26T19:56
Todd Johnson avatar
By Todd Johnson
at 2009-07-31T09:23
sorry, It's still no work. I keep tring.

shell script 檔案移動

Elma avatar
By Elma
at 2009-07-25T07:23
各位好 請教一個檔案複製移動的問題 我有一個LIST 內容為我要移動檔案的名稱跟目錄名稱 如: abc001 DIR01 abc002 DIR01 . . . . def00 ...

a big trouble about gcin and scim

Ida avatar
By Ida
at 2009-07-25T01:38
Iand#39;m not intent to use English. My English is poor. So, I have a trouble here. That is what I canand#39;t type chinese by gcin. But, unfortunately, ...

ubuntu下聲音不見的問題

Olivia avatar
By Olivia
at 2009-07-25T01:21
各位板友大家好 小弟是linux的初學者(用不到一星期...應該算初學中的初學吧) 本來都聲音都沒問題的 今天讓我的電腦成休眠狀態後 要看youtube時usb外接的喇叭就沒聲音了 變成筆電內建的喇叭有聲音(之前沒有這問題) 然後我google了一下 看到有人用 sudo /sbin/alsa ...

proxy server partition切割

Connor avatar
By Connor
at 2009-07-25T00:51
※ 引述《nomoty (朋友??)》之銘言: : ※ 引述《celicx (酒喵書煙)》之銘言: : 安裝的機器是IBM Server,8G的RAM,目前partition切成 : 有幾個問題想問一下 : 1.不知道為什麼我裝fedora 11 partiti ...

請教bash script問題

Xanthe avatar
By Xanthe
at 2009-07-24T22:25
※ 引述《prolog (波卡)》之銘言: : 假設我有一個list 其內容為: : a1 a2 a3 : b1 b2 b3 : c1 c2 c3 : 我希望用cat list 將內容存成變數 : 希望${file ...