WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Potential problem in '/usr/bin/wbar_icon_upd.sh'  (Read 1919 times)

Offline maro

  • Hero Member
  • *****
  • Posts: 1228
Potential problem in '/usr/bin/wbar_icon_upd.sh'
« on: May 26, 2010, 10:22:51 PM »
Whilst reading some scripts on the search for something else I came across the following statement in line 27 of '/usr/bin/wbar_icon_upd.sh':
   print "exec aterm +tr +sb -T \""name"\" -e " exec > output
In my believe it should probably be:
   print "c: exec aterm +tr +sb -T \""name"\" -e " exec > output
to bring it more in line with the statement of line 29.

I don't think that this would have much impact so far because the conditions for this code to be executed seem to be quite specific. AFAIK is would require a Terminal=true entry in a .desktop file that has a X-FullPathIcon=... entry. I did not spot any of those, but OTOH I can't be certain that my search was set up correctly.

Since this code appears in TC 2.11.1 (as well as in TC 3.0alpha4) I thought I report it here outside of the TC 3.0alpha testing thread.

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Potential problem in '/usr/bin/wbar_icon_upd.sh'
« Reply #1 on: May 27, 2010, 12:01:11 AM »
Yes. Missing the leading c:
Thanks.
10+ Years Contributing to Linux Open Source Projects.