WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Tiny Core v6.2  (Read 10398 times)

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1541
Re: Tiny Core v6.2
« Reply #15 on: May 21, 2015, 07:57:17 AM »
Well, mtpaint does have an icon. I just did  tce-load -i mtpaint  which did not make wbar disappear.
Rebooting, removing mtpaint, "download + load" does however.
Could it be that, after the recent speed optimizations of tce-load,  wbar.sh  is sometimes called before the extension actually 'settled'?
Download a copy and keep it handy: Core book ;)

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 9518
Re: Tiny Core v6.2
« Reply #16 on: May 21, 2015, 10:52:00 AM »
No, desktop.sh is still called in the right place. I fetched mtpaint three times, wbar did not disappear.
The only barriers that can stop you are the ones you create yourself.

Offline thane

  • Hero Member
  • *****
  • Posts: 617
Re: Tiny Core v6.2
« Reply #17 on: May 21, 2015, 07:23:31 PM »
I recently used Apps to onboot download flpicsee.tcz, and that caused the menu bar to disappear. Rebooting solved the problem.

Offline beerstein

  • Hero Member
  • *****
  • Posts: 520
Re: Tiny Core v6.2
« Reply #18 on: May 22, 2015, 12:33:13 AM »
hi - I think you do not have to reboot. Just go to the config and click the wbar button. Then close and the menu bar is back. Please try and post back. Thank you.
t(w)o be(ers) or not t(w)o be(ers) that is the question

Offline thane

  • Hero Member
  • *****
  • Posts: 617
Re: Tiny Core v6.2
« Reply #19 on: May 22, 2015, 08:29:50 PM »
beerstein is correct. Clicking the Apply button on tc-wbarconf restores the menu bar. No need to reboot.

Offline aswjh

  • Jr. Member
  • **
  • Posts: 82
Re: Tiny Core v6.2
« Reply #20 on: May 26, 2015, 08:08:33 PM »
WBar disappears after loading some extensions.
I guess there is not enough memory available,
using a virtual machine?

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1541
Re: Tiny Core v6.2
« Reply #21 on: May 26, 2015, 11:38:51 PM »
Nope. Bare metal. 2GB RAM. About 65 MB is used uncached after boot + 460 MB zRAM.
Note,  tce-load -i mtpaint  has different results compared to  Apps -> mtpaint -> Download + Load .
Download a copy and keep it handy: Core book ;)

Offline aswjh

  • Jr. Member
  • **
  • Posts: 82
Re: Tiny Core v6.2
« Reply #22 on: May 27, 2015, 08:40:25 PM »
Tested in vm with tc 6.2 x86, download+load mtpaint/leafpad/lxtask/pcmanfm/xarchiver by apps,
wbar disappeared many times, at the moment there were two processes(ppid was the same) of wbar.sh.
« Last Edit: May 27, 2015, 08:43:15 PM by aswjh »

Offline aswjh

  • Jr. Member
  • **
  • Posts: 82
Re: Tiny Core v6.2
« Reply #23 on: May 30, 2015, 04:51:51 PM »
Could you try this:  add "return 0" at the end of function "install" in tce-load?
(avoid to execute "exit 1" in the absence of an error)

Offline aswjh

  • Jr. Member
  • **
  • Posts: 82
Re: Tiny Core v6.2
« Reply #24 on: May 30, 2015, 06:37:05 PM »
or add these after "nohup wbar" in /usr/local/bin/wbar.sh:
    for _ in `seq 10`; do
        [ "`pidof wbar`" ] && break || sleep 0.01s
    done
« Last Edit: May 30, 2015, 06:55:31 PM by aswjh »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 9518
Re: Tiny Core v6.2
« Reply #25 on: May 31, 2015, 12:53:09 AM »
Thanks, updated wbar.tcz uploaded for x86 and x86_64.
The only barriers that can stop you are the ones you create yourself.

Offline aswjh

  • Jr. Member
  • **
  • Posts: 82
Re: Tiny Core v6.2
« Reply #26 on: May 31, 2015, 04:33:00 PM »
[ "$BOOTING" ] impacts the status code of function install,
it results in tce-load always executing "exit 1" in "download+load" mode.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 9518
Re: Tiny Core v6.2
« Reply #27 on: June 01, 2015, 01:55:12 AM »
$BOOTING is empty in a runtime run, and it does not affect install()'s exit code in any case. It's desktop.sh when the app does not have an icon, fixed, thanks.
The only barriers that can stop you are the ones you create yourself.

Offline aswjh

  • Jr. Member
  • **
  • Posts: 82
Re: Tiny Core v6.2
« Reply #28 on: June 01, 2015, 05:48:34 PM »
But, it is not an IF statement
« Last Edit: June 01, 2015, 05:55:59 PM by aswjh »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 9518
Re: Tiny Core v6.2
« Reply #29 on: June 02, 2015, 12:51:58 AM »
Yeah, a shell function's exit status is that of the last command run.
The only barriers that can stop you are the ones you create yourself.