-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Qt5 im-module 在 (k)ubuntu 16.04 中無法使用 #558
Comments
Vdragon
added a commit
to Vdragon/hime
that referenced
this issue
Dec 20, 2016
Signed-off-by: V字龍 <[email protected]>
|
Vdragon
added a commit
to Vdragon/hime
that referenced
this issue
Dec 20, 2016
Signed-off-by: V字龍 <[email protected]>
@fweng322 Please try the patch |
Vdragon
added a commit
to Vdragon/hime
that referenced
this issue
Jan 9, 2017
目前 Debian 提供的 HIME im-config 設定程式並沒有設定 Qt5 應用軟體支援所需要的 QT_IM_MODULE 環境變數,所以使用者沒辦法在 Qt5 應用軟體中正常使用 HIME 這個修訂新增了 HIME 上游專屬的 im-config 設定(名稱與 Debian 提供的不衝突) 雖然理論上這應在 Debian 端修正,但是既然我們有放 im-switch 的資料似乎沒道理不能放 im-config 的資料 Signed-off-by: V字龍 <[email protected]>
我不小心放錯 im-config 資料的路徑了,現在的 PR 已修正 |
另外理論上 Debian/Ubuntu 端都要開 bug 修 im-config 的 rc 檔 |
Debian 已於 2016/12/7 修正問題 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
原先是安裝 ubuntu 中預設的 hime / hime-qt5-immodule 但是在 qt5 的程式中一直無法呼叫 hime 出來。
後來我用 docker 建一個乾淨的 ubuntu 環境,直接編譯最新的 git 版本,在 configure 中確定有加入 --enable-qt5-immodule 並使用裡面的 distro/debian/gen_deb 建立新的 deb 套件。結果還是一樣 -- Qt5 的程式 (如 konsole)都無法呼叫出 hime。但其他的可以(像我現在是用 chromium 發這則 issue 就可以輸入)
我的做法:
Dockerfile 如下:
進去以後用 git clone https://github.com/hime-ime/hime.git
在 configure 把除了 qt3 以外的都打開
建出來的 deb 檔在 ftp://goodhorse.idv.tw/hime_0.9.10+git20161113-1_amd64.deb
使用 im-config 選擇 hime,並修改 /usr/share/im-config/data/25_hime.rc 中加入 QT5_IM_MODULE=hime
我的環境變數:
env | grep IM
[franklin@ezgo13 ~]$ env | grep XMOD
XMODIFIERS=@im=hime
hime-env 的結果:
The text was updated successfully, but these errors were encountered: