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.
/usr/share/applications/mc.desktop
:
Categories=ConsoleOnly;Utility;FileManager;System;FileTools;
Keywords=file manager;console;
My 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.
xdg-mime default mc.desktop inode/directory
(as mentioned in this article) and now basically GUI apps freeze the moment I try to open any directory through them, and I have to kill them through htop.firefox.desktop
and now it works just as before, all directories are opened via Firefox.