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.
Asked
Active
Viewed 2,630 times
7
Bruno Pereira
- 72,895
- 33
- 199
- 223
OSdave
- 378
- 1
- 4
- 16
4 Answers
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.
Bruno Pereira
- 72,895
- 33
- 199
- 223
-
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 04 '13 at 08:13
-
2Just 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. – scott_trinh Jan 09 '14 at 12:20
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-searchTo revert this enter
xdg-mime default nautilus.desktop inode/directory application/x-gnome-saved-searchTest it with
xdg-open $HOME
abu_bua
- 10,473
- 10
- 45
- 62
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
Raja G
- 100,643
- 105
- 254
- 328
-
I've done that and it works, but could it provoke the desktop wallpaper to disappear? since then my desktop is black... – OSdave Nov 04 '13 at 07: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 04 '13 at 08:38
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...
zx485
- 2,249
- 11
- 24
- 34
Лекс Фронтов
- 11
- 2