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'


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章