Skip to content

Instantly share code, notes, and snippets.

@lanrion
Last active March 24, 2024 07:10
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save lanrion/9826458 to your computer and use it in GitHub Desktop.
Save lanrion/9826458 to your computer and use it in GitHub Desktop.
ubuntu上安装 五笔输入法

基于 IBus 框架

 1、安裝IBus框架:

  在终端中输入:

         sudo apt-get install ibus ibus-clutter ibus-gtk ibus-gtk3 ibus-qt4

  有些版本自带了此输入法框架,则不需要安装。

 2、启用IBus框架 

 在终端中输入:

       im-switch -s ibus

 3、安装五笔引擎

 在终端中输入:

        sudo apt-get install ibus-table-wubi

4、重启IBus输入法框架

在终端中输入:

        killall ibus-daemon        ibus-daemon -drx

上面是两条命令,第一条是Kill掉ibus进程,第二条重启进程

 5、选择五笔输入法

     选择系统-》选项-》IBus选项,打开IBus选项对话框;接着选择第二个输入法选项卡,在下拉列表中选项刚才安装的输入法即可。

基于 fcitx

//先卸载IBUS输入法
killall ibus-daemon
sudo apt-get purge ibus ibus-gtk ibus-gtk3 ibus-pinyin* ibus-sunpinyin ibus-table python-ibus
rm -rf ~/.config/ibus
//安装fcitx输入法
sudo add-apt-repository ppa:fcitx-team/nightly
sudo apt-get update
sudo apt-get install fcitx-sogoupinyin

其他输入法

//拼音:
fcitx-pinyin、fcitx-sunpinyin、fcitx-googlepinyin,
//五笔:
fcitx-table、fcitx-table-wubi、fcitx-table-wbpy(五笔拼音混合)
@Linuxea
Copy link

Linuxea commented Oct 6, 2017

it doesn't work.

==========================
The following packages have unmet dependencies:
ibus-clutter : Depends: libclutter-imcontext-0.1-0 but it is not going to be installed
Depends: libclutter-imcontext-0.1-bin
E: Unable to correct problems, you have held broken packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment