I want graphical applications such as
transmission-gtk and Firefox to open up directories with Midnight Commander through new instances of my default terminal emulator running on Debian.
I've noticed that every time I try to open a directory in various X11/GTK applications, they rather turn to my Firefox browser to show the path, and not to my file manager - MC, including Firefox itself.
I don't know what's wrong with my mimes because Midnight Commander is indeed flagged as a FileManager, and it is the only dedicated file manager that's installed on my system.
Categories=ConsoleOnly;Utility;FileManager;System;FileTools; Keywords=file manager;console;
mimeinfo.cache is present at the same directory as well, however it has no mention of
mc.desktop at all.
How can I set Midnight Commander as my default file manager to be used for opening and browsing filesystem paths? I'm using Linux Debian 10 with X11 but without a desktop environment.