Thunar default registration for mime type `inode/directory` is overwritten by other tools.
Thunar's registration for the
inode/directory mime type gets overwritten if other tools register themselves as
They do this although Thunar is set as default for this mime type in the xfce4 settings manager (under
xfce4-seetings-manager -> Default Applications -> Utilities).
Steps to reproduce
- Install Visual Studio on Debian 11 or Ubuntu 20.04.
- Run in terminal
xdg-open <some directory>
- Directory is opened in vscode.
Thunar should open the directory.
Visual Studio opens it (or any other tool which registered last as
While this scenario does not happen very often on Debian or Ubuntu, it is a problem for Qubes. Because Qubes uses the mime type to open the file manager of each VM.
In fact I discovered the issue there and would encourage you to take a look at the issue. It has a little more detail.