Why, when I run "gvim" from Terminal on Ubuntu 10.04 Linux, do I get the GLib-GObject-CRITICAL gvim error?

When I run gVim from a terminal on Ubuntu 10.04 with Gnome, I get this error:

(gvim:6226): GLib-GObject-CRITICAL **: g_object_ref: assertion `object->ref_count > 0' failed

It seems that every time, except that the number between the paranas is (gvim: )always a little different. How can I fix this without doing

gksudo gvim

?

which, by the way, starts gVim without loading my .vimrc file and which is also annoying because of the need to enter a password every time.

+3
source share
3 answers

Apparently, I think the problem was in the blackboard.vim colorscheme that I used. I switched from this version of blackboard.vim

http://www.vim.org/scripts/script.php?script_id=2280

http://concisionandconcinnity.blogspot.com/2009/07/vim-part-i-improved-python-syntax.html

.

0

gksudo gvim gvim root, .vimrc , .vimrc /root ( ).

, ~/.vimrc, gksudo .

, gvim, Ubuntu, , GTK/GLib. ~/.bashrc, :

alias gvim="gvim $@ &> /dev/null"
+2

root, , ~/.vimrc. vim -u NONE, .vimrc. .

0

Source: https://habr.com/ru/post/1771027/


All Articles