Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: EdmCru on April 02, 2021, 08:16:25 AM
-
Is it possible to get a look at the menu generator code that creates the wbar and jwm menus?
I think it might help my coding in another situation.
Thanks
EdmCru
-
Aside from the extensions themselves, there might be something here: https://github.com/tinycorelinux/fltk_projects
-
Thanks for the quick reply.
However that page the newest code seems to be about 6 years old.
I'm not sure it'll be helpful but thanks anyway
-
Hi EdmCru
For the scripts that populate the wbar:
ls -l /usr/local/bin/wbar*
For the scripts that populate the the desktop menu:
ls -l /usr/local/bin/jwm_*
Also of possible interest:
ls -l /usr/local/bin/desktop.sh
The (text) file that contains the current wbar contents is:
ls -l /usr/local/tce.icons
-
Perfect!
I do not seem to have desktop.sh in that location though?
Thanks much
-
Hi EdmCru
Do you have Xlibs.tcz loaded?
-
Hi EdmCru
It seems the pi version place things in /usr/bin/ instead of /usr/local/bin/:
http://tinycorelinux.net/12.x/armv6/tcz/Xlibs.tcz.list
Try:
ls -l /usr/bin/desktop.sh
-
Thanks to all for the help.
Reviewing code now.
-
Hi EdmCru
Last year I had to fix a bug in the $DESKTOP_menu_common and wbar_update.sh scripts. In order to do that I first
needed to format and comment the scripts (and learn awk) so could follow what was going on. They can be seen
in this post if you are interested:
http://forum.tinycorelinux.net/index.php/topic,22823.msg153705.html#msg153705