WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Tiny Core v6.2
« Reply #15 on: May 21, 2015, 11: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: 11044
Re: Tiny Core v6.2
« Reply #16 on: May 21, 2015, 02:52:00 PM »
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: 697
Re: Tiny Core v6.2
« Reply #17 on: May 21, 2015, 11: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: 530
Re: Tiny Core v6.2
« Reply #18 on: May 22, 2015, 04: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: 697
Re: Tiny Core v6.2
« Reply #19 on: May 23, 2015, 12:29:50 AM »
beerstein is correct. Clicking the Apply button on tc-wbarconf restores the menu bar. No need to reboot.

Offline aswjh

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

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Tiny Core v6.2
« Reply #21 on: May 27, 2015, 03:38:51 AM »
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: 85
Re: Tiny Core v6.2
« Reply #22 on: May 28, 2015, 12:40:25 AM »
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 28, 2015, 12:43:15 AM by aswjh »

Offline aswjh

  • Jr. Member
  • **
  • Posts: 85
Re: Tiny Core v6.2
« Reply #23 on: May 30, 2015, 08: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: 85
Re: Tiny Core v6.2
« Reply #24 on: May 30, 2015, 10: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, 10:55:31 PM by aswjh »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Tiny Core v6.2
« Reply #25 on: May 31, 2015, 04: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: 85
Re: Tiny Core v6.2
« Reply #26 on: May 31, 2015, 08: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: 11044
Re: Tiny Core v6.2
« Reply #27 on: June 01, 2015, 05: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: 85
Re: Tiny Core v6.2
« Reply #28 on: June 01, 2015, 09:48:34 PM »
But, it is not an IF statement
« Last Edit: June 01, 2015, 09:55:59 PM by aswjh »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Tiny Core v6.2
« Reply #29 on: June 02, 2015, 04: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.