68

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?

2
  • 1
    After seeing what you have tried already, this looks like something you can't fix yourself. I suggest you report this as a bug at bugs.launchpad.net.
    – Jos
    Commented May 10, 2016 at 8:32
  • sudo killall nautilus; sudo apt-get install --reinstall nautilus nautilus-data gnome-system-monitor; journalctl -f; nautilus -c
    – rwcommand
    Commented Sep 2, 2023 at 9:37

3 Answers 3

156

For me terminating the running nautilus process and restarting it worked.

ps awx | grep nautilus

I found the process id and then terminated it with

sudo kill -TERM <id>
6
  • 1
    That is what sometimes happens on my Ubuntu GNOME 16.04 and your solution is exactly what I've needed.
    – hata
    Commented Oct 30, 2017 at 14:30
  • 9
    Or you can kill it from process monitor.
    – Vicky
    Commented Dec 9, 2017 at 14:53
  • wow.. this piece of code helped me. Thanks
    – MagePsycho
    Commented Jan 23, 2018 at 11:43
  • 3
    Commands didn't help me (or maybe I used the wrong ID), but killing nautilus from the system monitor did it for me. Thanks! Commented Mar 25, 2018 at 19:29
  • 1
    Still works on Ubuntu 20.04 Commented Nov 20, 2020 at 4:40
26

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.

4
  • That file had been missing completely. Solution worked, thank you. I thought it could be caused by some broken or missing file. Are you specialist or do you found out that somehow? Is there a way how to recognize, which package has broken or missing file (at least the missing one, broken files are always difficult to spot)? Why nautilus-data cannot be removed if I purge nautilus and with all its no longer used dependencies (is it used by another gnome-based package)?
    – aleskva
    Commented May 10, 2016 at 17:26
  • 4
    in my case it still doesn't work. I had to execute sudo nautilus ... Commented Nov 12, 2016 at 14:25
  • @bogdan.rusu Same here
    – Jan M.
    Commented Dec 23, 2016 at 12:06
  • 1
    The correct answer should be @Efi Kaltirimidou Commented May 23, 2019 at 8:00
19

killall nautilus

will kill all instances.

1
  • 2
    By far the simplest solution. Should be the top answer. Commented Mar 13, 2021 at 4:20

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .