Ubuntu was reinstalled two days ago. some unpleasant things occurred while installing gVim, mainly due to input method conflicts. Details are as follows: 1. you can use gvim-f to solve the problem of slow startup. if you use a terminal, you can add & ldquo; & amp; & rdquo; To solve the problem, but it does not solve the fundamental problem. A good method is to refer to the solution of the old brother on the Internet, obtain the vim source code, install patches, and compile and install vim: http: // www.
Two days ago, Ubuntu 12.04 was reinstalled. some unpleasant things occurred when gVim was installed, mainly due to input method conflicts. The details are as follows:
1. startup is too slow
You can use gvim-f to solve the problem of slow startup, but the symptoms are not the root cause.
2. Occupying a terminal
You can add "&" to solve the problem, but it does not solve the fundamental problem.
A good method is to refer to the network on the eldest brother of the way, their own obtain vim source code, patching, compilation and installation vim: http://www.linuxidc.com/Linux/2013-01/77314p2.htm
3. There is still a problem after patching. After each exit, a bunch of errors will be output:
(Gvim: 28478): Gdk-WARNING **: Using Cairo rendering requires the drawable argument
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'
Cause: Input Method conflict (I have uninstalled ibus and installed fcitx, but I still cannot)
Resolution: errors caused by fcitx-frontend-gtk2 conflicts with gvim can be addressed through the sudo apt-get remove fcitx-frontend-gtk2.
Then the problem is solved, and fcitx can be used!