可是我不能执行sudo apt-get autoremove ibus,会关联删除很多东西的,包括unity
1. 早期許多 fcitx 安裝教材 都教網友移除 ibus (其實 不必移除 ibus 可以共存)
1-1. 但是 那時 移除 ibus 不會引起問題 要使用 ibus 再安裝回來就好了
1-2. 最近幾期的 Ubuntu (指 登入 unity 進程者)
移除 ibus 會同時移除一些 相依於 ibus 的套件
1-2-1. sudo apt-get
-s purge ibus
可以告訴你 會同時移除哪些 相依於 ibus 的套件
1-2-1-1. 例如我的 Ubuntu 16.04 移除 ibus 出現 (你的不一定相同)
下列套件將會被【移除】:
ibus* ibus-chewing* ibus-pinyin* ibus-table* ibus-table-cangjie*
ibus-table-cangjie-big* ibus-table-cangjie3* ibus-table-cangjie5*
ibus-table-quick-classic* ibus-table-wubi* ubuntu-desktop*
unity-control-center* unity-control-center-signon*
升級 0 個,新安裝 0 個,移除 13 個,有 0 個未被升級。
1-2-1-2. 其中
ubuntu-desktop* unity-control-center* unity-control-center-signon*
被移除 將會影響 unity 桌面的正常運作
1-2-2. 意思是
不要輕易移除 安裝 Ubuntu 時 預裝的套件 例如 ibus
1-3. 登入 gnome / mate / mint 等等 非 unity 桌面 移除 ibus 可能沒有 1-2-1-2. 的困擾
2. 切換 ibus 跟 fcitx 使用 (不必加 sudo)
im-config -n ibus
im-config -n fcitx
登出再登入 或 重開機
2-1. 參見
http://manpages.ubuntu.com/manpages/xen ... fig.8.html
im-config - set up input method configuration for X Window System
-n <input method name>
Set input method to <input method name>. This option is for
other configuration tool to set the input method. Since the
default value of <input method name> is "auto", you usually do
not need to use this from other configuration script.
Specifying invalid <input method name> causes the error exit.
Updating the configuration file which was not updated by im-
config also causes the error exit.
When this <input method name> is "REMOVE" then it always
removes the configuration file even if it was not updated by
im-config.
3. 現在還有許多教材 教導網友使用 im-switch -s 的方法 切換中文輸入法
http://manpages.ubuntu.com/manpages/tru ... tch.8.html
im-switch - set up input method for X Window
3-1. 其實 在新版本 Ubuntu 不預裝(不使用) im-switch
im-switch 已經是將被淘汰的方法
3-2. im-config 預裝
im-switch 則需要手動增添
3-3. im-config 與 im-switch 不相容
意思是 安裝其中一種 會自動移除另外一種
3-4. im-config 與 im-switch 是同一個作者及維修者
因為 im-switch 有許多瑕疵 所以推出 im-config 來取代