I just installed Ubuntu and I want to replace nautilus with Nemo. I first installed Nemo by using the following commands:
sudo add-apt-repository ppa:embrosyn/cinnamon
sudo apt-get update
sudo apt-get install nemo
I then used the following commands to set Nemo as the default file manager:
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
I learned these commands from this post. However, I receive the following error:
> GLib-GIO-Message: 15:22:17.302: Using the 'memory' GSettings backend.
> Your settings will not be saved or shared with other applications.
Edit:
I found a fix for this error which can be found in my answer below. The accepted answer provides an updated set of instructions to make Nemo the default file manager in recent versions of Ubuntu (18.04+ at the time of writing).
If your problem is that you have Anaconda installed and it has changed some things in your
~/.bashrc
file, read this answer by the OP.Otherwise, here are my generic instructions on...
How to install Nemo and set it as the default file manager in Ubuntu 18.04, 20.04, etc.:
nemo
overnautilus
? See the several screenshots at the very end showing the great usage of space and features whichnemo
has.This works for me: https://itsfoss.com/install-nemo-file-manager-ubuntu/
To use Nemo instead of Nautilus as your default file manager, including to manage desktop icons, do:
[also do this for Ubuntu 20.04 or later START]
(I can't remember if this is required for Ubuntu 18.04 too or not, but I had to do it on Ubuntu 20.04)
ON UBUNTU 20.04, you must also change a setting in the new "Extensions" program which we just installed (or "activated", maybe?--I'm not sure) above with
sudo apt install gnome-tweak-tool
. Press your Super key (Windows key on a PC keyboard, or Command key on a Mac running Linux), then type in "extensions", and click the Extensions program:Inside this program, click the slider to turn off "Desktop Icons", as shown below. This turns OFF the nautilus desktop icons so that we can just have the nemo desktop icons instead. If you don't do this, you'll get a weird desktop with unusable nautilus desktop icons covered up by usable nemo desktop icons, as shown a couple images down.
Here's a snapshot of my desktop:
Before:
(Shows the newly-activated nemo desktop superimposed on top of the now-unusable nautilus desktop):
After:
(Now shows just the newly-activated nemo desktop, with the default Ubuntu gnome nautilus desktop icons now disabled, as I want):
[also do this for Ubuntu 20 or later END]
Now add the command
nemo-desktop
to your startup applications to turn on the nemo desktop icons at every boot.Reboot (or just log out and then log back in) and run
xdg-open $HOME
to ensure it opens up your home folder in nemo now, and NOT in nautilus like it used to.Set up nemo desktop icons:
If you want your Computer, Home, Trash, etc. icons on your desktop again (you can see some of these shown in a screenshot farther below), see Mark Greaves' answer here. In my own words: ensure dconf-editor is installed:
Press your Super key (Windows key on a PC keyboard, or Command key on a Mac running Linux), then type in "dconf editor", and click the program:
Navigate to: org --> nemo--> desktop. You have options to show the following 5 things. Enable whichever ones you like. I recommend you don't change anything else unless you know exactly what you're doing:
To change the desktop icon size when using Nemo as your file manager:
In Ubuntu 18.04, simply right-click on the desktop and go to Desktop --> Icon Size, as shown here:
In Ubuntu 20.04, you'll have to right-click on the desktop and then go to "Customize". It brings up a new window as shown below. I've highlighted a few things you may want to customize. One of them is a drop-down menu for "Icon Size", for example. The sliders at the bottom and right can be used to adjust horizontal and vertical desktop icon grid spacing, respectively.
To go back to using Nautilus instead of Nemo:
And remove the
nemo-desktop
command from your startup applications.To choose which desktop options to display in Nautilus:
For Ubuntu 18.04, first ensure the gnome-tweak-tool is installed:
Then open it by searching for "Tweaks" in your start menu, and going to --> Desktop tab on left:
For Ubuntu 20.04, I believe the Nautilus desktop icons are just controlled by the "Extensions" GUI tool I've previously shown above.
Why use
nemo
over Ubuntu's defaultnautilus
file manager?This one's easy. Take a look at the beautiful use of space that nemo permits in Compact view. Look at all of the files you can see at once!
(Note that this view is NOT zoomed out all the way. You can still zoom out one more time while still seeing the file names, and one more time after that to see only tiny icons). I LOVE how compact you can see everything! Let this be a model for GUI file manager designers (Microsoft & Apple & Ubuntu/Nautilus, take note! :))
Versus the really user-unfriendly and space-wasting views available in the nautilus file manager (looking in the same directory in an identically-sized window):
Aweful, in my opinion! I can't see hardly any files in comparison and it's much more difficult to find things!
Enough said. Notice the nice address bar you can easily type in in nemo too. In nautilus you have to use Ctrl + L to see the address bar to type in.
Troubleshooting:
If you can't get
nemo
to become your default file manager used by some tool like Dash to Panel, try the following (untested):Search the repo for
nautilus
and manually replace it withnemo
. See the search for "nautilus" in the Dash to Panel source code here: https://github.com/home-sweet-gnome/dash-to-panel/search?q=nautilus. OR:Make your computer open
nemo
whenevernautilus
is run, by making a symbolic link named "nautilus" in your ~/bin folder, but have it point tonemo
!:Log out and log back in. Now, running
nemo
will run nemo, runningnautilus
will runnemo
, and runningnautilus_real
will run nautilus.To undo these aliases, simply delete those two symlinks you just created above:
Related:
Other things you might want to change:
For those who are here because of the gsettings error mentioned in my question:
The cause of the error was Anaconda installation. I finally solved the problem as explained in this answer. To summarise, just comment the lines added by Anaconda to your
.bashrc
file, follow the instructions for setting Nemo as the default file manager (as per the accepted answer above), and after completing the instructions uncomment the lines in your.bashrc
file.