版本: Xubuntu安装。
% cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04 LTS"
% env | grep -E 'XMOD|_IM'
GTK_IM_MODULE=ibus
QT_IM_MODULE=ibus
XMODIFIERS=@im=ibusim-config打印
Current configuration for the input method:
* Active configuration: ibus (normally missing)
* Normal automatic choice: ibus (normally ibus or fcitx or uim)
* Override rule: zh_CN,fcitx:zh_TW,fcitx:zh_HK,fcitx:zh_SG,fcitx:ja_JP,fcitx:ko_KR,fcitx:vi_VN,fcitx
* Current override choice: (en_US)
* Current automatic choice: ibus
* Number of valid choices: 3 (normally 1)
The override rule is defined in /etc/default/im-config.
The configuration set by im-config is activated by re-starting X.
Explicit selection is not required to enable the automatic configuration if the active one is default/auto/cjkv/missing.
Available input methods: ibus fcitx xim
Unless you really need them all, please make sure to install only one input method tool.基本原理:我对Xubuntu上的键盘设置有相当丰富的经验,但我对遇到的问题越来越恼火。我没有掌握“主动输入法”的概念,在fcitx和fcitx之间随机开始在布局之间切换输入。缺乏文件使我停止使用它。UIM吞下了崇高文本中的字符。几秒钟后,当我移动光标时,它将插入这些字符。我试着切换到IBus (日语中使用mocz )。
我的用法:我在我的会话中使用了en-us (英语),"Neo 2“(德语)和mocz (日语)键盘布局。我需要一个简单的开关来在这些键盘之间旋转。我很高兴的任何设置,使这一点。
<Super>+Space以切换到Neo2。见下图。我输入(键盘是US,不确定)<Super>+Space以切换到mocz。我输入(键盘是US,不确定)% setxkbmap -query给出:规则: evdev模型: pc105布局: us并确认问题(键盘仍然是US,不确定)gsettings get org.gnome.desktop.input-sources sources给出了@a(ss) [] (不确定这应该告诉我什么,但其他线程提到了它)。% setxkbmap -query给出:规则: evdev模型: pc105布局: de : neo,并确认正确的键盘设置。
我的问题:我指出了几个问题,但将其简化为一个问题:我认为xfce4-xkb-plugin (只在登录后使用US)会干扰X11会话登录后的IBus (US + Neo2 working)。如何禁用这种干扰?(xfce4-xkb-plugin只注册了一个US键盘,“布局”实际上被设置为“使用系统默认值”)
发布于 2018-06-03 00:10:51
评论中的讨论澄清了软件包ibus-gtk和ibus-gtk3没有安装。它们对于使IBus与Gtk应用程序正常工作非常重要。
在IBus默认安装的Ubuntu中,这些包总是存在的(因为它们是ubuntu-desktop包推荐的):
ibusibus-gtkibus-gtk3ibus-table简而言之:至少安装ibus-gtk和ibus-gtk3。
https://askubuntu.com/questions/1043025
复制相似问题