cht電腦資訊gcin
adm Find login register

對Ubuntu 12.04 的支援

swwei
joined: 2009-11-25
posted: 51
promoted:
bookmarked:
1subject: 對Ubuntu 12.04 的支援Promote 0 Bookmark 02012-04-18quote  

最近在空閒的HP mini1000 上面試裝了 ubuntu 12.04beta2,加上12.04 的GCIN 2.7.3。結果還是發生我所擔心的現象,不是每一個程式都能順利使用gcin輸入。最明顯的gedit 就不能用 gcin。目前我主要用10.04版+ gcin 2.7.5,一切好得很。

要我升級到12.04,實在是怕怕

就如eliu大說的:要gcin配合不斷改變的Linux版本,實在很累!

eliu

joined: 2007-08-09
posted: 11478
promoted: 617
bookmarked: 187
新竹, 台灣
2subject: Promote 0 Bookmark 02012-04-18quote  

可能是 gcin.deb 有關 gtk3 im module 有問題,改用底下的

Ubuntu 11.10

edited: 1
swwei
joined: 2009-11-25
posted: 51
promoted:
bookmarked:
3subject: Promote 0 Bookmark 02012-04-18quote  

已經將2.7.3 removed 改裝成 2.7.6.2 ,不過情形依然。gnome terminal 與 gedit 就是對 gcin 相應不理。

會不會不是gcin的問題?

目前firefox 及 LibreOffice 接受 gcin輸入

eliu

joined: 2007-08-09
posted: 11478
promoted: 617
bookmarked: 187
新竹, 台灣
4subject: Promote 0 Bookmark 02012-04-18quote  

執行 gtk-query-immodules-3.0 有沒有

"/usr/lib/gtk-3.0/3.0.0/immodules/im-gcin.so"
"gcin" "gcin Input Method" "gcin" "/usr/share/locale" "zh:ja"

 

用手動執行

gtk-query-immodules-3.0 --update-cache

有沒有 error message ?

swwei
joined: 2009-11-25
posted: 51
promoted:
bookmarked:
5subject: Promote 0 Bookmark 02012-04-18quote  

eliu

執行 gtk-query-immodules-3.0 有沒有

"/usr/lib/gtk-3.0/3.0.0/immodules/im-gcin.so"

"gcin" "gcin Input Method" "gcin" "/usr/share/locale" "zh:ja"

執行後得到下列:

(顯然GCIN不在其中)

# GTK+ Input Method Modules file
# Automatically generated file, do not edit
# Created by gtk-query-immodules-3.0 from gtk+-3.4.0
#
# ModulesPath = /home/steve/.gtk-3.0/3.0.0/i686-pc-linux-gnu/immodules:/home/steve/.gtk-3.0/3.0.0/immodules:/home/steve/.gtk-3.0/i686-pc-linux-gnu/immodules:/home/steve/.gtk-3.0/immodules:/usr/lib/i386-linux-gnu/gtk-3.0/3.0.0/i686-pc-linux-gnu/immodules:/usr/lib/i386-linux-gnu/gtk-3.0/3.0.0/immodules:/usr/lib/i386-linux-gnu/gtk-3.0/i686-pc-linux-gnu/immodules:/usr/lib/i386-linux-gnu/gtk-3.0/immodules:/usr/lib/gtk-3.0/3.0.0/i686-pc-linux-gnu/immodules:/usr/lib/gtk-3.0/3.0.0/immodules:/usr/lib/gtk-3.0/i686-pc-linux-gnu/immodules:/usr/lib/gtk-3.0/immodules
#
"/usr/lib/i386-linux-gnu/gtk-3.0/3.0.0/immodules/im-am-et.so"
"am_et" "Amharic (EZ+)" "gtk30" "/usr/share/locale" "am"

"/usr/lib/i386-linux-gnu/gtk-3.0/3.0.0/immodules/im-viqr.so"
"viqr" "Vietnamese (VIQR)" "gtk30" "/usr/share/locale" ""

"/usr/lib/i386-linux-gnu/gtk-3.0/3.0.0/immodules/im-ti-et.so"
"ti_et" "Tigrigna-Ethiopian (EZ+)" "gtk30" "/usr/share/locale" "ti"

"/usr/lib/i386-linux-gnu/gtk-3.0/3.0.0/immodules/im-cedilla.so"
"cedilla" "Cedilla" "gtk30" "/usr/share/locale" "az:ca:co:fr:gv:oc:pt:sq:tr:wa"

"/usr/lib/i386-linux-gnu/gtk-3.0/3.0.0/immodules/im-ibus.so"
"ibus" "IBus (Intelligent Input Bus)" "ibus" "" "ja:ko:zh:*"

"/usr/lib/i386-linux-gnu/gtk-3.0/3.0.0/immodules/im-multipress.so"
"multipress" "Multipress" "gtk30" "" ""

"/usr/lib/i386-linux-gnu/gtk-3.0/3.0.0/immodules/im-ti-er.so"
"ti_er" "Tigrigna-Eritrean (EZ+)" "gtk30" "/usr/share/locale" "ti"

"/usr/lib/i386-linux-gnu/gtk-3.0/3.0.0/immodules/im-ipa.so"
"ipa" "IPA" "gtk30" "/usr/share/locale" ""

"/usr/lib/i386-linux-gnu/gtk-3.0/3.0.0/immodules/im-xim.so"
"xim" "X Input Method" "gtk30" "/usr/share/locale" "ko:ja:th:zh"

