WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Help! my wbar icons won't stop multiplying!  (Read 3487 times)

Offline SushiMaxC

  • Newbie
  • *
  • Posts: 1
Help! my wbar icons won't stop multiplying!
« on: February 25, 2009, 01:07:29 PM »
Hi all,

The subject is basically in the topic. I first installed opera then restarted, then there were two. then I installed minefield and emelfm2, there were an extra 3 icons on restart: minefield, opera and emelfm2. They keep duplicating and not only on the bar, but the apps menu.

I installed TCL on a hard drive prior to the applications.

If I don't find a solution, there will be many many duplicate icons.

is there a solution to this problem?

Cheers in advance!

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Help! my wbar icons won't stop multiplying!
« Reply #1 on: February 25, 2009, 11:06:22 PM »
What version?

cat /usr/share/doc/tc/release.txt

How did you "install"? unzip and cpio to scatter files onto the hard drive? Where are your extensions?

If you did perform a scatter install, then you should only use type tce and they should not be re-loaded upon each boot, i.e., do not use a tce directory with a scatter type install.
10+ Years Contributing to Linux Open Source Projects.

Offline tobiaus

  • Suspended
  • Hero Member
  • *****
  • Posts: 599
Re: Help! my wbar icons won't stop multiplying!
« Reply #2 on: February 26, 2009, 10:51:49 AM »
If you did perform a scatter install, then you should only use type tce and they should not be re-loaded upon each boot, i.e., do not use a tce directory with a scatter type install.

thank you. i don't know who (you?) came up with the name "scatter install," but that's brilliant. it's exactly what it is, and the perfect thing to call it. it even suggests why you usually wouldn't want to use it. but someone tried to help the poster anyway. :)

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Help! my wbar icons won't stop multiplying!
« Reply #3 on: February 26, 2009, 05:16:30 PM »
scatter mode is just the way I see it, so that is what I called it.

But back to the issue at hand...
As much as I don't do this type of install, I have done so to take a look at this.
Seems a conflict from PPI mode versus scatter mode. So I will have to support five modes instead of the four mentioned in Core Concepts. I will do so.

Since in a scatter mode, everything is persistent, you can do a quick fix to /etc/init.d/tc-config to fix this issue.

First take care of the wbar icons by not doing the test with the following:

#   [ -f "$TCEWBAR" ] || cp /usr/share/wbar/dot.wbar "$TCEWBAR"                 
   cp /usr/share/wbar/dot.wbar "$TCEWBAR"   

Second fix the menu creation issue by commenting out the if statement:

# Setup tce menu from starting template                                       
#if [ ! -f "$TCEMENU" ]; then                                                 
cp /opt/.tce_menu/jwm/menu_template "$TCEMENU"                                 
chown "$USER".staff "$TCEMENU"                                                 
chmod g+w "$TCEMENU"                                                       
#fi               


10+ Years Contributing to Linux Open Source Projects.