PDA

View Full Version : [ubuntu] Gnome 3 - Application spawns another icon in dock



freefragx
October 15th, 2011, 04:21 PM
Hey there, I'm using ubuntu 11.10 and the Gnome 3 shell.

Everytime I launch a game called heroes of newerth, a new-blurriedicon spawns in the overview (same in the alt + tab menu). Does anyone know what the isssue might be? Here is a screenshot that describes what I mean:
http://img542.imageshack.us/img542/7531/shot.th.png (http://imageshack.us/photo/my-images/542/shot.png/)

Uploaded with ImageShack.us (http://imageshack.us)

crdlb
October 15th, 2011, 07:54 PM
GNOME Shell (and Unity) has to match open windows to the .desktop file describing the application. One very reliable way for this to work is startup notification (http://developer.gnome.org/integration-guide/stable/startup-notification.html.en). You may want to request that the game authors add that (assuming this is a native linux game).

Out of curiosity, have you tried this game in Unity? Unity has a different implementation (https://launchpad.net/bamf) that may have better quirks support.

freefragx
October 15th, 2011, 11:10 PM
GNOME Shell (and Unity) has to match open windows to the .desktop file describing the application. One very reliable way for this to work is startup notification (http://developer.gnome.org/integration-guide/stable/startup-notification.html.en). You may want to request that the game authors add that (assuming this is a native linux game).

Out of curiosity, have you tried this game in Unity? Unity has a different implementation (https://launchpad.net/bamf) that may have better quirks support.

Hi, thanks a lot for your response. It works correctly on unity, but since I prefer gnome I'm going to have to request the developers to tinker with the desktop file.
Also do you have any idea why the "new" icon is blurry, while the previous one looks normal?

crdlb
October 16th, 2011, 12:59 AM
The second icon is the one set by the application in the window's X properties. You can see this by running xprop in a terminal and clicking on the window. It's possible to embed multiple icon sizes, including gigantic sizes like 256x256, but that was not common until recently. When everything is working properly, the shell has an icon name from the .desktop file to use, and it can use any available size. That also allows your icon theme to override app icons to fit better with the theme.