nautilus will not open
Affected version
- Nightly flatpak: Can't test it because do not have flatpak
- Other:
- Manjaro 22.0.0 Sikaris
- nautilus 43.1-1 (extra) (repo (omg who is using animation in their navigation in their UI in 2022?!))
- xfwm4 version 4.16.1 (revision 5f61a84ad) for Xfce 4.16 Compiled against GTK+-3.24.30, using GTK+-3.24.35.
Steps to reproduce
- Open nautilus (via application finder or terminal)
Current behavior
Via application finder: Nothing happens.
Via terminal:
~ nautilus
Namespace Nautilus is already loaded with version 4.0
I tried all the options listed in --help-all
but other than -h
and --help-all
they all produced the same result as above.
Expected behavior
Nautilus should open.
Additional information
I have 2 machines with environment as described above although not identical in all other ways. This behaviour has been happening on both of them for a few weeks but not sure when it started. It is not intermittent; nautilus will absolutely not open. It is not running and cannot be killed. Details below are only from the machine I am currently using. I tried uninstalling and reinstalling and updating everything.
I searched this tracker and found similar sounding issues but I do not think the same. But I might be wrong I am just an end user. So apologies if duplication.
In another issue I saw someone had run this to produce more info:
~ G_MESSAGES_DEBUG=all nautilus
(org.gnome.Nautilus:11056): GLib-GIO-DEBUG: 16:58:27.337: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
(org.gnome.Nautilus:11056): GLib-GIO-DEBUG: 16:58:27.344: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ?gio-vfs?
(org.gnome.Nautilus:11056): Tracker-DEBUG: 16:58:27.352: Loading ontologies from database.
(org.gnome.Nautilus:11056): Tracker-DEBUG: 16:58:27.354: Applying ontologies from /usr/share/nautilus/ontology to existing database
(org.gnome.Nautilus:11056): Tracker-DEBUG: 16:58:27.356: Current and DB locales match: 'C'
(org.gnome.Nautilus:11056): Gtk-DEBUG: 16:58:27.486: Connecting to session manager
(org.gnome.Nautilus:11056): Gtk-DEBUG: 16:58:27.486: Failed to get the GNOME session proxy: The name org.gnome.SessionManager is not owned
(org.gnome.Nautilus:11056): Gtk-WARNING **: 16:58:27.491: Theme parser error: gtk.css:1777:3-26: No property named "-GtkArrow-arrow-scaling"
(org.gnome.Nautilus:11056): Gtk-WARNING **: 16:58:27.495: Theme parser error: gtk.css:4505:31-35: Junk at end of value for -gtk-icon-shadow
(org.gnome.Nautilus:11056): Gtk-WARNING **: 16:58:27.495: Theme parser error: gtk.css:4509:31-35: Junk at end of value for -gtk-icon-shadow
(org.gnome.Nautilus:11056): Gtk-WARNING **: 16:58:27.496: Theme parser error: gtk.css:4545:18-22: Negative values are not allowed
(org.gnome.Nautilus:11056): Gtk-WARNING **: 16:58:27.496: Theme parser error: gtk.css:4703:21-28: Expected a valid color.
(org.gnome.Nautilus:11056): Gtk-WARNING **: 16:58:27.497: Theme parser error: gtk.css:4797:21-28: Expected a valid color.
(org.gnome.Nautilus:11056): Gtk-WARNING **: 16:58:27.497: Theme parser error: gtk.css:4927:21-28: Expected a valid color.
(org.gnome.Nautilus:11056): Gtk-WARNING **: 16:58:27.497: Theme parser error: gtk.css:5015:20-21: Unit is missing.
(org.gnome.Nautilus:11056): GLib-GIO-DEBUG: 16:58:27.738: _g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’
(org.gnome.Nautilus:11056): dconf-DEBUG: 16:58:27.738: watch_fast: "/org/gnome/nautilus/preferences/" (establishing: 0, active: 0)
(org.gnome.Nautilus:11056): dconf-DEBUG: 16:58:27.739: watch_fast: "/org/gnome/nautilus/compression/" (establishing: 0, active: 0)
(org.gnome.Nautilus:11056): dconf-DEBUG: 16:58:27.739: watch_fast: "/org/gnome/nautilus/window-state/" (establishing: 0, active: 0)
(org.gnome.Nautilus:11056): dconf-DEBUG: 16:58:27.739: watch_fast: "/org/gnome/nautilus/icon-view/" (establishing: 0, active: 0)
(org.gnome.Nautilus:11056): dconf-DEBUG: 16:58:27.739: watch_fast: "/org/gnome/nautilus/list-view/" (establishing: 0, active: 0)
(org.gnome.Nautilus:11056): dconf-DEBUG: 16:58:27.739: watch_fast: "/org/gtk/gtk4/settings/file-chooser/" (establishing: 0, active: 0)
(org.gnome.Nautilus:11056): dconf-DEBUG: 16:58:27.739: watch_fast: "/org/gnome/desktop/lockdown/" (establishing: 0, active: 0)
(org.gnome.Nautilus:11056): dconf-DEBUG: 16:58:27.739: watch_fast: "/org/gnome/desktop/interface/" (establishing: 0, active: 0)
(org.gnome.Nautilus:11056): dconf-DEBUG: 16:58:27.739: watch_fast: "/org/gnome/desktop/privacy/" (establishing: 0, active: 0)
(org.gnome.Nautilus:11056): dconf-DEBUG: 16:58:27.739: watch_established: "/org/gnome/nautilus/preferences/" (establishing: 1)
(org.gnome.Nautilus:11056): dconf-DEBUG: 16:58:27.739: watch_established: "/org/gnome/nautilus/compression/" (establishing: 1)
(org.gnome.Nautilus:11056): dconf-DEBUG: 16:58:27.739: watch_established: "/org/gnome/nautilus/window-state/" (establishing: 1)
(org.gnome.Nautilus:11056): dconf-DEBUG: 16:58:27.740: watch_established: "/org/gnome/nautilus/icon-view/" (establishing: 1)
(org.gnome.Nautilus:11056): dconf-DEBUG: 16:58:27.740: watch_established: "/org/gnome/nautilus/list-view/" (establishing: 1)
(org.gnome.Nautilus:11056): dconf-DEBUG: 16:58:27.740: watch_established: "/org/gtk/gtk4/settings/file-chooser/" (establishing: 1)
(org.gnome.Nautilus:11056): dconf-DEBUG: 16:58:27.740: watch_established: "/org/gnome/desktop/lockdown/" (establishing: 1)
(org.gnome.Nautilus:11056): dconf-DEBUG: 16:58:27.740: watch_established: "/org/gnome/desktop/interface/" (establishing: 1)
(org.gnome.Nautilus:11056): dconf-DEBUG: 16:58:27.740: watch_established: "/org/gnome/desktop/privacy/" (establishing: 1)
(org.gnome.Nautilus:11056): GLib-DEBUG: 16:58:27.774: setenv()/putenv() are not thread-safe and should not be used after threads are created
Namespace Nautilus is already loaded with version 4.0
My eyes immediately went to the the only thing I know anything (not much) about, which is theming. I wondered if the messy custom themes I am running were causing the problem so I changed to Default
for xfwm4 theme (in Window Manager setting panel) and Adapta
for the gtk theme (in Appearance setting panel). I also ran xfwm4 --replace &
after to restart the WM because occasionally that solves something. The above is from after this.
So I was looking at this line:
Theme parser error: gtk.css:1777:3-26: No property named "-GtkArrow-arrow-scaling"
And went into my themes directory to look for this and found:
~ ag "GtkArrow-arrow-scaling" | ag 1777
Fluent-Dark-compact/gtk-4.0/gtk.css:1777: -GtkArrow-arrow-scaling: 1;
Fluent-compact/gtk-4.0/gtk-dark.css:1777: -GtkArrow-arrow-scaling: 1;
Fluent/gtk-4.0/gtk-dark.css:1777: -GtkArrow-arrow-scaling: 1;
Fluent-Light-compact/gtk-4.0/gtk.css:1777: -GtkArrow-arrow-scaling: 1;
Fluent-Light-compact/gtk-4.0/gtk-dark.css:1777: -GtkArrow-arrow-scaling: 1;
Fluent-Light/gtk-4.0/gtk.css:1777: -GtkArrow-arrow-scaling: 1;
Fluent-Light/gtk-4.0/gtk-dark.css:1777: -GtkArrow-arrow-scaling: 1;
Fluent-Dark/gtk-4.0/gtk.css:1777: -GtkArrow-arrow-scaling: 1;
And I also tried the same for another line,
gtk.css:4505:31-35: Junk at end of value for -gtk-icon-shadow
with similar result:
~ ag "gtk-icon-shadow" | ag 4505
Fluent-Dark-compact/gtk-4.0/gtk.css:4505: -gtk-icon-shadow: 0 3px 2px -2px rgba(0, 0, 0, 0.2), 0 3px 2.4px 0 rgba(0, 0, 0, 0.14), 0 1px 4.8px 0 rgba(0, 0, 0, 0.12);
Fluent-compact/gtk-4.0/gtk-dark.css:4505: -gtk-icon-shadow: 0 3px 2px -2px rgba(0, 0, 0, 0.2), 0 3px 2.4px 0 rgba(0, 0, 0, 0.14), 0 1px 4.8px 0 rgba(0, 0, 0, 0.12);
Fluent/gtk-4.0/gtk-dark.css:4505: -gtk-icon-shadow: 0 3px 2px -2px rgba(0, 0, 0, 0.2), 0 3px 2.4px 0 rgba(0, 0, 0, 0.14), 0 1px 4.8px 0 rgba(0, 0, 0, 0.12);
Fluent-Light-compact/gtk-4.0/gtk.css:4505: -gtk-icon-shadow: 0 3px 2px -2px rgba(0, 0, 0, 0.2), 0 3px 2.4px 0 rgba(0, 0, 0, 0.14), 0 1px 4.8px 0 rgba(0, 0, 0, 0.12);
Fluent-Light-compact/gtk-4.0/gtk-dark.css:4505: -gtk-icon-shadow: 0 3px 2px -2px rgba(0, 0, 0, 0.2), 0 3px 2.4px 0 rgba(0, 0, 0, 0.14), 0 1px 4.8px 0 rgba(0, 0, 0, 0.12);
Fluent-Light/gtk-4.0/gtk.css:4505: -gtk-icon-shadow: 0 3px 2px -2px rgba(0, 0, 0, 0.2), 0 3px 2.4px 0 rgba(0, 0, 0, 0.14), 0 1px 4.8px 0 rgba(0, 0, 0, 0.12);
Fluent-Light/gtk-4.0/gtk-dark.css:4505: -gtk-icon-shadow: 0 3px 2px -2px rgba(0, 0, 0, 0.2), 0 3px 2.4px 0 rgba(0, 0, 0, 0.14), 0 1px 4.8px 0 rgba(0, 0, 0, 0.12);
Fluent-Dark/gtk-4.0/gtk.css:4505: -gtk-icon-shadow: 0 3px 2px -2px rgba(0, 0, 0, 0.2), 0 3px 2.4px 0 rgba(0, 0, 0, 0.14), 0 1px 4.8px 0 rgba(0, 0, 0, 0.12);
Fluent is a theme I installed manually from this repo but do not use in particular. I do not know why Nautilus is looking at it.
I uninstalled the Fluent theme and tried again. Unfortunately same result (no nautilus) however the output changed:
~ G_MESSAGES_DEBUG=all nautilus
(org.gnome.Nautilus:12026): GLib-GIO-DEBUG: 17:24:51.595: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
(org.gnome.Nautilus:12026): GLib-GIO-DEBUG: 17:24:51.601: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ?gio-vfs?
(org.gnome.Nautilus:12026): Tracker-DEBUG: 17:24:51.609: Loading ontologies from database.
(org.gnome.Nautilus:12026): Tracker-DEBUG: 17:24:51.611: Applying ontologies from /usr/share/nautilus/ontology to existing database
(org.gnome.Nautilus:12026): Tracker-DEBUG: 17:24:51.612: Current and DB locales match: 'C'
(org.gnome.Nautilus:12026): Gtk-DEBUG: 17:24:51.720: Connecting to session manager
(org.gnome.Nautilus:12026): Gtk-DEBUG: 17:24:51.720: Failed to get the GNOME session proxy: The name org.gnome.SessionManager is not owned
(org.gnome.Nautilus:12026): GLib-GIO-DEBUG: 17:24:51.955: _g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’
(org.gnome.Nautilus:12026): dconf-DEBUG: 17:24:51.955: watch_fast: "/org/gnome/nautilus/preferences/" (establishing: 0, active: 0)
(org.gnome.Nautilus:12026): dconf-DEBUG: 17:24:51.955: watch_fast: "/org/gnome/nautilus/compression/" (establishing: 0, active: 0)
(org.gnome.Nautilus:12026): dconf-DEBUG: 17:24:51.955: watch_fast: "/org/gnome/nautilus/window-state/" (establishing: 0, active: 0)
(org.gnome.Nautilus:12026): dconf-DEBUG: 17:24:51.955: watch_fast: "/org/gnome/nautilus/icon-view/" (establishing: 0, active: 0)
(org.gnome.Nautilus:12026): dconf-DEBUG: 17:24:51.956: watch_fast: "/org/gnome/nautilus/list-view/" (establishing: 0, active: 0)
(org.gnome.Nautilus:12026): dconf-DEBUG: 17:24:51.956: watch_fast: "/org/gtk/gtk4/settings/file-chooser/" (establishing: 0, active: 0)
(org.gnome.Nautilus:12026): dconf-DEBUG: 17:24:51.956: watch_fast: "/org/gnome/desktop/lockdown/" (establishing: 0, active: 0)
(org.gnome.Nautilus:12026): dconf-DEBUG: 17:24:51.956: watch_fast: "/org/gnome/desktop/interface/" (establishing: 0, active: 0)
(org.gnome.Nautilus:12026): dconf-DEBUG: 17:24:51.956: watch_fast: "/org/gnome/desktop/privacy/" (establishing: 0, active: 0)
(org.gnome.Nautilus:12026): dconf-DEBUG: 17:24:51.956: watch_established: "/org/gnome/nautilus/preferences/" (establishing: 1)
(org.gnome.Nautilus:12026): dconf-DEBUG: 17:24:51.956: watch_established: "/org/gnome/nautilus/compression/" (establishing: 1)
(org.gnome.Nautilus:12026): dconf-DEBUG: 17:24:51.956: watch_established: "/org/gnome/nautilus/window-state/" (establishing: 1)
(org.gnome.Nautilus:12026): dconf-DEBUG: 17:24:51.956: watch_established: "/org/gnome/nautilus/icon-view/" (establishing: 1)
(org.gnome.Nautilus:12026): dconf-DEBUG: 17:24:51.956: watch_established: "/org/gnome/nautilus/list-view/" (establishing: 1)
(org.gnome.Nautilus:12026): dconf-DEBUG: 17:24:51.956: watch_established: "/org/gtk/gtk4/settings/file-chooser/" (establishing: 1)
(org.gnome.Nautilus:12026): dconf-DEBUG: 17:24:51.956: watch_established: "/org/gnome/desktop/lockdown/" (establishing: 1)
(org.gnome.Nautilus:12026): dconf-DEBUG: 17:24:51.956: watch_established: "/org/gnome/desktop/interface/" (establishing: 1)
(org.gnome.Nautilus:12026): dconf-DEBUG: 17:24:51.956: watch_established: "/org/gnome/desktop/privacy/" (establishing: 1)
(org.gnome.Nautilus:12026): GLib-DEBUG: 17:24:51.990: setenv()/putenv() are not thread-safe and should not be used after threads are created
Namespace Nautilus is already loaded with version 4.0
So I managed to eliminate a few lines although I have no idea why and probably it is of no use.
The only other useful (or not) contribution I have is that the above did remind me that when I was looking on reddit I found this thread from a couple weeks ago: Lxappearance doesn't work on nautilus after recent update. But I do not know if it is related.
I did try running GTK_THEME=Adapta nautilus
with and without G_MESSAGES_DEBUG=all
, before and after removing the Fluent theme and it made no difference in any case. In the past I have noticed nautilus doesn't totally jive with gtk themes in xfce, such as if you change the theme sometimes it doesn't keep up, which is not something I have noticed from any other application. But I do not know how to reproduce it reliably and that would be solved by killing nautilus. But maybe there is something funny happening.