Linux 板


LINE

安安大家毫 小弟有一台桌機原本是Ubuntu 16.04,最近升到18.04後發現沒辦法輸入中文 iBus和fcitx兩種都試過了,工作列有顯示切換成中文輸入,但打的還是英文= = 自己還有一台Acer筆電是直接裝18.04,現在用iBus打中文好好的 不知道是什麼問題 兩台的設定都調一樣 --



※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 1.163.58.153
※ 文章網址: https://webptt.com/m.aspx?n=bbs/Linux/M.1541742379.A.167.html
1F:→ yoyololicon: 忘惹說 是用iBus-chewing和fcitx-chewing 11/09 13:48
2F:→ brli7848: 不管怎樣這ID先報警就對惹 11/09 14:05
3F:推 da21510: gcin? 11/09 14:33
4F:→ yoyololicon: 發現在show application的搜尋那邊可以打中文,但是 11/09 15:08
5F:→ yoyololicon: 在檔案的搜尋就不行 11/09 15:08
6F:→ yoyololicon: 其他在文字編輯器,網頁等等也只有英文 11/09 15:09
7F:推 dododavid006: 用 fctix 的話能把 fcitx-diagnose 的輸出貼出來嗎 11/09 15:20
8F:→ dododavid006: 在終端機輸入 fcitx-diagnose 按 enter 就行 11/09 15:20
9F:→ dododavid006: 如果是只有部份程式沒辦法輸入通常是有東西沒裝 或 11/09 15:21
10F:→ dododavid006: 是有設定沒弄好 11/09 15:22
11F:→ yoyololicon: 不只是部分欸 已經是幾乎無法用的狀態 11/09 15:26
# System Info: 1. `uname -a`: Linux YCY-Studio 4.15.0-38-generic #41-Ubuntu SMP Wed Oct 10 10:59:38 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux 2. `lsb_release -a`: No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.1 LTS Release: 18.04 Codename: bionic 3. `lsb_release -d`: Description: Ubuntu 18.04.1 LTS 4. `/etc/lsb-release`: DISTRIB_ID=Ubuntu DISTRIB_RELEASE=18.04 DISTRIB_CODENAME=bionic DISTRIB_DESCRIPTION="Ubuntu 18.04.1 LTS" 5. `/etc/os-release`: NAME="Ubuntu" VERSION="18.04.1 LTS (Bionic Beaver)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 18.04.1 LTS" VERSION_ID="18.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=bionic UBUNTU_CODENAME=bionic 6. Desktop Environment: Desktop environment is `gnome3`. 7. Bash Version: BASH_VERSION='4.4.19(1)-release' # Environment: 1. DISPLAY: DISPLAY=':0' 2. Keyboard Layout: 1. `setxkbmap`: xkb_keymap { xkb_keycodes { include "evdev+aliases(qwerty)" }; xkb_types { include "complete" }; xkb_compat { include "complete" }; xkb_symbols { include "pc+us+us:2+inet(evdev)" }; xkb_geometry { include "pc(pc105)" }; }; 2. `xprop`: _XKB_RULES_NAMES(STRING) = "evdev", "pc105", "us,us", ",", "" 3. Locale: 1. All locale: C C.UTF-8 en_AG en_AG.utf8 en_AU.utf8 en_BW.utf8 en_CA.utf8 en_DK.utf8 en_GB.utf8 en_HK.utf8 en_IE.utf8 en_IL en_IL.utf8 en_IN en_IN.utf8 en_NG en_NG.utf8 en_NZ.utf8 en_PH.utf8 en_SG.utf8 en_US.utf8 en_ZA.utf8 en_ZM en_ZM.utf8 en_ZW.utf8 lzh_TW lzh_TW.utf8 POSIX zh_HK.utf8 zh_TW.utf8 2. Current locale: LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_CTYPE="en_US.UTF-8" LC_NUMERIC=zh_TW.UTF-8 LC_TIME=zh_TW.UTF-8 LC_COLLATE="en_US.UTF-8" LC_MONETARY=zh_TW.UTF-8 LC_MESSAGES="en_US.UTF-8" LC_PAPER=zh_TW.UTF-8 LC_NAME=zh_TW.UTF-8 LC_ADDRESS=zh_TW.UTF-8 LC_TELEPHONE=zh_TW.UTF-8 LC_MEASUREMENT=zh_TW.UTF-8 LC_IDENTIFICATION=zh_TW.UTF-8 LC_ALL= 4. Directories: 1. Home: /home/ycy 2. `${XDG_CONFIG_HOME}`: Environment variable `XDG_CONFIG_HOME` is not set. Current value of `XDG_CONFIG_HOME` is `~/.config` (`/home/ycy/.config`). 3. Fcitx Settings Directory: Current fcitx settings directory is `~/.config/fcitx` (`/home/ycy/.config/fcitx`). 5. Current user: The script is run as ycy (1000). # Fcitx State: 1. executable: Found fcitx at `/usr/bin/fcitx`. 2. version: Fcitx version: `4.2.9.6` 3. process: Found 2 fcitx processes: 1637 fcitx 1684 fcitx-dbus-watc 4. `fcitx-remote`: `fcitx-remote` works properly. 5. DBus interface: Using `dbus-send` to check dbus. Owner of DBus name `org.fcitx.Fcitx` is `:1.2`. PID of DBus name `org.fcitx.Fcitx` owner is `1637`. # Fcitx Configure UI: 1. Config Tool Wrapper: Found fcitx-configtool at `/usr/bin/fcitx-configtool`. 2. Config GUI for gtk2: **Config GUI for gtk2 not found.** 3. Config GUI for gtk3: Found `fcitx-config-gtk3` at `/usr/bin/fcitx-config-gtk3`. 4. Config GUI for kde: **`kcmshell4` not found.** # Frontends setup: ## Xim: 1. `${XMODIFIERS}`: Environment variable XMODIFIERS is set to "@im=fcitx" correctly. Xim Server Name from Environment variable is fcitx. 2. XIM_SERVERS on root window: **Xim server name: "ibus" is different from that set in the environment variable: "fcitx".** ## Qt: 1. qt4 - `${QT4_IM_MODULE}`: Environment variable QT4_IM_MODULE is set to "fcitx" correctly. 2. qt5 - `${QT_IM_MODULE}`: Environment variable QT_IM_MODULE is set to "fcitx" correctly. 3. Qt IM module files: Found fcitx im module for Qt4: `/usr/lib/x86_64-linux-gnu/qt4/plugins/inputmethods/qtim-fcitx.so`. Found fcitx im module for Qt5: `/usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so`. ## Gtk: 1. gtk - `${GTK_IM_MODULE}`: Environment variable GTK_IM_MODULE is set to "fcitx" correctly. 2. `gtk-query-immodules`: 1. gtk 2: **Cannot find `gtk-query-immodules` for gtk 2** **Cannot find fcitx im module for gtk 2.** 2. gtk 3: **Cannot find `gtk-query-immodules` for gtk 3** **Cannot find fcitx im module for gtk 3.** 3. Gtk IM module cache: 1. gtk 2: Found immodules cache for gtk `2.24.32` at `/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules.cache`. Version Line: # Created by /usr/lib/x86_64-linux-gnu/libgtk2.0-0/gtk-query-immodules-2.0 from gtk+-2.24.32 Found fcitx im modules for gtk `2.24.32`. "/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules/im-fcitx.so" "fcitx" "Fcitx (Flexible Input Method Framework)" "fcitx" "/usr/share/locale" "ja:ko:zh:*" 2. gtk 3: Found immodules cache for gtk `3.22.30` at `/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules.cache`. Version Line: # Created by /usr/lib/x86_64-linux-gnu/libgtk-3-0/gtk-query-immodules-3.0 from gtk+-3.22.30 Found fcitx im modules for gtk `3.22.30`. "/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-fcitx.so" "fcitx" "Fcitx (Flexible Input Method Framework)" "fcitx" "/usr/share/locale" "ja:ko:zh:*" 4. Gtk IM module files: 1. gtk 2: All found Gtk 2 immodule files exist. 2. gtk 3: All found Gtk 3 immodule files exist. # Configuration: ## Fcitx Addons: 1. Addon Config Dir: Found fcitx addon config directory: `/usr/share/fcitx/addon`. 2. Addon List: 1. Found 25 enabled addons: fcitx-autoeng fcitx-chewing fcitx-chttrans fcitx-classic-ui fcitx-clipboard fcitx-dbus fcitx-freedesktop-notify fcitx-fullwidth-char fcitx-imselector fcitx-ipc fcitx-ipcportal fcitx-keyboard fcitx-kimpanel-ui fcitx-lua fcitx-notificationitem fcitx-punc fcitx-quickphrase fcitx-remote fcitx-spell fcitx-unicode fcitx-vk fcitx-x11 fcitx-xim fcitx-xkb fcitx-xkbdbus 2. Found 0 disabled addons: 3. Addon Libraries: All libraries for all addons are found. 4. User Interface: Found 2 enabled user interface addons: fcitx-classic-ui fcitx-kimpanel-ui ## Input Methods: 1. Found 2 enabled input methods: fcitx-keyboard-us chewing 2. Default input methods: You have a keyboard input method "fcitx-keyboard-us" correctly added as your default input method. # Log: 1. `date`: 五 11月 9 15:36:12 CST 2018 2. `~/.config/fcitx/log/`: total 0 3. `~/.config/fcitx/log/crash.log`: `~/.config/fcitx/log/crash.log` not found. ※ 編輯: yoyololicon (1.163.58.153), 11/09/2018 15:38:13
12F:→ yoyololicon: looks like a problem about gtk 11/09 15:38
13F:推 Bencrie: 輸入法你只要管XMODIFIERS、GTK_IM_MODULE、QT_IM_MODULE 11/09 17:17
14F:→ Bencrie: 、CLUTTER_IM_MODULE 這幾個環境變數就行了 11/09 17:17
15F:→ yoyololicon: ok, how these path variable work? 11/09 17:44
16F:→ yoyololicon: how to set them? 11/09 17:44
17F:推 Bencrie: echo $XMODIFIERS 11/09 17:48
18F:→ yoyololicon: 喔喔喔我把ibus-chewing拿掉就work了 11/09 18:12
19F:推 s9209122222: Ubuntu升級還是直接重灌問題最少了,我從18.04升級18 11/09 20:38
20F:→ s9209122222: .10就一堆小問題 11/09 20:38
21F:推 wilson6405: 在18.04你們有辦法連續輸出文字嗎?我都會卡一下才顯 11/11 00:27
22F:→ wilson6405: 示出來 11/11 00:27
23F:推 s9209122222: 可以,我是用他預設的 11/11 07:06
24F:推 s9209122222: 但有個奇怪的問題,只要輸入數字就會變成英數模式 11/11 10:43
25F:推 hototogisu: 您的 Current locale: LANG=en_US.UTF-8 我在想 11/11 19:00
26F:→ hototogisu: fcitx設定面板裡面的輸入法欄位"沒有"顯示新酷音 11/11 19:00
27F:→ hototogisu: 大概是這樣下指令轉換語系 11/11 19:01
28F:→ hototogisu: sudo locale-gen zh_TW zh_TW.UTF-8 11/11 19:02
29F:→ hototogisu: sudo localectl set-locale LANG=zh_TW.UTF-8 11/11 19:02
30F:→ ssd860505da: 我遇過一模一樣的問題,我也是從16.04升上18.04 11/19 22:31
31F:→ ssd860505da: 試了很多方法最後的解放是:安裝chewing並把input me 11/19 22:31
32F:→ ssd860505da: thod改成none就能正常work了 11/19 22:31







