6

Picture

When I try to open folders (Documents, Downloads, Music, Pictures and Videos) using right click on Files icon on the left bar the Files crashes.

I noticed that this only happens when I already have Files opened. How can I fix this? I was using it quite a lot on 20.04...

  • this looks like the same as the question here, and is a result of a Wayland bug. Switch to Xorg if you need this functionality. – Esther May 24 '22 at 15:34
  • Have you tried the solution shown in https://askubuntu.com/questions/1406294/nautilus-keeps-crashing-in-22-04 ? – xav Jul 20 '22 at 16:41

4 Answers4

8

This issue is a known bug that only occurs on Wayland. The workaround is to use Xorg:

  1. Log out
  2. On the bottom-right of the login screen, there should be a cog wheel icon. Click it, and select "Ubuntu on Xorg"
  3. Log in. You will now be using Xorg as your display manager.
Esther
  • 3,600
  • 13
  • 29
  • +1; I can't find the cog wheel on Ubuntu Desktop 22.04. But you can switch to Xorg with this method from another thread at AskUbuntu. – sudodus May 24 '22 at 18:03
  • when you move the cursor to the bottom right corner, it(cog wheel) shows u[ – lobjc Jun 26 '22 at 11:11
  • I've the same problem also on Ubuntu 22.10. Plus, nautilus also crashes when I search for a file, open a folder by double-clicking it and then use the "Back" button (either on the titlebar or the hardware button on the mouse). Both issues are present also in an Xorg session :( Nor does clearing the tracker3 cache help. – Philipp Burch Nov 12 '22 at 14:05
1

If you don't want to use X11, restarting Nautilus by running nautilus -q fixes the issue for me.

Nezuko
  • 31
1

Another option is getting rid of completely from nautilus. There are different file manager alternatives. I removed nautilus and installed dolphin and everything is OK.

makif
  • 11
  • While this might work for you. the question involves nautilus.

    The thing about nautilus in gnome 3 is that it is also largely supported by internal components that are reused by other apps.

    So it might not be nautilus itself that has the problem. You'll know this if apps that use the gnome3 file picker also crash in those same folders.

    – airtonix Jan 10 '24 at 21:58
1

I found myself having the same only for folders containing .json files, if I move them to another folder, I am able to open again