Overview
- Set the system to detect the MIME type (probably by extension) as a unique file type
- Install thumbnail generator script or program
- Create a thumbnailer entry for the file manager to run the thumbnail generator script when it sees the unique MIME type
Detecting the MIME type of a file
- Right-click properties within file manager
xdg-mime query filetype <filename>
file --mime-type <filename>
References
4 / 2025