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/cn.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灯, 水草

请输入看板名称,例如:BabyMother站内搜寻

TOP