Nautilus Won’t Launch – How to Fix Nautilus Not Launching on Ubuntu 16.04

16.04nautilus

If I try to launch Nautilus in whatever way (from Unity, Terminal), it doesn't launch. Terminal gives me these outputs:

launch

name@machine:~$ nautilus

(nautilus:4367): GLib-GIO-ERROR **: Settings schema 'org.gnome.nautilus.preferences' is not installed

Trasovací/ladící past (SIGTRAP) (core dumped [obraz paměti uložen])

launch with sudo

name@machine:~$ sudo nautilus

(nautilus:4672): Gtk-WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files

(nautilus:4672): GLib-GIO-ERROR **: Settings schema 'org.gnome.nautilus.preferences' is not installed

Trasovací/ladící past (SIGTRAP) (core dumped [obraz paměti uložen])

check

name@machine:~$ nautilus -c
running nautilus_self_check_file_utilities
running nautilus_self_check_file_operations
running nautilus_self_check_directory

(nautilus:4689): GLib-GIO-ERROR **: Settings schema 'org.gnome.nautilus.preferences' is not installed

Trasovací/ladící past (SIGTRAP) (core dumped [obraz paměti uložen])

I tried to reinstall Nautilus (with purge), reboot, remove ~/.config/nautilus, step by step at first and then all at once but nothing worked. I haven't changed any configuration or made any significant changes in Ubuntu system since installation. Yesterday Nautilus worked, today doesn't. Does anybody know how to fix it?

Best Answer

The schema org.gnome.nautilus.preferences is defined in the file /usr/share/glib-2.0/schemas/org.gnome.nautilus.gschema.xml which is in the package nautilus-data. Maybe it got damaged somehow.

Use

sudo apt-get install --reinstall nautilus-data

to install that package again.