like.gif 您可能會有興趣的文章
icon.png[問題/行為] 貓晚上進房間會不會有憋尿問題
icon.pngRe: [閒聊] 選了錯誤的女孩成為魔法少女 XDDDDDDDDDD
icon.png[正妹] 瑞典 一張
icon.png[心得] EMS高領長版毛衣.墨小樓MC1002
icon.png[分享] 丹龍隔熱紙GE55+33+22
icon.png[問題] 清洗洗衣機
icon.png[尋物] 窗台下的空間
icon.png[閒聊] 双極の女神1 木魔爵
icon.png[售車] 新竹 1997 march 1297cc 白色 四門
icon.png[討論] 能從照片感受到攝影者心情嗎
icon.png[狂賀] 賀賀賀賀 賀!島村卯月!總選舉NO.1
icon.png[難過] 羨慕白皮膚的女生
icon.png閱讀文章
icon.png[黑特]
icon.png[問題] SBK S1安裝於安全帽位置
icon.png[分享] 舊woo100絕版開箱!!
icon.pngRe: [無言] 關於小包衛生紙
icon.png[開箱] E5-2683V3 RX480Strix 快睿C1 簡單測試
icon.png[心得] 蒼の海賊龍 地獄 執行者16PT
icon.png[售車] 1999年Virage iO 1.8EXi
icon.png[心得] 挑戰33 LV10 獅子座pt solo
icon.png[閒聊] 手把手教你不被桶之新手主購教學
icon.png[分享] Civic Type R 量產版官方照無預警流出
icon.png[售車] Golf 4 2.0 銀色 自排
icon.png[出售] Graco提籃汽座(有底座)2000元誠可議
icon.png[問題] 請問補牙材質掉了還能再補嗎?(台中半年內
icon.png[問題] 44th 單曲 生寫竟然都給重複的啊啊!
icon.png[心得] 華南紅卡/icash 核卡
icon.png[問題] 拔牙矯正這樣正常嗎
icon.png[贈送] 老莫高業 初業 102年版
icon.png[情報] 三大行動支付 本季掀戰火
icon.png[寶寶] 博客來Amos水蠟筆5/1特價五折
icon.pngRe: [心得] 新鮮人一些面試分享
icon.png[心得] 蒼の海賊龍 地獄 麒麟25PT
icon.pngRe: [閒聊] (君の名は。雷慎入) 君名二創漫畫翻譯
icon.pngRe: [閒聊] OGN中場影片:失蹤人口局 (英文字幕)
icon.png[問題] 台灣大哥大4G訊號差
icon.png[出售] [全國]全新千尋侘草LED燈, 水草

請輸入看板名稱,例如:Boy-Girl站內搜尋

TOP