This is a procedure to install Nemo File Manager on an Ubuntu Desktop to replace the Nautilus File Manager. This procedure replaces Nautilus with Nemo and configures Nemo to manage the desktop.
First remove Nautilus and its associations with the desktop:
sudo apt purge nautilus gnome-shell-extension-desktop-icons -y
sudo apt install nemo -y
Make Desktop assocations:
xdg-mime default nemo.desktop inode/directory application/x-gnome-saved-search gsettings set org.gnome.desktop.background show-desktop-icons false gsettings set org.nemo.desktop show-desktop-icons true
Set Nemo desktop Integration to start at login by editing a file:
sudo nano /etc/xdg/autostart/nemo-autostart.desktop
Insert the following data in the file:
[Desktop Entry] Type=Application Name=Files Exec=nemo-desktop OnlyShowIn=GNOME;Unity; X-Ubuntu-Gettext-Domain=nemo
Log off and back on. Launch nemo from the “show applications” icon and make it a favorite on your menu bar.