Tiny Core Linux

Off-Topic => Archive / Obsolete => SCM EXtensions => Topic started by: bmarkus on February 23, 2012, 03:54:09 AM

Title: thunderbird.scm icon issue
Post by: bmarkus on February 23, 2012, 03:54:09 AM
In LXDE menu thunderbird icon is not displayed when thunderbird.scm is installed. thunderbird.tcz is OK. At first glance I do not see why is it :(
Title: Re: thunderbird.scm icon issue
Post by: Jason W on February 23, 2012, 07:36:37 AM
Ok, I thought that the Icon= entry needed not to use the png suffix to work across the freedesktop DE's, so I left it out.  But I honestly rarely use anything but icewm so I would not catch what works and what does not.

I will add the png suffix back in and let's see if that fixes it.
Title: Re: thunderbird.scm icon issue
Post by: Jason W on February 23, 2012, 08:12:30 AM
Ok, I uploaded a hopefully corrected version.

Title: Re: thunderbird.scm icon issue
Post by: Onyarian on February 23, 2012, 12:56:08 PM
When uninstalling thunderbird with ScmMBrowser it uninstalls ok, but the icon stays in wbar and the menu entry stays too.
Title: Re: thunderbird.scm icon issue
Post by: Rich on February 23, 2012, 01:06:01 PM
Hi Onyarian
If you right click on the wbar I think that will refresh it, I don't know about the menu entry.
Title: Re: thunderbird.scm icon issue
Post by: bmarkus on February 23, 2012, 03:13:52 PM
Tested, adding .png solves the issue in LXDE.
Title: Re: thunderbird.scm icon issue
Post by: Onyarian on February 29, 2012, 11:00:32 AM
Quote
When uninstalling thunderbird with ScmMBrowser it uninstalls ok, but the icon stays in wbar and the menu entry stays too.
when you install another time there are two icons and uninstalling the two icons remainds in wbar.

The reason is that in the file /apps/thunderbird/share/applications/thunderbird.desktop it has the entry:
Quote
Name=Thunderbird Email
and should be:
Quote
Name=thunderbird

then works as expected

Please change it.

Title: Re: thunderbird.scm icon issue
Post by: Jason W on February 29, 2012, 03:10:41 PM
I imagine a lot of .desktop  files are affected by multiple words in the Name field, as freedesktop specs allow it, and we normally leave that field alone.

However, if multiple words affect the operation of wbar or other base operations, then we can easily place an underscore between the two words, replacing the space.  I will do that for this one and any other scm I see that has multiple words in the Name field.

I think I remember something regarding the Name field in the early scm testing, I will look up on it tonight.  But no spaces in fields that are being parsed is always a good idea.