2013年4月15日 星期一

解決gcin輸入視窗總是固定在畫面左上角

在台灣gcin是蠻多人喜歡使用的輸入法框架,gcin在kde中有時候可能是打包者的疏忽,有時候是自己安裝設定上的疏忽,可能會導致輸入視窗總是固定在左上角,這時候該怎麼辦呢?
假設打包者沒問題,使用者可以調整KDE中的qtconfig來進行設定,執行qtconfig

設定 XIM over-the-spot,如下圖所示。
設定完重新登入,應該就可以了。

如果還是不行,可能還要檢查其他地方,看看檔案有沒有被放對。
輸入指令
gtk-query-immodules-2.0
會出現如下的訊息
$ gtk-query-immodules-2.0-64
# GTK+ Input Method Modules file
# Automatically generated file, do not edit
# Created by gtk-query-immodules-2.0-64 from gtk+-2.24.10
#
# ModulesPath = /home/maxwux/.gtk-2.0/2.10.0/x86_64-unknown-linux-gnu/immodules:/home/maxwux/.gtk-2.0/2.10.0/immodules:/home/maxwux/.gtk-2.0/x86_64-unknown-linux-gnu/immodules:/home/maxwux/.gtk-2.0/immodules:/usr/lib/gtk-2.0/2.10.0/x86_64-unknown-linux-gnu/immodules:/usr/lib/gtk-2.0/2.10.0/immodules:/usr/lib/gtk-2.0/x86_64-unknown-linux-gnu/immodules:/usr/lib/gtk-2.0/immodules
#
"/usr/lib/gtk-2.0/2.10.0/immodules/im-xim.so"
"xim" "X Input Method" "gtk20" "/usr/share/locale" "ko:ja:th:zh"

"/usr/lib/gtk-2.0/2.10.0/immodules/im-viqr.so"
"viqr" "Vietnamese (VIQR)" "gtk20" "/usr/share/locale" "vi"

"/usr/lib/gtk-2.0/2.10.0/immodules/im-multipress.so"
"multipress" "Multipress" "gtk20" "" ""

"/usr/lib/gtk-2.0/2.10.0/immodules/im-thai.so"
"thai" "Thai-Lao" "gtk20" "/usr/share/locale" "lo:th"

"/usr/lib/gtk-2.0/2.10.0/immodules/im-ipa.so"
"ipa" "IPA" "gtk20" "/usr/share/locale" ""

"/usr/lib/gtk-2.0/2.10.0/immodules/im-am-et.so"
"am_et" "Amharic (EZ+)" "gtk20" "/usr/share/locale" "am"

"/usr/lib/gtk-2.0/2.10.0/immodules/im-inuktitut.so"
"inuktitut" "Inuktitut (Transliterated)" "gtk20" "/usr/share/locale" "iu"

"/usr/lib/gtk-2.0/2.10.0/immodules/im-cedilla.so"
"cedilla" "Cedilla" "gtk20" "/usr/share/locale" "az:ca:co:fr:gv:oc:pt:sq:tr:wa"

"/usr/lib/gtk-2.0/2.10.0/immodules/im-cyrillic-translit.so"
"cyrillic_translit" "Cyrillic (Transliterated)" "gtk20" "/usr/share/locale" ""

"/usr/lib/gtk-2.0/2.10.0/immodules/im-ti-et.so"
"ti_et" "Tigrigna-Ethiopian (EZ+)" "gtk20" "/usr/share/locale" "ti"
"/usr/lib/gtk-2.0/2.10.0/immodules/im-ti-er.so"
"ti_er" "Tigrigna-Eritrean (EZ+)" "gtk20" "/usr/share/locale" "ti"

確認gtk im module是否有被正確讀取。

正常的話應該會有這一行
"/usr/lib/gtk-2.0/immodules/im-gcin.so"
"gcin" "gcin Input Method" "gcin" "/usr/share/locale" "zh:ja"
如果沒有,表示你的im-gcin.so並沒有被放到正確的位置。
你可以回報打包者,也許是打包到錯誤的地方,或者忘了包。

沒有留言 :

張貼留言