Tiny Core Base > Micro Core

wbar over microcore 3.6

(1/2) > >>

nick65go:
I used instructions from wiki to "upgrade" fom microcore 3.6 to tinycore 3.6; all is OK for both 32 and 64 bit final versions, with Xbfbdev replacing Xvesa for 64 bits, except installing wbar.tcz;

The bug is: from microcore (laod only Xlibs Xprogs flwm), after install wbar.twz, from Control panel the button Wbar_Config open an partialy usable window, because in left panel Wbar_Icons are NOT any items;
This also prevent the wbar to show on desktop -> nothing to show; chicken and egg problem;

After killing the X server by ctrl+alt+back, now into real terminal, I try various wbar* commnads and I saw the warning messages about missing the text file /usr/local/tce.icons; this file is present in TC not in MC;

Without this file, after I reboot, the MC stop in text mode, I think "hsetroot" crash at the X start;
I have to take out the wbar.tcz from onboot.lst as anyway the command could be activated from Ondemand and WM system tools menus;

roberts:
That is why there were actually better as .gzs and not tczs, as that ensured that they had a higher priority in loading and at boot time.  To achieve that same effect load these "Tiny Core" essentials first. That is move to the top of your onboot.lst.

maro:
I'm not really sure whether this is a bug: The '/usr/local/tce.icons' files gets initially created as a copy of '/usr/share/wbar/dot.wbar' via the '/usr/bin/wbar_setup.sh' script (both included in 'wbar.tcz'). This setup script itself gets called by '/usr/bin/startx'.

So, if the X server is already running when 'wbar.tcz' gets installed it is clear that the '/usr/local/tce.icons' file will be MIA. Therefore one could either execute 'wbar_setup.sh' on its own or restart the X server.

OTOH it might be worth to add [ -e /usr/local/tce.icons ] || wbar_setup.sh into the 'wbar.tcz' startup script.

roberts:
Added tce.icons test  to startup script as per suggestion.
wbar.tcz reposted to repository.

nick65go:

--- Quote from: roberts on May 11, 2011, 08:39:15 AM ---Added tce.icons test  to startup script as per suggestion.
wbar.tcz reposted to repository.

--- End quote ---

Thank you; But, this was not the bug, sorry!
I fond the bug now; It is about the content of text file /usr/local/tce.icons
I have discovered that when even a single image file is missing from where it is refered in tce.icons then the ALL wbar will not show up;
You can test this in TC 3.6, by temporary renaming for example the file /usr/share/pixmaps/disk.png as /usr/share/pixmaps/disk2.png; Then kill the Xvesa server and startx again; No joy as wbar is missing!

The solution: someone to provide the files /usr/share/pixmaps/disk.png and /usr/share/pixmaps/editor.png, or to remove them from /usr/local/tce.icons inside wbar.tcz

PS: Another fast method to test the bug is to rename (for example) /usr/share/pixmaps/disk.png from inside TC running, then call control panel and wbarconfig button, then play to exclude/ include the item "Mount" (witch is corespondent to disk.png), and you will see instant the efect of wbar show/miss completly;

Thank you

Navigation

[0] Message Index

[#] Next page

Go to full version