I noticed that some ELF executables don't have mimetypes. Only Shared Object/Library has the correct mimetype. *.mod is for Grub Module *.ko is for Kernel Module Grub2's Font *.pf2 also needs to be added.
I think there are multiple different bugs here. * The file tool thinks that .ko files are object files (not ideal), and object files are missing a mimetype icon. * .mod files are also object files according to the file tool, but it shows up as "Amiga SoundTracker Audio" in Dolphin. Can you reproduce this behavior? In this case, the .mod issue should probably be filed separately.
(In reply to Alois Wohlschlager from comment #1) > I think there are multiple different bugs here. > > * The file tool thinks that .ko files are object files (not ideal), and > object files are missing a mimetype icon. > * .mod files are also object files according to the file tool, but it shows > up as "Amiga SoundTracker Audio" in Dolphin. > > Can you reproduce this behavior? In this case, the .mod issue should > probably be filed separately. I used command "mediainfo" and got same results. The reason Grub2's .mod files are labeled as Amiga is because the person who made the Breeze Icon theme probably left it like that. If we remove the .mod and .ko extensions of Grub2 and Linux Kernel Modules then they are automatically labeled as Object Files.
I have reported the .mod issue against shared-mime-info [0], since this is where the mimetype detection is specified. Breeze explicitly ships the "unknown file type" icon for application/x-object (which is what .ko files get detected as), which I think is very suboptimal. Hence I have marked this bug as confirmed. [0] https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/165