/usr/local/tce.wbar gets written afresh at each boot and gets appended to at each adding of new app (this is my own guess of what is happening). So it doesn't work to mod that file (I know because my first attempts were also at editing and backing up that file). Editing dot.wbar worked.
If you can follow scripting language (i can't, yet
) you can take a peek at tce-load, desktop.sh and wbar.sh.
To see more options for wbar, type wbar -h. Made all the difference for me once I knew the options.
I am guessing the boot order is something like
load apps -> restore files -> generate tce.wbar -> load wbar.
So the restored tce.wbar gets overwritten.
I meant earlier that only items with tce.icons entries in their extension folders end up on wbar. You can see this by looking at an example extension's /tmp/tcloop/ stuff and you'll see the tce.icons folder there. Once an extension is mounted, the folders are merged and a new tce.wbar file generated from the merged tce.icons folder.
Disclaimer: All of this is spoken in much ignorance. I am a noob of just a few months.