Linux 板


LINE

目前正在使用 KDE neon 5.17 版 安裝了 fcitx + rime 的輸入 使用注音輸入 能正常跑出中文候選詞 個人習慣如果要輸入的字詞爲第一候選字詞時 便會直接按enter鍵輸入 但是卻會導致候選詞消失 輸入到上面的變成了鍵盤上所敲擊的鍵位(ex:你好->sucl) 而如果使用選字詞的方式是能正常輸入中文的 想請教有解決的方法嗎? 以下附上 fcitx-diagnose 輸出的結果: # System Info: 1. `uname -a`: Linux AA 5.3.0-28-generic #30~18.04.1-Ubuntu SMP Fri Jan 17 06:14:09 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux 2. `lsb_release -a`: No LSB modules are available. Distributor ID: neon Description: KDE neon User Edition 5.17 Release: 18.04 Codename: bionic 3. `lsb_release -d`: Description: KDE neon User Edition 5.17 4. `/etc/lsb-release`: DISTRIB_ID=neon DISTRIB_RELEASE=18.04 DISTRIB_CODENAME=bionic DISTRIB_DESCRIPTION="KDE neon User Edition 5.17" 5. `/etc/os-release`: NAME="KDE neon" VERSION="5.17" ID=neon ID_LIKE="ubuntu debian" PRETTY_NAME="KDE neon User Edition 5.17" VARIANT="User Edition" VERSION_ID="18.04" HOME_URL="http://neon.kde.org/" SUPPORT_URL="http://neon.kde.org/" BUG_REPORT_URL="http://bugs.kde.org/" LOGO=start-here-kde-neon PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-po licy" VERSION_CODENAME=bionic UBUNTU_CODENAME=bionic 6. Desktop Environment: Desktop environment is `kde`. 7. Bash Version: BASH_VERSION='4.4.20(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+inet(evdev)" }; xkb_geometry { include "pc(pc105)" }; }; 2. `xprop`: _XKB_RULES_NAMES(STRING) = "evdev", "pc105", "us", "", "" 3. Locale: 1. All locale: C C.UTF-8 POSIX 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 2. Current locale: LANG=zh_TW.UTF-8 LANGUAGE=zh_TW:en_US LC_CTYPE="zh_TW.UTF-8" LC_NUMERIC=lzh_TW LC_TIME=lzh_TW LC_COLLATE="zh_TW.UTF-8" LC_MONETARY=lzh_TW LC_MESSAGES="zh_TW.UTF-8" LC_PAPER=lzh_TW LC_NAME=lzh_TW LC_ADDRESS=lzh_TW LC_TELEPHONE=lzh_TW LC_MEASUREMENT=lzh_TW LC_IDENTIFICATION=lzh_TW LC_ALL= **Error occurs when running `locale`. Please check your locale settings.** locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory 4. Directories: 1. Home: /home/AA 2. `${XDG_CONFIG_HOME}`: Environment variable `XDG_CONFIG_HOME` is not set. Current value of `XDG_CONFIG_HOME` is `~/.config` (`/home/AA/.config`). 3. Fcitx Settings Directory: Current fcitx settings directory is `~/.config/fcitx` (`/home/AA/.config/fcitx`). 5. Current user: The script is run as AA (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: 1560 fcitx 1581 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.33`. PID of DBus name `org.fcitx.Fcitx` owner is `1560`. # Fcitx Configure UI: 1. Config Tool Wrapper: Found fcitx-configtool at `/usr/bin/fcitx-configtool`. 2. Config GUI for gtk2: Found `fcitx-config-gtk` at `/usr/bin/fcitx-config-gtk`. 3. Config GUI for gtk3: Found `fcitx-config-gtk3` at `/usr/bin/fcitx-config-gtk3`. 4. Config GUI for kde: # 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 is the same with that set in the environment variable. ## Qt: 1. qt4 - `${QT4_IM_MODULE}`: Environment variable QT_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/libfcitxplatformi nputcontextplugin.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-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-rime 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 rime 2. Default input methods: You have a keyboard input method "fcitx-keyboard-us" correctly added as your default input method. # Log: 1. `date`: Fri Feb 7 10:27:51 CST 2020 2. `~/.config/fcitx/log/`: total 0 3. `~/.config/fcitx/log/crash.log`: `~/.config/fcitx/log/crash.log` not found. --



※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 36.230.88.185 (臺灣)
※ 文章網址: https://webptt.com/m.aspx?n=bbs/Linux/M.1581043491.A.5B7.html
1F:→ dododavid006: 你到設定 -> 附加元件 -> 鍵盤配置的設定,裡面有個02/08 09:08
2F:→ dododavid006: 用 enter 鍵確認輸入字串 打勾看看02/08 09:09
請問是 Use enter to commit the existing string 這個選項嗎? 如果是的話那上述情況仍然一樣 ※ 編輯: p992003 (36.230.51.40 臺灣), 02/08/2020 20:03:04
3F:推 joehuan: 這是預設行為吧, 我是用rime+囧月拼音 02/09 01:53
4F:→ joehuan: 我都用enter來直接輸入英文 02/09 01:53
5F:→ joehuan: 改這個檔案~/.config/fcitx/rime/build/default.yaml 02/09 01:55
6F:→ joehuan: 或bopomofo.schema.yaml試試 02/09 01:56
7F:→ joehuan: 我猜是key_binder, bindings, 加一個 02/09 01:57
8F:→ joehuan: {when: composing, accept: Enter, send: 1}之類的 02/09 01:58
自己更新一下後續 如 joehuan 大大所言加入類似的key_binder就解決了 我是加入了: - {accept: Return, send: Q, when: composing} 之後英文鍵旁的Enter就能預設輸入第一個候選字了 ※ 編輯: p992003 (36.230.147.210 臺灣), 02/14/2020 20:00:03







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燈, 水草

請輸入看板名稱,例如:Tech_Job站內搜尋

TOP