$ ibus-daemon -drx
$ gsettings set org.freedesktop.ibus.panel xkb-icon-rgba '#ffffff'
「IBus の設定」→「一般」タブ→「プロパティーパネル」→「表示しない」
「IBus の設定」→「詳細」タブ→「グローバル入力メソッドの設定」→「全てのアプリケーション間で同じ入力メソッドを共有する」→チェックを入れる
/usr/share/ibus/component/mozc.xml
<!-- 変更前 --> <layout>default</layout> <!-- 変更後 --> <layout>jp</layout>
$ ibus-daemon -rdx
<component> <name>com.google.IBus.Mozc</name> <description>Mozc Component</description> <exec>/usr/lib/ibus-mozc/ibus-engine-mozc --ibus</exec> <version>2.26.4220.100+dfsg-4</version> <author>Google Inc.</author> <license>New BSD</license> <homepage>https://github.com/google/mozc</homepage> <textdomain>ibus-mozc</textdomain> <!-- <engines exec="/usr/lib/ibus-mozc/ibus-engine-mozc --xml" /> --> <engines> <engine> <description>Mozc (Japanese Input Method)</description> <language>ja</language> <symbol>あ</symbol> <rank>80</rank> <icon_prop_key>InputMode</icon_prop_key> <icon>/usr/share/ibus-mozc/product_icon.png</icon> <setup>/usr/lib/mozc/mozc_tool --mode=config_dialog</setup> <layout>jp</layout> <name>mozc-jp</name> <longname>Mozc</longname> </engine> </engines> </component> <!-- Settings of <engines> and <layout> are stored in ibus_config.textproto --> <!-- under the user configuration directory, which is either of: --> <!-- * $XDG_CONFIG_HOME/mozc/ibus_config.textproto --> <!-- * $HOME/.config/mozc/ibus_config.textproto --> <!-- * $HOME/.mozc/ibus_config.textproto -->
項目 | uim-mozc | ibus-mozc |
---|---|---|
emacsでの多言語入力 | setxkbmap を使っても、フルスペックでの入力は不可。M-x:set-input-method で切り替えるしかないが、これだと emacs の特殊なキーバインドを使わなければならない。 | ibus上で各言語切り替えを利用すれば、emacs でも他のアプリケーションでも同じキーバインドで多言語入力可能。 |
入力言語切り替え | setxkbmap <言語> で切り替え。 |