您的位置:首页 > 其它

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

2012-11-08 15:49 337 查看
由于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

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