How does docky gets the icons for the taskbar?

Asked by TonyKnott

Hi,

I'm interested to know which procedure Docky uses to get the application icons, so I can manually fix missing icons.

In cairo-dock, for example, I know that first it looks for an icon with the same name of the desktop file, then it looks for an icon with the same name as the window WM_CLASS. So if an ugly X11 icon appears, I know exactly where I should throw a high-resolution icon to fix the problem. How can I do the same with Docky?

Question information

Language:
English Edit question
Status:
Solved
For:
Docky Edit question
Assignee:
No assignee Edit question
Solved by:
Jason Smith
Solved:
Last query:
Last reply:

This question was reopened

Revision history for this message
Jason Smith (jassmith) said :
#1

It depends on which verison of docky you are talking about, however if you are talking about Docky 2 the algorithm is intentionally not finished yet so unmatched applications are easily spotted.

Revision history for this message
TonyKnott (tonyknott-deactivatedaccount) said :
#2

Hi Jason,

I am talking about the version shipping with Karmic. About what you said for Docky 2, I suppose the algorithm does try *something* for each app, right? I was wondering what that something was.

Revision history for this message
TonyKnott (tonyknott-deactivatedaccount) said :
#3

Oops, I accidentaly clicked on "solved"...

Revision history for this message
Best Jason Smith (jassmith) said :
#4

It does try something, in fact it tries a lot of things. There is no recourse if the algorithm cannot find anything however...

Revision history for this message
TonyKnott (tonyknott-deactivatedaccount) said :
#5

Thanks Jason Smith, that solved my question.