gtk_icon_theme_get_for_screen error for nautilus
Asked Answered
L

1

8

Recently i have updated the ubuntu 14.04 to Ubuntu 15.04. Usually nautilus . command should open the directory in GUI.However, now i am getting the error like below.

What is the recent for that and any solution to solve it

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:~$
Lenitalenitive answered 15/7, 2015 at 19:46 Comment(0)
H
1

I have the same issue as you, so I tried to run it as root

sudo nautilus .

But there were still warnings, so I found solution here.

So finally I ran

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

Or one line solution

sudo killall nautilus && sudo apt-get purge nautilus && sudo apt-get update && sudo apt-get install nautilus
Husein answered 26/5, 2016 at 19:4 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.