ubuntu12.04 退出vim后出现很多错误的解决方法

34 篇文章 0 订阅

由于fcitx-frontend-gtk2和gvim冲突造成以下的错误sudo apt-get remove fcitx-frontend-gtk2解决:

(gvim:26240): Gdk-WARNING **: Using Cairo rendering requires the drawable argument to

have a specified colormap. All windows have a colormap,
however, pixmaps only have colormap by default if they
were created with a non-NULL window argument. Otherwise
a colormap must be set on them with gdk_drawable_set_colormap


(gvim:26240): Gdk-CRITICAL **: IA__gdk_cairo_region: assertion `region != NULL' failed


(gvim:26240): Gdk-CRITICAL **: IA__gdk_cairo_region: assertion `region != NULL' failed


(gvim:26240): Gdk-WARNING **: Using Cairo rendering requires the drawable argument to
have a specified colormap. All windows have a colormap,
however, pixmaps only have colormap by default if they
were created with a non-NULL window argument. Otherwise
a colormap must be set on them with gdk_drawable_set_colormap


(gvim:26240): Gdk-CRITICAL **: IA__gdk_cairo_region: assertion `region != NULL' failed


(gvim:26240): Gdk-CRITICAL **: IA__gdk_cairo_region: assertion `region != NULL' failed


另外还会有出现gvim启动以后出现死掉的状态,ibus与gvim冲突,可以这样解决

1
echo  'alias gvim="gvim -f"'  >> ~ /. bashrc
source ~ /. bashrc

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值