7

Is it possible to set krusader as the default file manager in ubuntu 13.10?
I tried to defined it in system settings > details > default applications but there is nothing about file manager there.

4 Answers 4

5

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.

2
  • I went with the other answer (because I'm lazy and it was only a one line solution), but now my desktop is black, no more wallpaper. Do you think it's related? Would your solution avoid that issue? How could I undo it in order to do yours?
    – OSdave
    Nov 4, 2013 at 8:13
  • 2
    Just wanted to add a reminder to Bruno's excellent script to make sure you chmod it to be executable. I'm sure it's second nature for most, but it had me scratching my head for a minute or two. Jan 9, 2014 at 12:20
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
2
  • I've done that and it works, but could it provoke the desktop wallpaper to disappear? since then my desktop is black...
    – OSdave
    Nov 4, 2013 at 7:38
  • The wallpaper you would like to set in pictures or home dir of your user. And problem occurs not due to this
    – Raja G
    Nov 4, 2013 at 8:38
2

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
    
1

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...

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .