(已解決)Linux mint kde 無法使用GCIN [論壇 - LinuxMint]
正在瀏覽:
1 名遊客
(已解決)Linux mint kde 無法使用GCIN |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員一級
![]() ![]() 註冊日期:
2008/7/20 21:41 所屬群組:
已註冊使用者 等級: 2
HP : 0 / 25
![]() |
話說原本在今天之前LINUX MINT KDE13用得好好的,但今天手癢,重新安裝了一遍LINUX MINT KDE13,安裝好之後,依如往常依照三秒緯大大的文章安裝GCIN,相關網址如下:
http://way3sec.blogspot.tw/2011/10/kubuntu-1110gcin.html 可是這一次安裝好之後,在KATE中、終端機裏面完全都無法使用,請問各位前輩有遇過這種狀況嗎..冏rz...
2012/11/24 19:24
|
||||||||||
![]() |
回覆: Linux mint kde 無法使用GCIN |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員三級
![]() ![]() 註冊日期:
2006/12/24 18:19 所屬群組:
已註冊使用者 等級: 13
HP : 0 / 309
![]() |
參考這一篇的文章看看,沒試過在 mint 可不可以。這邊的 gcin 會自動把 gcin-qt4-im-module install 進去,可以省掉在 KDE 上使用 gcin 的麻煩。
Ubuntu 12.10/12.04 安裝最新的 gcin 的完整步驟
2012/11/24 19:34
|
||||||||||
![]() |
回覆: Linux mint kde 無法使用GCIN |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員一級
![]() ![]() 註冊日期:
2008/7/20 21:41 所屬群組:
已註冊使用者 等級: 2
HP : 0 / 25
![]() |
回復前輩,我依照步驟,先把原本安裝的GCIN移除,然後依照連結中的步驟一步一腳印,把多餘的GCIN SORCE CODE移除,然後照步驟安裝,
最後重開機,依然老樣子,CHROME可以,但KATE和終端機依然不行... 測試了一下, aquila ~ # dpkg-query -s gcin Package: gcin Status: install ok installed Priority: optional Section: utils Installed-Size: 1061 Maintainer: gcin Architecture: amd64 Version: 2.7.9+eliu-3 Depends: gcin-im-client (>= 2.7.9+eliu-3), libc6 (>= 2.15), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.12.0), libgtk2.0-0 (>= 2.24.0), libpango1.0-0 (>= 1.14.0), libx11-6, libxtst6, gcin-data, gcin-tables, gcin-gtk2-immodule, gcin-gtk3-immodule, gcin-qt4-immodule Recommends: im-switch Suggests: gcin-anthy Conffiles: /etc/X11/xinit/xinput.d/gcin 0ea1ee97eb4c568bef6b42071f66c0bc Description: GTK+ based input method for Chinese users gcin is a GTK+ based input method which focused mainly on Traditional Chinese. However, it is also very useful for Simplified Chinese, Japanese, and many other languages. . This package contains only GTK2 immodule. For GTK3 and Qt4 immodule, please install correspondence packages. Homepage: http://hyperrate.com/dir.php?eid=67 是新的版本沒錯,但依然無法WORK...冏rz..
2012/11/24 20:17
|
||||||||||
![]() |
回覆: Linux mint kde 無法使用GCIN |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員三級
![]() ![]() 註冊日期:
2006/12/24 18:19 所屬群組:
已註冊使用者 等級: 13
HP : 0 / 309
![]() |
有 install im-config 嗎?install im-config 之後會造成 im-switch 的錯亂,ubuntu 目前是必須用 im-switch,im-config 會砍掉這個 file
/etc/X11/Xsession.d/80im-switch 必須回復,老問題了。另外一面一個暴力法是直接在 ~/.profile or .bashrc 設定 export QT4_IM_MODULE=gcin
2012/11/24 20:34
|
||||||||||
![]() |
回覆: Linux mint kde 無法使用GCIN |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員一級
![]() ![]() 註冊日期:
2008/7/20 21:41 所屬群組:
已註冊使用者 等級: 2
HP : 0 / 25
![]() |
回報前輩,查了一下:
aquila ~ # dpkg-query -s im-config 未曾安裝套件 `im-config',也無法取得其資訊。 使用 dpkg --info (= dpkg-deb --info) 來檢測套件檔, 以及 dpkg --contents (= dpkg-deb --contents) 來列出它們的內容。 aquila ~ # dpkg-query -s im-switch Package: im-switch Status: install ok installed Priority: optional Section: x11 Installed-Size: 168 Maintainer: Ubuntu Developers Architecture: all Version: 1.20ubuntu5 Recommends: x11-common | xfree86-common Suggests: zenity Conffiles: /etc/X11/xinit/xinput.d/default 465a93272efa59a7db862b22f4a22b24 /etc/X11/xinit/xinput.d/default-xim a43ea51c40428494e3d63eb881311416 /etc/X11/xinit/xinput.d/lo-gtk 3ac998761f0d09c07f1e8257854ed997 /etc/X11/xinit/xinput.d/none 09e72c33cf762a9a08dcb835cf87bf12 /etc/X11/xinit/xinput.d/th-gtk 36d4992d54f4677601d5b84a437b41b2 /etc/X11/xinit/xinput.d/th-xim 170ea3515e028fb2a6836b5ba5a528d3 /etc/X11/Xsession.d/80im-switch 044a2f13aa8382902dc8f47dc7da7064 Description: Input method switch framework im-switch provides the framework to configure and to switch the input method on X Window System depending on the locale. This input method is the essential mechanism for Japanese, Chinese and Korean (CJK) language to enter their non-ASCII native characters. . Some input methods such as SCIM support not only one of these CJK languages but support almost all languages simultaneously by dynamically switching keyboard modes with GUI. . By installing this package, the most desirable input method and its backend conversion engine are automatically configured with both XIM or IMmodule mechanism. . You can further customize your input method with 'im-switch' command. Original-Maintainer: Osamu Aoki 判斷應該是安裝im-switch。 若是使用暴力法,是直接在~/.profile or .bashrc 最下面添加上 export QT4_IM_MODULE=gcin 這一句嗎??
2012/11/24 20:46
|
||||||||||
![]() |
回覆: Linux mint kde 無法使用GCIN |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員三級
![]() ![]() 註冊日期:
2006/12/24 18:19 所屬群組:
已註冊使用者 等級: 13
HP : 0 / 309
![]() |
先確認 symbolic link 是否存在
~/.xinput.d/zh_TW -> /etc/X11/xinit/xinput.d/gcin export QT4_IM_MODULE=gcin 是 /etc/X11/xinit/xinput.d/gcin 設定的。 ~/.xinput.d/zh_TW 是 im-switch or gnome-language-selector 設定的。 dpkg-query -s im-switch 沒辦法確認 /etc/X11/Xsession.d/80im-switch 是否存在,先用 ls 確認。一旦 install im-config 移除再重新 install im-switch 也不會回復。 qt4 的程式不行用 gcin 是 export QT4_IM_MODULE=gcin 沒設定,自己可以先在 bash 試試看,設定了之後是否可以用 kate。
2012/11/24 21:11
|
||||||||||
![]() |
回覆: Linux mint kde 無法使用GCIN |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員一級
![]() ![]() 註冊日期:
2008/7/20 21:41 所屬群組:
已註冊使用者 等級: 2
HP : 0 / 25
![]() |
回復前輩:
aquila ~ # ~/.xinput.d/zh_TW -> /etc/X11/xinit/xinput.d/gcin bash: /root/.xinput.d/zh_TW: 沒有此一檔案或目錄 得到回復不存在。 /etc/X11/xinit/xinput.d/gcin 裏面沒有任何設定。 另外,~/.xinput.d/zh_TW 是 im-switch or gnome-language-selector 設定的。該如何確認呢? 然後您提到dpkg-query -s im-switch沒辦法確認 /etc/X11/Xsession.d/80im-switch是否存在,先用 ls 確認。 請教前輩這個部份該如何確認呢?
2012/11/24 21:46
|
||||||||||
![]() |
回覆: Linux mint kde 無法使用GCIN |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員三級
![]() ![]() 註冊日期:
2006/12/24 18:19 所屬群組:
已註冊使用者 等級: 13
HP : 0 / 309
![]() |
~ 是指 home directory,當然是要用你平常 login 的 user,不是 root。
/etc/X11/xinit/xinput.d/gcin 是 gcin.deb 裏面的 file,應該不會不見才對。 ls -l /etc/X11/Xsession.d/80im-switch -rwxr-xr-x 1 root root 2307 Jun 7 2011 /etc/X11/Xsession.d/80im-switch
2012/11/24 22:11
|
||||||||||
![]() |
回覆: Linux mint kde 無法使用GCIN |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() 註冊日期:
2009/12/6 10:32 所屬群組:
已註冊使用者 等級: 71
HP : 1053 / 1756
![]() |
依然無法WORK 能否描述一下 在什麼情況下 無法 work ? 細節一點 如果能 擷圖 貼上來 最好
2012/11/24 22:30
|
||||||||||
![]() |
回覆: Linux mint kde 無法使用GCIN |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員一級
![]() ![]() 註冊日期:
2008/7/20 21:41 所屬群組:
已註冊使用者 等級: 2
HP : 0 / 25
![]() |
回復前輩:
抱歉,小弟用的是KONSOLE AS ROOT 的終端機,所以會變成ROOT的狀態@@ 使用一般的終端機,回復如下: dylanc@aquila / $ ~/.xinput.d/zh_TW -> /etc/X11/xinit/xinput.d/gcin bash: /etc/X11/xinit/xinput.d/gcin: 拒絕不符權限的操作 dylanc@aquila / $ sudo ~/.xinput.d/zh_TW -> /etc/X11/xinit/xinput.d/gcin bash: /etc/X11/xinit/xinput.d/gcin: 拒絕不符權限的操作 確認了以下檔案, dylanc@aquila / $ vi /etc/X11/xinit/xinput.d/gcin 裏面是空白的,沒有任何設定值哩..@@ 再來, dylanc@aquila /etc/X11/xinit/xinput.d $ ls -l /etc/X11/Xsession.d/80im-switch -rwxr-xr-x 1 root root 2307 6月 7 2011 /etc/X11/Xsession.d/80im-switch 得到與前輩貼的一樣的結果@@
2012/11/24 22:54
|
||||||||||
![]() |
您可以查看帖子.
您不可發帖.
您不可回覆.
您不可編輯自己的帖子.
您不可刪除自己的帖子.
您不可發起投票調查.
您不可在投票調查中投票.
您不可上傳附件.
您不可不經審核直接發帖.