Nautilus不会发布

如果我尝试以任何方式(从Unity,终端)启动Nautilus,它就不会启动。 终端给我这些输出:

发射

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]) 

与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]) 

校验

 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]) 

我尝试重新安装Nautilus(带清除),重新启动,先删除〜/ .config / nautilus,然后一步一步,但一切都没有用。 自安装以来,我没有更改任何配置或在Ubuntu系统中进行任何重大更改。 昨天Nautilus工作,今天没有。 有人知道如何解决它吗?

模式org.gnome.nautilus.preferences在文件/usr/share/glib-2.0/schemas/org.gnome.nautilus.gschema.xml定义,该文件位于包nautilus-data 。 也许它以某种方式受损了。

使用

 sudo apt-get install --reinstall nautilus-data 

再次安装该包。

对我来说,终止正在运行的nautilus进程并重新启动它是有效的。

 ps awx | grep nautilus 

我找到了进程ID,然后终止了它

 sudo kill -TERM  

killall nautilus

将杀死所有实例。