Ubuntu – Remove “Restore Missing Files…” from the context menu in Nautilus

nautilus

I don't use Backups in my PC, since I don't have enough hard drive space. How can I remove the "Restore Missing Files…" entry from my context menu?

Best Answer

The extension for this menu entry is in the package deja-dup.

% apt-file search /usr/lib/nautilus/extensions-3.0/libdeja-dup.so
deja-dup: /usr/lib/nautilus/extensions-3.0/libdeja-dup.so

Therefore and as you don't use backups (really? You should read this.), a simple solution. Remove Déjà Dup from your system:

sudo apt-get remove deja-dup

and the menu entry will disappear.

Unfortunately this solution is like you having cancer and not wanting to take any chemo-therapy because it makes you feel bad. The better solution is to actually do backups, because otherwise we'll see each other again in a few years when your hard drive blows up and you've lost all your data!