Created attachment 1180 [details] Wrong icon shown in Nautilus/GNOME Issue seen on Fedora 39 (Nautilus v. 45.2.1). .tlclient files no longer get the correct icon when shown in Nautilus, see attached screenshot. The same file is shown correctly in Caja v. 1.26.3 (MATE's file manager). I'm not sure if bug 7301 affects the icon shown, but after adding a workaround for it (adding a space in the file), the wrong icon is still shown.
Same issue on Fedora 38 with Nautilus 44.2.1. It correctly identifies the file type, though, as it shows "ThinLinc Client Configuration", as well has "Open With ThinLinc Client" as the default choice.
Querying GIO, it shows it is supposed to prefer our icon: > standard::icon: application-vnd.cendio.thinlinc.clientconf, application-x-generic, application-vnd.cendio.thinlinc.clientconf-symbolic, application-x-generic-symbolic Perhaps it prefers the generic over ours for some reason? E.g., the generic has a "scalable" variant, whilst we do not. We could also see if we can control the fallback better. Perhaps there is a more suitable generic icon if ours fails?
I did some digging, and this is unfortunately a bug in Gtk and not just Nautilus: https://gitlab.gnome.org/GNOME/gtk/-/issues/6483 I would suspect things start working if we put our icons in the Adwaita folder. But that is a bit hacky.