8

I have an issue where almost every time I use the Files file explorer it hangs and fails to open.

I found a temporary workaround on this thread which suggests doing a sudo killall nautilus to kill nautilus, which works, but I don't understand why I have to do this.

I am running Ubuntu 16.04.1 LTS.

crmpicco
  • 213
  • 1
  • 3
  • 7
  • did you try reinstall nautilus in case something needed got uninstalled while uninstalling something else ? or did this error happen right after ubuntu installation ? – Pavlos Theodorou Jan 27 '17 at 08:22

3 Answers3

8

Try to remove it, do a repo/dependency cleanup, and reinstall it.

sudo apt-get remove nautilus

Cleanup:

sudo apt-get autoremove
sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install nautilus
muru
  • 193,181
  • 53
  • 473
  • 722
Watercolours
  • 204
  • 1
  • 2
2

I solved this adding following lines:

vm.dirty_background_ratio = 5
vm.dirty_ratio = 10

into /etc/sysctl.conf

and running

sudo sysctl -p

Found in this thread: System freezes/unresponsive/unusable when copying large file to USB

linuxmarc
  • 119
  • 8
0

Reinstalling Nautilus was not enough for me but the problem resolved when I changed and re-set region & language settings and logged back in.

anon
  • 1