gtk_icon_theme_get_for_screen 鹦鹉螺错误

gtk_icon_theme_get_for_screen error for nautilus

最近我将 ubuntu 14.04 更新为 Ubuntu 15.04。通常是鹦鹉螺。命令应该打开 GUI.However 中的目录,现在我收到如下错误。

最近的情况是什么以及解决它的任何解决方案

vanjikumaran@vanjikumaran-ThinkPad-T530:~$ nautilus .

(nautilus:7627): Gtk-CRITICAL **: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed

(nautilus:7627): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(nautilus:7627): GLib-GObject-CRITICAL **: g_signal_connect_object: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
vanjikumaran@vanjikumaran-ThinkPad-T530:~$

我和你有同样的问题,所以我尝试运行它作为root

sudo nautilus .

但是仍然有警告,所以我找到了解决方案here

最后我运行

sudo killall nautilus
sudo apt-get purge nautilus
sudo apt-get update
sudo apt-get install nautilus 

或者一行解决

sudo killall nautilus && sudo apt-get purge nautilus && sudo apt-get update && sudo apt-get install nautilus