ubuntu12.04 gvim报错

来源:互联网 发布:柯蓝 知乎 编辑:程序博客网 时间:2024/06/11 03:40

由于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


原创粉丝点击