分页: 1 / 1
一打开终端就提示“no command 'ibus' found,did you mean
发表于 : 2010-01-05 23:06
由 hwlubuntu
不知道为什么现在 一打开终端就提示“no command 'ibus' found,did you mean
Command 'bus' from package 'atm-tools' (universe)
Command 'bibus' from package 'bibus' (universe)
ibus: command not found
自从安装ibus 后一直都用的好好的,但不知为什么今天突然就这样了。
请各位指教!
Re: 一打开终端就提示“no command 'ibus' found,did you mean
发表于 : 2010-01-05 23:41
由 if0else1
输入法问题?
Re: 一打开终端就提示“no command 'ibus' found,did you mean
发表于 : 2010-01-06 0:48
由 adagio
.bashrc出问题了吧,贴上来看看
Re: 一打开终端就提示“no command 'ibus' found,did you mean
发表于 : 2010-01-06 15:52
由 hwlubuntu
我也不知是不是输入法的问题,前几天刚装的ubuntu ,输入法也一直都用的好好的,只是昨天开始才出现这个问题。
以下是.bashrc,麻烦各位了。
代码: 全选
# System-wide .bashrc file for interactive bash(1) shells.
# To enable the settings / commands in this file for login shells as well,
# this file has to be sourced in /etc/profile.
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize
# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then
debian_chroot=$(cat /etc/debian_chroot)
fi
# set a fancy prompt (non-color, overwrite the one in /etc/profile)
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
# Commented out, don't overwrite xterm -T "title" -n "icontitle" by default.
# If this is an xterm set the title to user@host:dir
#case "$TERM" in
#xterm*|rxvt*)
# PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
# ;;
#*)
# ;;
#esac
# enable bash completion in interactive shells
#if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
# . /etc/bash_completion
#fi
# sudo hint
if [ ! -e $HOME/.sudo_as_admin_successful ]; then
case " $(groups) " in *\ admin\ *)
if [ -x /usr/bin/sudo ]; then
cat <<-EOF
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
EOF
fi
esac
fi
# if the command-not-found package is installed, use it
if [ -x /usr/lib/command-not-found ]; then
function command_not_found_handle {
# check because c-n-f could've been removed in the meantime
if [ -x /usr/lib/command-not-found ]; then
/usr/bin/python /usr/lib/command-not-found -- $1
return $?
else
return 127
fi
}
fi
[/size]
Re: 一打开终端就提示“no command 'ibus' found,did you mean
发表于 : 2010-01-06 16:42
由 hwlubuntu
现在又发现了一个问题,我在右键中创建了“打开终端”的快捷方式,当点击鼠标右键,选择打开终端时就会出现上面所说的问题。
但如果我是在 Applications->Accessories->Terminal 里打开终端,则不会出现上面所说的问题,一却正常。
请问这是怎么回事?
Re: 一打开终端就提示“no command 'ibus' found,did you mean
发表于 : 2010-01-06 20:40
由 hwlubuntu
麻烦各位指点
Re: 一打开终端就提示“no command 'ibus' found,did you mean
发表于 : 2010-01-07 12:40
由 adagio
加入这个试试
代码: 全选
export XMODIFIERS=@im=ibus
export GTK_IM_MODULE=xim
export QT_IM_MODULE=xim
Re: 一打开终端就提示“no command 'ibus' found,did you mean
发表于 : 2012-10-04 19:47
由 18675890558
正于上面说的,是.bashrc被改写过了。我的时这样这、解决的。
$: cp .bashrc~ .bashrc
恢复一下就好了