"/usr/lib/i386-linux-gnu/gtk-3.0/3.0.0/immodules/im-cyrillic-translit.so"
"cyrillic_translit" "Cyrillic (Transliterated)" "gtk30" "/usr/share/locale" ""

"/usr/lib/i386-linux-gnu/gtk-3.0/3.0.0/immodules/im-thai.so"
"thai" "Thai-Lao" "gtk30" "/usr/share/locale" "lo:th"

"/usr/lib/i386-linux-gnu/gtk-3.0/3.0.0/immodules/im-inuktitut.so"
"inuktitut" "Inuktitut (Transliterated)" "gtk30" "/usr/share/locale" "iu"

 

eliu

用手動執行

gtk-query-immodules-3.0 --update-cache

有沒有 error message ?

沒有

swwei
joined: 2009-11-25
posted: 51
promoted:
bookmarked:
6subject: Promote 0 Bookmark 02012-04-18quote  

把在 /usr/lib/gtk-3.0/3.0.0/immodules 的im-gcin.so

copy 到 /usr/lib/i386-linux-gnu/gtk-3.0/3.0.0/immodules

似乎就解決問題了

 

eliu

joined: 2007-08-09
posted: 11478
promoted: 617
bookmarked: 187
新竹, 台灣
7subject: Promote 0 Bookmark 02012-04-18quote  

感謝當白老鼠。Laughing

為了兼顧 11.10 & 12.04 gtk3 的相容性,我新 build 的 gcin gtk3 .deb im-gcin.so 是新舊的 path 都放,反正才 14k 而已。可以 download 來試試看。 

swwei
joined: 2009-11-25
posted: 51
promoted:
bookmarked:
8subject: Promote 0 Bookmark 02012-04-18quote  

多謝!辛苦了!

swwei
joined: 2009-11-25
posted: 51
promoted:
bookmarked:
9subject: Promote 0 Bookmark 02012-04-19quote  

不好意思,這裡還有個小困擾。

12.04下,對任何一個剛啟用的程式,ctrl-space 無法從【En】切到【詞】

必須先用滑鼠點到在Tray上的Icon點選之後,ctrl-space的功能才會啟動。

 

10.04沒有這問題,會不會是GTK3 與GTK2 的不同設計所導致?

之前看到一位先進網友貼文指出,GTK3的開發者根本無視於原本GTK2的防錯設計,

造成原本可傳遞的訊息(message),在GTK3環境被打斷。

eliu

joined: 2007-08-09
posted: 11478
promoted: 617
bookmarked: 187
新竹, 台灣
10subject: Promote 0 Bookmark 02012-04-26quote  

今天 install ubuntu 12.04,gcin 沒你說的問題。可是那個空白 gcin window 的問題怎麼又跑出來了。Yell

空白window 發生在第一次顯示 text 時,按 escape 關閉 window,之後就好了。

edited: 1
eliu

joined: 2007-08-09
posted: 11478
promoted: 617
bookmarked: 187
新竹, 台灣
11subject: Promote 0 Bookmark 02012-04-27quote  

那個空白 window 的問題好像只發生在 system load 很高的時候,不知道是 gtk3 改了什麼東西。

swwei
joined: 2009-11-25
posted: 51
promoted:
bookmarked:
12subject: Promote 0 Bookmark 02012-04-28quote  

Index of /~cp76/gcin/download/debian/i386

 

原諒我的無知,請問Packages.gz要如何用?還是它只是說明文件而已?

eliu

joined: 2007-08-09
posted: 11478
promoted: 617
bookmarked: 187
新竹, 台灣
13subject: Promote 0 Bookmark 02012-04-28quote  

我沒有實際在 ubuntu add repository 的經驗。

edited: 1
guest
14subject: Promote 0 Bookmark 02012-07-31quote  

小弟有遇到同樣的問題,感謝前輩的文章,不過有一些不一樣的地方,跟大家分享一下:
小弟的電腦環境如下:
01.Ubuntu 12.04
02.用Ubuntu Software Centor 安裝gcin。版本是gcin 2.7.3+dfsg-1,此外還裝了gcin-gtk3-immodule,gcin-anthy,gcin-chewing,gcin-qt4-immodule,都是在Ubuntu Software Centor上gcin的頁面選的
03.電腦有移除ibus,選擇輸入法是用im-switch而不是im-config
但小弟的電腦上沒有"/usr/lib/i386-linux-gnu/gtk-3.0/3.0.0/immodules"這個路徑,我是把"/usr/lib/gtk-2.0/2.10.0/immodules/"底下的im-gcin.so拷貝到/usr/lib/i386-linux-gnu/gtk-2.0/2.10.0/immodules/,然後再gtk-query-immodules-3.0 --update-cache,之後重新開機就一切正常了

eliu

joined: 2007-08-09
posted: 11478
promoted: 617
bookmarked: 187
新竹, 台灣
15subject: Promote 0 Bookmark 02013-01-13quote  

Refer to this thread for the latest gcin.

edited: 1
eliu

joined: 2007-08-09
posted: 11478
promoted: 617
bookmarked: 187
新竹, 台灣
16subject: Promote 0 Bookmark 02012-10-28quote  

最新的 gcin 已經會把 gtk2/gtk3/qt4 im module 全部安裝,以避免增添麻煩。

cht電腦資訊gcin
adm Find login register
views:44611