Tiny Core Linux

General TC => General TC Talk => Topic started by: SunBurnt on August 23, 2011, 10:50:48 PM

Title: Anyone know what script starts wbar? ( Fixed )
Post by: SunBurnt on August 23, 2011, 10:50:48 PM
I`ve looked but I`m still not sure where the command is at. ( I assume it`s "wbar" )

Also what files does wbar write to?
Title: Re: Anyone know what script starts wbar?
Post by: ixbrian on August 23, 2011, 11:16:20 PM
Look at:
/usr/bin/startx around lines 22-25, line 34 (calls desktop.sh, wbar_setup.sh)
/usr/bin/desktop.sh on line 14 (calls wbar_update.sh)
/usr/bin/wbar_update.sh (cals wbar.sh)
/usr/bin/wbar.sh (starts wbar)

Title: Re: Anyone know what script starts wbar?
Post by: maro on August 23, 2011, 11:26:26 PM
The '~/.xsession' file (generated by using '/etc/skel/.xsession') contains
Code: [Select]
[ $(which "$ICONS".sh) ] && ${ICONS}.sh & and this environment variable ICONS gets set in '/etc/init.d/tc-config'.

The possible values are derived either from the boot code 'icons=...' or it is read from the contents of '/etc/sysconfig/icons' (which contains a default value of 'wbar').
Title: Re: Anyone know what script starts wbar?
Post by: SunBurnt on August 23, 2011, 11:44:56 PM
Many thanks ixbrian; I was just looking at some of those files but didn`t see what kicked it all off.
I should have guessed startx was the one... I hate chasing variables around from script to script.

Thanks maro; I saw that in tc-config, but where it all went to was a big Q of course.

It`s gonna be a real struggle finding out what`s keeping wbar from starting up.
Title: Re: Anyone know what script starts wbar? ( Fixed )
Post by: SunBurnt on August 24, 2011, 02:44:32 AM
Well... It wasn`t quite as bad as I thought it was gonna be.
Had the link /usr/local pointing to the wrong /opt dir.
/opt is where I put the stuff in /usr that needs to be written to.

I`ll post my statistics in another thread...