HOWTO: Launch Nemo when apps ask for Nautilus

Write tutorials for Linux Mint here
More tutorials on https://github.com/orgs/linuxmint/discu ... /tutorials and (archive) on https://community.linuxmint.com/tutorial
Forum rules
Don't add support questions to tutorials; start your own topic in the appropriate sub-forum instead. Before you post read forum rules
Post Reply
CaluVerde

HOWTO: Launch Nemo when apps ask for Nautilus

Post by CaluVerde »

The default file browser in Linux Mint 13 Cinnamon is Nautilus, whereas the default in Linux Mint 14 Cinnamon is Nemo. Enabling backports in Mint 13 allows one to acquire Nemo in Mint 13. While both file browser can coexist in harmony, some might prefer to own and use only one. Some apps which can launch a file browser externally are configured to make use of Nautilus. To use Nemo instead, a very simple (and probably dirty) workaround is to make a symbolic link:

Code: Select all

sudo ln -s /usr/bin/nemo /usr/local/bin/nautilus
This workaround is however only needed under the premise that:

- you are using Mint 13 and not 14
- configuring an app to use nemo instead of nautilus is not a straightforward task
- you consider it to be a burden to manually configure each app that can launch an external file browser
TRZALICA

Re: HOWTO: Launch Nemo when apps ask for Nautilus

Post by TRZALICA »

You can make NEMO as default file manager in this way (when you have Linux Mint 13 installed and you have both Nemo & Nautilus):
1.) You can run this command in Terminal to show the default app for folder:

Code: Select all

xdg-mime query default inode/directory
By default, the output of the command in Linux Mint 13 should be nautilus.desktop.

2.) When you have Nemo installed on your system and want to set Nemo as the default file manager, run this command in Terminal:

Code: Select all

xdg-mime default nemo.desktop inode/directory application/x-gnome-saved-search
3.) Now, you can check if NEMO is default file manager:

Code: Select all

xdg-mime query default inode/directory
Now it writes that NEMO is default file manager

4.) To test the result, run this command:

Code: Select all

xdg-open $HOME
That command should launch Nemo showing your home directory.

5.) If you want to stop Nautilus from handling the desktop and want to set Nemo instead, you can do the following (in Linux Mint 13, Nautilus is set to handle desktop by default (to manage desktop icons, menu, etc), and if you have Nemo installed, there will be a conflict, both will be automatically loaded every time you logging in, to take control of the desktop):

Code: Select all

gsettings set org.gnome.desktop.background show-desktop-icons false
6.) Make sure Nemo is set to handle desktop:

Code: Select all

gsettings set org.nemo.desktop show-desktop-icons true
That's it!

P.S. If you want that NEMO work when you press icon on panel just replace application name from nautilus %U to nemo %U.
luisf

Re: HOWTO: Launch Nemo when apps ask for Nautilus

Post by luisf »

Hello TRZALICA.

Thank you for your response. I spent the whole afternoon and night I only just managed to solve the problem. I'm using Linux Mint 16 - Petra. Thank you!
Post Reply

Return to “Tutorials”