标签:
(gvim:3572): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::sm-connect after class was initialised (gvim:3572): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::show-crash-dialog after class was initialised (gvim:3572): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::display after class was initialised (gvim:3572): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::default-icon after class was initialised
解决方法:
在启动gvim时,把标准错误重定向一下就好了...
在.bashrc中加入如下语句:
alias gvim=‘gvim 2>/dev/null‘
这样就能把提示出的warning重定向到/dev/null中了,控制台中就不会出现上述warning了。
ubuntu 14.04 安装gvim 后报出warning
标签:
原文地址:http://www.cnblogs.com/flymood/p/4878721.html