cht電腦資訊gcin
adm Find login register

gcin打字固定在左上角,好像跟之前不太一樣

maxwux
joined: 2011-09-12
posted: 28
promoted:
bookmarked:
1subject: gcin打字固定在左上角,好像跟之前不太一樣Promote 0 Bookmark 02013-04-10quote  
這次的左上角問題有一點奇怪
在firefox, chrome中正常
但是在kate、vlc、smplayer、skype、kickoff、system setting都會固定在該程式視窗的左上角
好像不限定是gtk還是qt程式都有這個問題
我是用Chakra,桌面環境是KDE
有用過打包者的package
也用過source code自己compile
狀況都一樣
KDE版本是4.10.2
gcin 2.8.0
 
$ gtk-query-immodules-2.0
# GTK+ Input Method Modules file
# Automatically generated file, do not edit
# Created by gtk-query-immodules-2.0 from gtk+-2.24.15
#
# 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-viqr.so"
"viqr" "Vietnamese (VIQR)" "gtk20" "/usr/share/locale" "vi"

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

"/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-xim.so"
"xim" "X Input Method" "gtk20" "/usr/share/locale" "ko:ja:th:zh"

"/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-ipa.so"
"ipa" "IPA" "gtk20" "/usr/share/locale" ""

"/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-thai.so"
"thai" "Thai-Lao" "gtk20" "/usr/share/locale" "lo:th"

"/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-am-et.so"
"am_et" "Amharic (EZ+)" "gtk20" "/usr/share/locale" "am"

"/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/immodules/im-gcin.so"
"gcin" "gcin Input Method" "gcin" "/usr/share/locale" "zh:ja"
 
不知道這個問題該怎麼解決??
edited: 1
eliu

joined: 2007-08-09
posted: 11480
promoted: 617
bookmarked: 187
新竹, 台灣
2subject: Promote 0 Bookmark 02013-04-10quote  

或許與 32, 64-bit path 有關,

用 lsof -p 看 AP 是否有 load im-gcin.so

maxwux
joined: 2011-09-12
posted: 28
promoted:
bookmarked:
3subject: Promote 0 Bookmark 02013-04-11quote  

lsof -p <gcin pid> 之後沒有出現im-gcin.so

我發現沒有 /usr/lib32/gtk-2.0/immodules/
但是有 /usr/lib/gtk-2.0/immodules/和 /usr/lib64/gtk-2.0/immodules/

裏面都有im-gcin.so就只有lib32裏面沒有im-gcin.so

我試過把lib64裏面的im-gcin.so給複製到lib32裏面,不過狀況仍舊相同

我該怎麼把這個檔案compile出來呢?




hyslion
joined: 2011-10-06
posted: 36
promoted: 2
bookmarked:
4subject: Promote 0 Bookmark 02013-04-11quote  

maxwux

lsof -p <gcin pid> 之後沒有出現im-gcin.so

我發現沒有 /usr/lib32/gtk-2.0/immodules/
但是有 /usr/lib/gtk-2.0/immodules/和 /usr/lib64/gtk-2.0/immodules/

裏面都有im-gcin.so就只有lib32裏面沒有im-gcin.so

我試過把lib64裏面的im-gcin.so給複製到lib32裏面,不過狀況仍舊相同

我該怎麼把這個檔案compile出來呢?

應該是

lsof -p <要用到輸入法的軟體的pid> | grep im-gcin.so

例如:lsof `pidof kwrite` | grep im-gcin.so

64和32的so不能混用,而且我覺得問題應該不在32位元跟64位元上。

另外,沒意外的話,chakra可能跟arch一樣,/usr/lib64、/lib、/lib64都只是/usr/lib的軟連結而已。

雖然您說qt和gtk都好像有問題,但是您列的kate、vlc、smplayer、skype、kickoff、system setting都好像是qt程式?

先假設qt程式有問題好了,試試qtconfig -> interface分頁底下 的XIM input style和Default Input Method

edited: 2
maxwux
joined: 2011-09-12
posted: 28
promoted:
bookmarked:
5subject: Promote 0 Bookmark 02013-04-11quote  

哎呀!我忘記檢查qtconfig這一項了

謝謝hyslion

改好後就都OK了!!!

太感謝你了

hyslion
joined: 2011-10-06
posted: 36
promoted: 2
bookmarked:
6subject: Promote 0 Bookmark 02013-04-11quote  

maxwux

哎呀!我忘記檢查qtconfig這一項了

謝謝hyslion

改好後就都OK了!!!

太感謝你了

不客氣囉,max大,我也是過來人 XD

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