文档介绍:ubuntu下ibus的设置
ubuntu 装好后,默认的ibus输入法只能输入单个汉字,因此需要自己修改。首先在终端卸载ibus: sudo apt-get remove ibus 完成后运行安装 sudo apt-get install ibus sudo apt-get install ibus-pinyin 一般系统会提示: IBus 已经成功启动!如果你不能正常使用 IBus,请将下面代码加入到$HOME/.bashrc中,并重新登录桌面。 export GTK_IM_MODULE=ibus export XMODIFIE
ubuntu 装好后,默认的ibus输入法只能输入单个汉字,因此需要自己修改。首先在终端卸载ibus:
sudo apt-get remove ibus
完成后运行安装
sudo apt-get install ibus
sudo apt-get install ibus-pinyin
一般系统会提示:
IBus 已经成功启动!如果你不能正常使用 IBus,请将下面代码加入到$HOME/.bashrc中,并重新登录桌面。
export GTK_IM_MODULE=ibus
export XMODIFIERS=***@im=ibus
export QT_IM_MODULE=ibus
。此文件原内容如下蓝色部分所示,红色部分为根据系统添加的内容。
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
# don't put duplicate lines in the history. See bash(1) for more options
# don't overwrite GNU mander's setting of `ignorespace'.
HISTCONTROL=$HISTCONTROL${HISTCONTROL+,}ignoredups
# ... or force ignoredups and ignorespace
HISTCONTROL=ignoreboth
# append to the history file, don't overwrite it
shopt -s histappend
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
# check the window size after mand and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize
# make less more friendly for non-text