Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: SamK on November 28, 2011, 01:55:29 PM

Title: Dillo3 - Missing Icon in JWM
Post by: SamK on November 28, 2011, 01:55:29 PM
/usr/local/share/dillo3.desktop contains
Code: [Select]
Exec=/usr/local/bin/dillo
Icon=dillo3
X-FullPathIcon=/usr/local/share/pixmaps/dillo3.png
Result shown in no_icon.png

Renaming
Code: [Select]
/usr/local/share/pixmaps/dillo3.pngto
Code: [Select]
/usr/local/share/pixmaps/dillo.pngResult shown in with_icon.png

A similar effect is seen with the icon in the title bar (screenshots not included).

It seems that the name executed should correlate with the icon name.
   
Title: Re: Dillo3 - Missing Icon in JWM
Post by: hiro on November 28, 2011, 03:21:48 PM
Did you rename the file or the X-FullPathIcon entry?

What do you mean with "It seems that the name executed should correlate with the icon name." ?
Title: Re: Dillo3 - Missing Icon in JWM
Post by: SamK on November 29, 2011, 04:34:44 AM
Did you rename the file or the X-FullPathIcon entry?

What do you mean with "It seems that the name executed should correlate with the icon name." ?
The Exec= entry in dillo3.desktop refers to dillo not dillo3.  No changes were made in dillo3.desktop due to the read only file system. 

The symlink was renamed
from:
Code: [Select]
/usr/local/share/pixmaps/dillo3.pngto:
Code: [Select]
/usr/local/share/pixmaps/dillo.png   
Title: Re: Dillo3 - Missing Icon in JWM
Post by: hiro on November 29, 2011, 07:20:57 AM
Now I understand, that's because your window manager doesn't honor the Icon and neither the X-FullPathIcon fields.

For the next update I will make sure to use the same dillo.png file for all dillo versions.

Just having looked at it the icon code in tinycore it seems to be way too complicated for what it does.
Also, I forgot why we need the X-FullPathIcon in addition to the Icon field...
Title: Re: Dillo3 - Missing Icon in JWM
Post by: SamK on December 09, 2011, 03:12:24 AM
For the next update I will make sure to use the same dillo.png file for all dillo versions.
Icon displays fine using the latest update - thanks.