Change default file browser integration

Latest response

On RHEL7 desktop, when I click Places on the top bar and click home, it opens nautilus to browse files. I want to change this integration from nautilus to some other file browser like nemo or double commander. Is this possible? Some time back I remember doing this in Ubuntu machine searching from internet. I put a 3 - 4 line script in $HOME/bin folder and it used to work perfectly. But now I am unable to get this done. Can anyone help me on this?


I was searching the net and I just encountered a command to set nemo as the default file browser. The commands are as below.

Query what is the current default desktop with below query (Hit this in your terminal)

$ xdg-mime query default inode/directory

To change it to nemo hit the below command in terminal

$ xdg-mime default nemo.desktop inode/directory application/x-gnome-saved-search

To revert back to nautilus hit the below command in terminal

$ xdg-mime default nautilus*.desktop inode/directory application/x-gnome-saved-search