My /tce folder contains 915resolution, jwm and its dependencies, mc and its dependencies, the wireless files, and acpid - so only the items needed during boot.
OSS and flash10 I have also now moved to /optional, since OSS is needed only for vlc player or flash10, so it is only mounted when either of these apps are mounted. I still have to include flash10's dependencies because it doesn't have a list, only getflash10 has a list but not all of those are needed, so I am just sorting that out.
So here is the custom wbar config file:
# The Bar && Font && Font size (11)
i: /usr/share/wbar/osxbarback.png
t: /usr/share/fonts/luxisr/11
c:
i: /usr/share/wbar/aterm.png
t: Aterm
c: exec aterm
i: /usr/share/wbar/cpanel.png
t: Panel
c: exec cpanel
i: /usr/share/wbar/appbrowser.png
t: Apps
c: exec appbrowser
i: /home/tc/.mywbar/beaver2.png
t: beaver2
c: exec /home/tc/.mywbar/beaver2.sh
i: /home/tc/.mywbar/gtkfind.png
t: gtkfind
c: exec /home/tc/.mywbar/gtkfind.sh
i: /home/tc/.mywbar/mtpaint.png
t: mtpaint
c: exec /home/tc/.mywbar/mtpaint.sh
i: /home/tc/.mywbar/opera10.png
t: Opera
c: exec /home/tc/.mywbar/opera.sh
i: /home/tc/.mywbar/rox-filer.png
t: rox-filer
c: exec /home/tc/.mywbar/rox-filer.sh
i: /home/tc/.mywbar/thunderbird.png
t: Thunderbird
c: exec /home/tc/.mywbar/thunderbird.sh
i: /home/tc/.mywbar/vlc.png
t: vlc
c: exec /home/tc/.mywbar/vlc.sh
i: /home/tc/.mywbar/xmahjongg.png
t: mahjongg
c: exec /home/tc/.mywbar/xmahjongg.sh
I use this command in .xsession to invoke wbar:
wbar -nofont -vbar -pos left -jumpf -0.1 -bpress -config /home/tc/.mywbar/tce.wbar
Here is the wine invoker:
#!/bin/sh
[ ! -f /usr/local/tce.installed/wine-gl ] && tce-load -i /mnt/sdb1/tce/optional/wine-gl.tczl
wine $1 &
beaver has the same looking code.
To get windows apps to use wine even before it is mounted, I open rox, navigate to the directory containing the win app, then set the default run application as the file in .mywbar - so it will mount it first if not already mounted and then run the app the normal way.
Even regularly run apps such as opera resides in /optional.
To update extensions in /optional, I use jpeters' script which he kindly modded so it included extensions in /optional.