Help - I can't set nautilus the default file manager
Tofloor
poster avatar
desconhecidoo
deepin
2017-05-06 08:49
Author
Edited by desconhecidoo at 2017-5-6 02:00

I tried to create a url shortcut, in deepin file manager didn't work, but in nautilus worked
Reply Favorite View the author
All Replies
alh54
deepin
2017-05-14 13:53
#1
Some tthing like this:
  1. $ xdg-mime default nautilus.desktop inode/directory
Copy the Code
Reply View the author
desconhecidoo
deepin
2017-05-16 11:32
#2
https://bbs.deepin.org/post/139009
Some tthing like this:

I try, but it don't work... Apparently it works and it doesn't send any error message, but it continues to open with Deepin FIle Manager.
I appreciate your help.
Reply View the author
alh54
deepin
2017-05-16 15:49
#3
The desktop file isn't nautilus.desktop but org.gnome.Nautilus.desktop.
Try this:
  1. $ xdg-mime default org.gnome.Nautilus.desktop inode/directory
Copy the Code
Reply View the author
tristar
deepin
2017-05-16 22:44
#4
Edited by tristar at 2017-5-16 14:48

You can't change that, because whole DDE is tied to the dde-file-manager, but you can do this:


  1. sudo mv /usr/bin/dde-file-manager /usr/bin/dde-file-manager.bak
  2. sudo ln -s /usr/bin/nautilus /usr/bin/dde-file-manager
Copy the Code


In this case desktop will not work if you click on Properties with right mouse click on the desktop item.

Here is code to restore to dde-file-manager:


  1. sudo rm /usr/bin/dde-file-manager
  2. sudo mv /usr/bin/dde-file-manager.bak /usr/bin/dde-file-manager
Copy the Code


It works for me as I'm not fan of the dde-file-manager... yet.
Reply View the author
desconhecidoo
deepin
2017-05-18 09:47
#5
This worked, thanks for your help tristar and alh54!

sudo rm /usr/bin/dde-file-manager
sudo mv /usr/bin/dde-file-manager.bak /usr/bin/dde-file-manager
Reply View the author
desconhecidoo
deepin
2017-05-18 10:40
#6
One more thing. When I open some folder, it opens with Nautilus, but when I'm going to save a file, it opens with Deepin File Manager. It is possible to modify that too?
Reply View the author