我在 Lubuntu 18.04.1 64 位上安装了 IBus,有些语言可以正常运行,而其他语言仅具有美国英语布局。
韩语韩文输入引擎(ibus engine
输出hangul
)可以工作(在韩语模式下al提供미
),但瑞典语和西班牙语 XBD 输入(分别为ibus engine
输出xbd:se::swe
和xbd:es::spa
)不工作(键盘布局与美国完全相同)。
后缀m17n:sv:post
瑞典语布局似乎有效(oe给出ö
)。
xkb
这使我相信我的计算机上的 IBus 引擎存在问题(不管这意味着什么)。
的输出为dpkg -l | grep ibus | grep -v libusb
:
ii gir1.2-ibus-1.0:amd64 1.5.17-3ubuntu4 amd64 Intelligent Input Bus - introspection data
ii ibus 1.5.17-3ubuntu4 amd64 Intelligent Input Bus - core
ii ibus-gtk:amd64 1.5.17-3ubuntu4 amd64 Intelligent Input Bus - GTK+2 support
ii ibus-gtk3:amd64 1.5.17-3ubuntu4 amd64 Intelligent Input Bus - GTK+3 support
ii ibus-hangul 1.5.0+git20161231-1 amd64 Hangul engine for IBus
ii ibus-m17n 1.3.4-5 amd64 m17n engine for IBus
ii ibus-qt4 1.3.3-1build2 amd64 qt-immodule for ibus (QT4) (plugin)
ii ibus-table 1.9.14-3 all table engine for IBus
ii libibus-1.0-5:amd64 1.5.17-3ubuntu4 amd64 Intelligent Input Bus - shared library
ii libibus-1.0-dev:amd64 1.5.17-3ubuntu4 amd64 Intelligent Input Bus - development file
ii libibus-qt1 1.3.3-1build2 amd64 qt-immodule for ibus (QT4) (library)
ii libusageenvironment3:amd64 2018.02.18-1 amd64 multimedia RTSP streaming library (UsageEnvironment classes)
输出ibus list-engines
(删除了其他语言):
...
language: Swedish
xkb:se:dvorak:swe - Swedish (Dvorak)
xkb:se:svdvorak:swe - Swedish (Svdvorak)
m17n:sv:post - post (m17n)
xkb:se::swe - Swedish
...
language: Korean
hangul - Hangul
m17n:ko:romaja - romaja (m17n)
m17n:ko:han2 - han2 (m17n)
...
language: Spanish; Castilian
xkb:es::spa - Spanish
xkb:latam::spa - Spanish (Latin American)
...
language: English
xkb:us::eng - English (US)
xkb:gb:dvorak:eng - English (UK, Dvorak)
xkb:gb:extd:eng - English (UK, extended WinKeys)
xkb:us:altgr-intl:eng - English (international AltGr dead keys)
xkb:us:colemak:eng - English (Colemak)
xkb:us:dvorak:eng - English (Dvorak)
xkb:ca:eng:eng - English (Canada)
xkb:us:intl:eng - English (US, international with dead keys)
...
输出setxkbmap -query
(对于所有 IBus 布局都相同,即使是非美国布局也可以):
rules: evdev
model: pc105
layout: us
variant: ,
options: grp:shift_caps_toggle
答案1
答案2
我以前使用过 ibus 和 xim,但总是遇到麻烦。切换到 fcitx 后,一切开始好多了。
我建议删除所有与 ibus 相关的软件包并安装 fcitx,然后运行重新配置工具 + im-config
sudo apt purge ibus
sudo apt install fcitx-hangul
sudo dpkg-reconfigure keyboard-configuration
im-config
这是我安装的 fcitx 包的完整列表
fcitx/focal,focal,now 1:4.2.9.7-3 all [installed,automatic]
fcitx-bin/focal,now 1:4.2.9.7-3 amd64 [installed,automatic]
fcitx-config-common/focal,focal,now 0.4.10-3 all [installed,automatic]
fcitx-config-gtk/focal,now 0.4.10-3 amd64 [installed,automatic]
fcitx-data/focal,focal,now 1:4.2.9.7-3 all [installed,automatic]
fcitx-dbus-status/focal,now 2016062301-3 amd64 [installed]
fcitx-frontend-all/focal,focal,now 1:4.2.9.7-3 all [installed,automatic]
fcitx-frontend-gtk2/focal,now 1:4.2.9.7-3 amd64 [installed,automatic]
fcitx-frontend-gtk3/focal,now 1:4.2.9.7-3 amd64 [installed,automatic]
fcitx-frontend-qt5/focal,now 1.2.4-1build2 amd64 [installed,automatic]
fcitx-hangul/focal,now 0.3.1-2 amd64 [installed]
fcitx-m17n/focal,now 0.2.4-2 amd64 [installed]
fcitx-module-dbus/focal,now 1:4.2.9.7-3 amd64 [installed,automatic]
fcitx-module-kimpanel/focal,now 1:4.2.9.7-3 amd64 [installed,automatic]
fcitx-module-lua/focal,now 1:4.2.9.7-3 amd64 [installed,automatic]
fcitx-module-x11/focal,now 1:4.2.9.7-3 amd64 [installed,automatic]
fcitx-modules/focal,now 1:4.2.9.7-3 amd64 [installed]
fcitx-mozc/focal,now 2.23.2815.102+dfsg-8ubuntu1 amd64 [installed]
fcitx-pinyin/focal,now 1:4.2.9.7-3 amd64 [installed,automatic]
fcitx-table/focal,now 1:4.2.9.7-3 amd64 [installed,automatic]
fcitx-table-emoji/focal,focal,now 0.2.4-2 all [installed]
fcitx-ui-classic/focal,now 1:4.2.9.7-3 amd64 [installed,automatic]
fcitx-ui-qimpanel/focal,now 2.1.3-2build1 amd64 [installed]
fcitx5-module-quickphrase-editor/focal,now 1.2.4-1build2 amd64 [installed,automatic]
libfcitx-config4/focal,now 1:4.2.9.7-3 amd64 [installed,automatic]
libfcitx-core0/focal,now 1:4.2.9.7-3 amd64 [installed,automatic]
libfcitx-gclient1/focal,now 1:4.2.9.7-3 amd64 [installed,automatic]
libfcitx-qt5-1/focal,now 1.2.4-1build2 amd64 [installed,automatic]
libfcitx-qt5-data/focal,focal,now 1.2.4-1build2 all [installed,automatic]
libfcitx-utils0/focal,now 1:4.2.9.7-3 amd64 [installed,automatic]
希望这可以帮助