When you open file manager you get
Now go to Menu --> Accessories --> File Manager --> right click, and choose properties
![enter image description here](https://i.stack.imgur.com/KHJt6.png)
Change pcmafm to nautilus and you will get
![enter image description here](https://i.stack.imgur.com/L7BKr.png)
However that only changes the application that will be opened by the shortcut "file manager". It does not make nautilus
the "default file manager" in the proper sense: Opening a folder on the desktop, or opening a file location from an application would not open nautilus, but still pcmanfm
.
Note: I will be adding information on how to make this change permanent in the next couple of days.
Note: This is my own personal opinion. I've tried these steps on my machine, and they worked. But I didn't like the outcome.
Change the contents of /etc/xdg/lxsession/LXDE/autostart
as shown below.
From
@xscreensaver -no-splash
@setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll us,ar
@lxpanel --profile LXDE
@pcmanfm --desktop --profile LXDE
@/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
To
@xscreensaver -no-splash
@setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll us,ar
@lxpanel --profile LXDE
@/usr/bin/nautilus -n
@/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
Also you can take a look at https://help.ubuntu.com/community/DefaultFileManager to see if it might help.
Edit:
In Ubuntu 14.04 here's what I did. I did a fresh installation of Ubuntu 14.04, and then installed LXDE. Once that was done, I set nautilus as a default file manager using the following command:
xdg-mime default nautilus.desktop inode/directory application/x-gnome-saved-search
and then I checked the current default file manager using the command below:
xdg-mime query default inode/directory
and it showed Nautilus as the default. See image below.
![enter image description here](https://i.stack.imgur.com/cIuS6.png)
This is an awkward, quick and dirty solution you advocate. You Can't use Nautilus
anymore. If it's your intention then it's better to remove it for good.
$ sudo apt-get remove nautilus
Otherwise I believe the proper solution is to modify the defaults.list
file located in /usr/share/applications
as suggested here.
In Ubuntu Xenial 16.04 I did comment out the original line and replaced nautilus
with nemo
e.g.
#inode/directory=nautilus-folder-handler.desktop
inode/directory=nemo.desktop
Then just restart Firefox and you will be OK ...
Best Answer
Try this. Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below: