Nautilus keeps getting stuck on opening

I see this as well. How frequent is probably a matter of perception. I would probably say 'occasionally' in my case.

I also find that a minimized Nautilus sometimes will not restore to an open window. In this case, it has already been launched and a process is running. Using 'Quit' from rt.-click menu fails to close it. Kill is the only option.

You already tried a Reinstall ... maybe we should try it a different Way: with Uninstall and then install again.

So, first type sudo apt purge nautilus and then make a sudo apt autoremove and after this reboot. Then install nautilus with sudo apt install nautilus

for my part I tried it all of this

It's so unpredictable that it's extremely hard to understand what the problem is. Mine is opening fine again. I can't even try to understand the pattern for the failure because it works randomly (or maybe the pattern is just even more unexpected)

1 Like

it can work fine for a day and the next day it stuck many time, I spent hours to try to find a way...

1 Like

I made two other observations:

1- When I try to permanently delete a file, the dialog box no longer plays a sound. I then tested it with Nemo, and the dialog box sound is present there.

2- There's a problem displaying thumbnails for PNG and SVG files, which show the transparent background of the images.

some more clues and investigation:

I realized that if I leave a nautilus window always open, then it will keep working. If I close that window and open it again, it works.
It seems to me that the problem reappears after it is closed for some time...

Yeah the same...

@AZorin sorry to bother you, do you have an idea about this problem please ?

This is not a permanent fix but the freqency of crash is reduce, try that :

sudo sh -c 'echo "GSK_RENDERER=cairo" >> /etc/environment'

or that:

sudo sh -c 'echo "GSK_RENDERER=gl" >> /etc/environment'

Then reboot, you can't have both in the evironment file.

The second for me really reduce the freqency but it's not perfect

1 Like

Settings>System>System Details>(Software Information - windowing system) on Z18

1 Like

This problem seems to be "spreading" to other apps as well.
Yesterday I was trying to open an image (using the default image viewer) and it didn't open. Then after 2minutes it opened out of the blue.
Same with firefox file dialogs.

Not very reassuring, still unresolved under Gnome 49

https://gitlab.gnome.org/GNOME/nautilus/-/issues/4035

since 2 days I don't have the problem, what I did :

  1. I disabled canberra (gtk sound, I had error with some apps)
gsettings set org.gnome.settings-daemon.plugins.xsettings disabled-gtk-modules "['canberra-gtk-module']"

systemctl --user restart org.gnome.SettingsDaemon.XSettings.target
  1. I remove folder color
sudo apt remove folder-color

for now it seem working fine, if you can test and tell me if it work for you it could be great

Not sure if related. I never had crashes while navigating folders, its always on starting.
Will try your suggested fixes, thanks!

So do I but some people have the second pronlem also.
since this fix I don't have stuck problem anymore.

I tried the canberra thing first, but nautilus didn't start. Then I removed the folder-colors and the problem seems to be solved!
Probably that's the guilty one!

great I'm glad :wink:

I add a trick if you have thumbnails problem: