WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Dillo3 - Missing Icon in JWM  (Read 2206 times)

Offline SamK

  • Hero Member
  • *****
  • Posts: 713
Dillo3 - Missing Icon in JWM
« 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.
   

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: Dillo3 - Missing Icon in JWM
« Reply #1 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." ?

Offline SamK

  • Hero Member
  • *****
  • Posts: 713
Re: Dillo3 - Missing Icon in JWM
« Reply #2 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   

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: Dillo3 - Missing Icon in JWM
« Reply #3 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...
« Last Edit: November 29, 2011, 07:30:30 AM by hiro »

Offline SamK

  • Hero Member
  • *****
  • Posts: 713
Re: Dillo3 - Missing Icon in JWM
« Reply #4 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.