Whilst trying to fix a bug that gave me two occurrences of the 'Files' shortcut on the dash, one of which would never go away without a reboot, I navigated to /usr/share/applications/
and deleted all three desktop configuration files titled 'Files'. It turns out that none of these three were identical. One was 'org.gnome.Nautilus.desktop
', another was 'nautilus-folder-handler.desktop
', and the last was 'nautilus.desktop
'. I've got no idea which of these were important, but now that they're gone it's broken a few things. How can I get them back?
Ubuntu – Deleted all three ‘Files’ .desktop files in /usr/share/applications/ – how to get them back
18.04gnomenautilus
Best Answer
You could reinstall nautilus package with
This will give you back the
/usr/share/applications/org.gnome.Nautilus.desktop
file. I don't know where the others come from.Try to look for them with
apt-file
and
Of course, you need apt-file installed.
sudo apt install apt-file