Ubuntu 13.10 使用root帐号时打开gvim时产生警告

警告:

GLib-GObject-WARNING **: Attempt to add property GnomeProgram::sm-connect after class was initialised
GLib-GObject-WARNING **: Attempt to add property GnomeProgram::show-crash-dialog after class was initialised
GLib-GObject-WARNING **: Attempt to add property GnomeProgram::display after class was initialised
GLib-GObject-WARNING **: Attempt to add property GnomeProgram::default-icon after class was initialised

我暂时处理方法:

在root用户目录下的.bashrc文件中单独添加一行:alias gvim='gvim 2>/dev/null'


你可能感兴趣的:(ubuntu,gvim,warning)