Back to TILs

Linux File Manager

Date: 2023-08-16Last modified: 2023-08-16

Table of contents

Identifying the default file manager

$ xdg-mime query default inode/directory
org.gnome.Nautilus.desktop

Thunar as default file manager

Locate the desktop file:

$ find /usr/share/applications/ -iname "*thunar*"
/usr/share/applications/thunar-volman-settings.desktop
/usr/share/applications/thunar.desktop
/usr/share/applications/thunar-bulk-rename.desktop
/usr/share/applications/thunar-settings.desktop

Assign it

$ xdg-mime default thunar.desktop inode/directory

References