Ubuntu – Nautilus automatically browses as root

nautilusrootsudo

I used gksudo nautilus (not through the terminal but through the 'Open With' command) for some copy & paste stuff that requires root access.

But now whenever I open the file browser (Nautilus) to access my local folder, it doesn't open normally, but opens with root access as if I had used gksudo nautilus again.

Only Trash is able be to opened normally without any root access.

How can I get back the normal, unprivileged behavior for nautilus?

Best Answer

Go to the /home/user/.local/share/applications/ directory, in there is you users custom mime settings. One or more files will be called userapp-SOMETHING.desktop just delete the one causing problems - you can examine which one you need to delete by opening them with gedit.

You might have to re-login for changes to take affect but I don't think so.