全新安装 Ubuntu 16.04。从命令行启动 nautilus 会产生几个错误/警告:
(nautilus:6169): GLib-GIO-CRITICAL **: g_dbus_interface_skeleton_unexport: assertion 'interface_->priv->connections != NULL' failed
(nautilus:6169): GLib-GIO-CRITICAL **: g_dbus_interface_skeleton_unexport: assertion 'interface_->priv->connections != NULL' failed
(nautilus:6169): Gtk-CRITICAL **: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
(nautilus:6169): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(nautilus:6169): GLib-GObject-CRITICAL **: g_signal_connect_object: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
如何修复?
答案1
这是一个Nautilus 的已知错误. 尝试重新启动 Nautilus。
首先,终止现有进程:
killall nautilus
nautilus -q
然后再次启动它:
nautilus
希望这可以帮助。