cht電腦資訊gcin
adm Find login register

emacs /gnome 3 無法用gcin輸入中文

shelandy
joined: 2014-10-06
posted: 2
promoted:
bookmarked:
1subject: emacs /gnome 3 無法用gcin輸入中文Promote 0 Bookmark 02014-10-07quote  

環境: mageia Linux 4/gnome 3.10

理論上emacs-24 都已經是gtk3,不過我不知如何確認

gnome-terminal跟gedit輸入正常,firefox 輸入也正常

$pgrep emacs

22858

$strings /proc/22858/environ  | grep LC

LC_PAPER=zh_TW.utf8
LC_ADDRESS=zh_TW.UTF-8
LC_MONETARY=zh_TW.utf8
LC_SOURCED=1
LC_NUMERIC=zh_TW.utf8
LC_TELEPHONE=zh_TW.UTF-8
LC_MESSAGES=zh_TW.UTF-8
LC_IDENTIFICATION=zh_TW.UTF-8
LC_COLLATE=zh_TW.UTF-8
LC_MEASUREMENT=zh_TW.utf8
LC_CTYPE=zh_TW.UTF-8
LC_TIME=zh_TW.utf8
LC_NAME=zh_TW.UTF-8

$strings /proc/22858/environ  | grep gcin

XIM_PROGRAM=gcin
XIM=gcin
QT_IM_MODULE=gcin
XMODIFIERS=@im=gcin
GTK_IM_MODULE=gcin

看起來都好的,不知問題出在哪裡

$rpm -qa | grep gcin
gcin-qt4-2.8.1-2.mga4
gcin-gtk3-2.8.1-2.mga4
gcin-2.8.1-2.mga4
gcin-gtk2-2.8.1-2.mga4

$ rpm -qa | grep emacs
emacs-common-24.3-4.1.mga4
emacs-slime-3.0-1.20130405.2.mga4
emacs-24.3-4.1.mga4

請指教

 

 

eliu

joined: 2007-08-09
posted: 11473
promoted: 617
bookmarked: 187
新竹, 台灣
2subject: emacs /gnome 3 無法用gcin輸入中文Promote 0 Bookmark 02014-10-07quote  

我在 Ubuntu 14.04 測試 gcin emacs24 OK。

shelandy
理論上emacs-24 都已經是gtk3,不過我不知如何確認

ldd /usr/bin/emacs | grep libgtk

如果 gedit (gtk3) 可以,理論上 emcacs 應該可以才對,不清楚你的 Emacs 為何不行。

shelandy
joined: 2014-10-06
posted: 2
promoted:
bookmarked:
3subject: Promote 0 Bookmark 02014-10-08quote  

$ ldd /usr/bin/emacs | grep libgtk
libgtk-3.so.0 => /usr/lib64/libgtk-3.so.0 (0x00007f32784c3000)

eliu

joined: 2007-08-09
posted: 11473
promoted: 617
bookmarked: 187
新竹, 台灣
4subject: Promote 0 Bookmark 02014-10-08quote  

其他的輸入法架ibus 有沒有問題?或許與 compiling 的 option 有關。

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