You are not logged in.

#1 2019-09-12 20:31:55

jordicg
Member
From: Mexico City
Registered: 2018-07-19
Posts: 94
Website

[SOLVED] Default file manager on MATE desktop

Hello community !!!

I have been trying several file managers, they are a lot very cool, the problem is that in MATE desktop some of them dont show at the default applications file manager setting and because of that i cannot launch them as default when i click the MATE menu of the file manager "directory" s. I have tried to modify the file

~/.local/share/applications/mimeapps.list

And in there add something like the following.-

[Default Applications]
 inode/directory=worker.desktop;

But no luck. So the question is ¿How can i make a default file manager that doesnt appear in the default applications dialog in MATE? i want to use Worker file manager or fman, but none of those show in the dialog.

Thank you in advance smile

Last edited by jordicg (2019-09-12 22:32:52)


With great power there must also come -- great responsibility!

Offline

#2 2019-09-12 20:47:56

Swiggles
Member
Registered: 2014-08-02
Posts: 266

Re: [SOLVED] Default file manager on MATE desktop

Since MATE is another gnome fork I would expect the entries to be pulled from the application files. You can add your own for any command if they do not bring their own or you want to modify existing ones (user defined files override the ones in /usr/share/applications):

Create and edit ~/.local/share/applications/my-app.desktop

[Desktop Entry]
Type=Application
Name=My Awesome Filemanager
Comment=Some text I like to add, is optional
Icon=/path/to/some/icon.ico
Exec=nautilus --new-window %U
Terminal=false
Categories=Utility;FileManager;

Replace nautilus with your tool of choice, replace the placeholders with sane values, a proper name and you should be able to find it in your application overview.

Offline

#3 2019-09-12 21:40:39

jordicg
Member
From: Mexico City
Registered: 2018-07-19
Posts: 94
Website

Re: [SOLVED] Default file manager on MATE desktop

Swiggles wrote:

Since MATE is another gnome fork I would expect the entries to be pulled from the application files. You can add your own for any command if they do not bring their own or you want to modify existing ones (user defined files override the ones in /usr/share/applications):

Create and edit ~/.local/share/applications/my-app.desktop

[Desktop Entry]
Type=Application
Name=My Awesome Filemanager
Comment=Some text I like to add, is optional
Icon=/path/to/some/icon.ico
Exec=nautilus --new-window %U
Terminal=false
Categories=Utility;FileManager;

Replace nautilus with your tool of choice, replace the placeholders with sane values, a proper name and you should be able to find it in your application overview.

Hello @Swiggles !!!

Yes i knew about .desktop files, but never had came to my mind to use them, anyway i have created my "My Awesome file manager" .desktop file correctly, everythings ok, but now i dont know how to make it default at MATE sad , even though i can see that the file is created correctly (displaying the application icon and everything) but i cannot see the file manager at the MATE panel settings. Could you point me in the right direction with that? btw thank you for everything !!!

It has only duplicated the menu entry in Applications MATE menu, but havent made it default when i click in a directory

Last edited by jordicg (2019-09-12 21:50:14)


With great power there must also come -- great responsibility!

Offline

#4 2019-09-12 21:56:16

Swiggles
Member
Registered: 2014-08-02
Posts: 266

Re: [SOLVED] Default file manager on MATE desktop

Yes, you are right. I forgot to add one line to the desktop file so it can be picked up by the system:

MimeType=inode/directory;

Offline

#5 2019-09-12 22:01:29

jordicg
Member
From: Mexico City
Registered: 2018-07-19
Posts: 94
Website

Re: [SOLVED] Default file manager on MATE desktop

Swiggles wrote:

Yes, you are right. I forgot to add one line to the desktop file so it can be picked up by the system:

MimeType=inode/directory;

LOL thank you man !!! I will try that soon


With great power there must also come -- great responsibility!

Offline

#6 2019-09-12 22:11:36

Swiggles
Member
Registered: 2014-08-02
Posts: 266

Re: [SOLVED] Default file manager on MATE desktop

You can check if your handler is registered by running

gio mime inode/directory

Edit: If it is not there run

update-desktop-database ~/.local/share/applications

To set the default either use the MATE settings or as described in your first post edit ~/.config/mimeapps.list

[Default Applications]
inode/directory=my-app.desktop

Ofc replace it with the proper name. :-)

Last edited by Swiggles (2019-09-12 22:19:12)

Offline

#7 2019-09-12 22:31:17

jordicg
Member
From: Mexico City
Registered: 2018-07-19
Posts: 94
Website

Re: [SOLVED] Default file manager on MATE desktop

Yep, that final post did the trick, thank you !!! This thread is happily SOLVED !


With great power there must also come -- great responsibility!

Offline

Board footer

Powered by FluxBB