Gvim GLib-GObject-WARNING in ubuntu 13.10

This doesn't fix your issue, but I tried removing and installing vim-gnome and had the same problem. So, I removed vim-gnome and installed vim-gtk and it works fine.


I was seeing this in 14.04. But I only had vim-gnome installed. Removing vim-gnome and installing vim-gtk works without any error messages.

sudo apt-get -y remove vim-gnome
sudo apt-get install vim-gtk

For solving this, I added an alias to run gvim with all stderr messages discarded.

Just add the following line to your .bashrc file:

alias gvim="gvim 2>/dev/null"

I hate these types of errors and warnings when the program I'm using is beyond my control and it prints a lot of these which distract me from what I'm doing.

Tags:

Vim

Glib

Gvim