Ubuntu 12.04安装gVim问题及解决
前两天重装了Ubuntu 12.04,在安装gVim的时候发生了一些不爽的事情,主要还是输入法冲突问题,具体如下:
1.启动超慢
启动慢可以用gvim -f解决,但治标不治本,后面一块解决
2.占用一个终端
可以在后面加“&”解决,但也不解决根本问题
3.打补丁之后还是有问题,每次退出后会输出一堆错误:
(gvim:28478): 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:28478): Gdk-CRITICAL **: IA__gdk_cairo_region: assertion `region != NULL' failed
(gvim:28478): Gdk-CRITICAL **: IA__gdk_cairo_region: assertion `region != NULL' failed
原因:输入法冲突 (之前已经卸载ibus装了fcitx,还是不行)
解决:由于fcitx-frontend-gtk2和gvim冲突造成的错误,可以通过sudo apt-get remove fcitx-frontend-gtk2解决。
之后问题解决,而且fcitx还能用!