9

"Files" File manager is not working on my Ubuntu 20.04 system.

If I try to open it from terminal by using nautilus command, still nothing is happening.

But if I try with sudo nautilus command then It can open. But each time I dont want to open it through terminal command. I want it to open through UI only as it was working before.

I had recently installed docker on my system. I thought this was happening because of docker installation. so I completely uninstalled docker using these steps, but still issue has not solved.

I have also tried below solutions. But nothing has worked for me.

  1. reinstalling nautilus-data using below command
sudo apt-get install --reinstall nautilus-data
  1. terminating the running nautilus process and restarting it using below commands
ps awx | grep nautilus
sudo kill -TERM <id>
  1. Uninstalling and reinstalling Nautilus

sudo apt-get remove nautilus

sudo apt-get autoremove sudo apt-get clean sudo apt-get update sudo apt-get upgrade sudo apt-get install nautilus

Cadoiz
  • 278
Vishal
  • 131

2 Answers2

4

Question

The issue was I had changed ownership of nautilus to root user only while doing something. Because of that I was not able to start nautilus from terminal OR "Files" from UI as a my regular USER.

Thanks to @guiverc. His Comment helped me to understand what exactly was happened.

Solution:

  1. I started nautilus through sudo nautilus command.
  2. In home directory right click and selected Properties.
  3. In permissions tab changed user to my USER. Now I can open "Files" as it was working before.
Cadoiz
  • 278
Vishal
  • 131
0

This worked for me

mv ~/.config/nautilus ~/.config/nautilus_backup

Magnus
  • 101