How do I make krusader the default file manager?

Solution 1:

1) Make a folder in your home directory called bin

mkdir ~/bin

2) Make a script called Nautilus that executes Dolphin and put it in this folder

gedit ~/bin/nautilus

3) Then copy this code into it and save

#!/bin/bash
exec krusader $@
exit 0

This will launch krusader every time nautilus was to be launched.

Solution 2:

open your terminal with CTRL+ALT+T and paste this line

 sudo mv /usr/bin/nautilus /usr/bin/natilus.back && sudo ln -s /usr/bin/krusader /usr/bin/nautilus

Solution 3:

Ubuntu 18.04

  • If you want to set Nemo as the default file manager, run this command in Terminal:

    xdg-mime default nemo.desktop inode/directory application/x-gnome-saved-search
    
  • To revert this enter

    xdg-mime default nautilus.desktop inode/directory application/x-gnome-saved-search
    
  • Test it with

    xdg-open $HOME
    

Solution 4:

Another place where default file manager is configured (I use Debian 9.8):

/usr/share/dbus-1/services/org.freedesktop.FileManager1.service

This file is used, for example, Eclipse IDE for run "System Explorer" through a call to dbus-send. The original file content looks as follows:

[D-BUS Service]
Name=org.freedesktop.FileManager1
Exec=/usr/bin/nautilus --gapplication-service

But you must write your own service to replace nautilus to use this config...