WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: thunderbird.scm icon issue  (Read 4877 times)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
thunderbird.scm icon issue
« 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 :(
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: thunderbird.scm icon issue
« Reply #1 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.

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: thunderbird.scm icon issue
« Reply #2 on: February 23, 2012, 08:12:30 AM »
Ok, I uploaded a hopefully corrected version.


Offline Onyarian

  • Sr. Member
  • ****
  • Posts: 337
Re: thunderbird.scm icon issue
« Reply #3 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.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: thunderbird.scm icon issue
« Reply #4 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.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: thunderbird.scm icon issue
« Reply #5 on: February 23, 2012, 03:13:52 PM »
Tested, adding .png solves the issue in LXDE.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Onyarian

  • Sr. Member
  • ****
  • Posts: 337
Re: thunderbird.scm icon issue
« Reply #6 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.


Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: thunderbird.scm icon issue
« Reply #7 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.
« Last Edit: February 29, 2012, 03:14:36 PM by Jason W »