I have a problem to show high quality icon in Alt-Tab in Linux. My development is using GTK2, and using gtk_window_set_icon() for a 128×128 png icon. And the environment is GNOME3.
However, when I alt-tab, the icon is blurred and pixelated.
I am not sure it is caused by GNOME3 freedesktop.org specification, or caused by GTK2. Please help.
You can install multiple versions of the icon, at different resolutions, and Gnome should pick the best one depending on the context. So for example on Fedora 15 the firefox package installs several icons:
You can even install a scalable icon, so if it wanted to (it currently doesn’t), the firefox package could install:
Then in the desktop file for the application just give the name of the icon, for example:
and Gnome should work it all out and choose the best icon for each context where it is using it.